net/sfc/base: regenerate files with genfwdef after ID update
authorAndrew Jackson <ajackson@solarflare.com>
Tue, 20 Feb 2018 07:33:20 +0000 (07:33 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:42 +0000 (14:08 +0200)
Add security level to image boot header.

Signed-off-by: Andrew Jackson <ajackson@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/siena_flash.h

index 91a9fe0..74bb949 100644 (file)
@@ -103,7 +103,14 @@ typedef struct siena_mc_boot_hdr_s {               /* GENERATED BY scripts/genfwdef */
                                                /* the key, or 0xffff if unsigned. (Otherwise set to 0) */
        efx_byte_t      mumfw_subtype;          /* MUM & SUC images: subtype. (Otherwise set to 0) */
        efx_byte_t      reserved_b[3];          /* (set to 0) */
-       efx_dword_t     reserved_c[6];          /* (set to 0) */
+       efx_dword_t     security_level;         /* This number increases every time a serious security flaw */
+                                               /* is fixed. A secure NIC may not downgrade to any image */
+                                               /* with a lower security level than the current image. */
+                                               /* Note: The number in this header should only be used for */
+                                               /* determining the level of new images, not to determine */
+                                               /* the level of the current image as this header is not */
+                                               /* protected by a CMAC. */
+       efx_dword_t     reserved_c[5];          /* (set to 0) */
 } siena_mc_boot_hdr_t;
 
 #define        SIENA_MC_BOOT_HDR_PADDING \