x86/microcode/intel: Use a reserved field for metasize
authorJithu Joseph <jithu.joseph@intel.com>
Thu, 17 Nov 2022 03:59:28 +0000 (19:59 -0800)
committerBorislav Petkov <bp@suse.de>
Fri, 18 Nov 2022 21:10:12 +0000 (22:10 +0100)
commit28377e56ed22ecce60260eb8afdf0c9837b3505f
tree018543a9dae1b53176e4dc8a06e97f1ef9a8006e
parente0788c3281a72386e75b53a010de4bfbac7e80db
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
arch/x86/include/asm/microcode_intel.h