x86/microcode/intel: Add hdr_type to intel_microcode_sanity_check()
mainline inclusion from mainline-v6.2-rc1 commit e0788c32 category: feature feature: Backport Intel In Field Scan(IFS) multi-blob images support bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I6L337 CVE: N/A Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ commit/?id=e0788c32 Intel-SIG: commit e0788c32 ("x86/microcode/intel: Add hdr_type to intel_microcode_sanity_check()") ------------------------------------- x86/microcode/intel: Add hdr_type to intel_microcode_sanity_check() IFS test images and microcode blobs use the same header format. Microcode blobs use header type of 1, whereas IFS test images will use header type of 2. In preparation for IFS reusing intel_microcode_sanity_check(), add header type as a parameter for sanity check. [ bp: Touchups. ] Signed-off-by: NJithu Joseph <jithu.joseph@intel.com> Signed-off-by: NBorislav Petkov <bp@suse.de> Reviewed-by: NTony Luck <tony.luck@intel.com> Reviewed-by: NAshok Raj <ashok.raj@intel.com> Link: https://lore.kernel.org/r/20221117035935.4136738-9-jithu.joseph@intel.comSigned-off-by: NAichun Shi <aichun.shi@intel.com>
Showing
想要评论请 注册 或 登录