summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/microcode_intel.h
diff options
context:
space:
mode:
authorJithu Joseph <jithu.joseph@intel.com>2022-11-17 04:59:28 +0100
committerBorislav Petkov <bp@suse.de>2022-11-18 22:10:12 +0100
commit28377e56ed22ecce60260eb8afdf0c9837b3505f (patch)
tree018543a9dae1b53176e4dc8a06e97f1ef9a8006e /arch/x86/include/asm/microcode_intel.h
parentx86/microcode/intel: Add hdr_type to intel_microcode_sanity_check() (diff)
downloadlinux-28377e56ed22ecce60260eb8afdf0c9837b3505f.tar.xz
linux-28377e56ed22ecce60260eb8afdf0c9837b3505f.zip
x86/microcode/intel: Use a reserved field for metasize
Intel is using microcode file format for IFS test images too. IFS test images use one of the existing reserved fields in microcode header to indicate the size of the region in the file allocated for metadata structures. In preparation for this, rename first of the existing reserved fields in microcode header to metasize. In subsequent patches IFS specific code will make use of this field while parsing IFS images. Signed-off-by: Jithu Joseph <jithu.joseph@intel.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Tony Luck <tony.luck@intel.com> Reviewed-by: Ashok Raj <ashok.raj@intel.com> Reviewed-by: Sohil Mehta <sohil.mehta@intel.com> Link: https://lore.kernel.org/r/20221117035935.4136738-10-jithu.joseph@intel.com
Diffstat (limited to 'arch/x86/include/asm/microcode_intel.h')
-rw-r--r--arch/x86/include/asm/microcode_intel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/include/asm/microcode_intel.h b/arch/x86/include/asm/microcode_intel.h
index 2a999bf91ef0..6af1e703cb2e 100644
--- a/arch/x86/include/asm/microcode_intel.h
+++ b/arch/x86/include/asm/microcode_intel.h
@@ -14,7 +14,8 @@ struct microcode_header_intel {
unsigned int pf;
unsigned int datasize;
unsigned int totalsize;
- unsigned int reserved[3];
+ unsigned int metasize;
+ unsigned int reserved[2];
};
struct microcode_intel {