platform/x86/intel/ifs: Metadata validation for start_chunk
mainline inclusion from mainline-v6.7-rc1 commit 60d2e1b37d530d6b1f8b7773cebaf8bbc1536b28 category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I8RCIK CVE: N/A Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=60d2e1b37d530d6b1f8b7773cebaf8bbc1536b28 ------------------------------------- Intel-SIG: commit 60d2e1b37d53 ("platform/x86/intel/ifs: Metadata validation for start_chunk") Backport to support IFS SAF & Array BIST on GNR & SRF ------------------------------------- Add an additional check to validate IFS image metadata field prior to loading the test image. If start_chunk is not a multiple of chunks_per_stride error out. Signed-off-by:Jithu Joseph <jithu.joseph@intel.com> Reviewed-by:
Tony Luck <tony.luck@intel.com> Tested-by:
Pengfei Xu <pengfei.xu@intel.com> Link: https://lore.kernel.org/r/20231005195137.3117166-7-jithu.joseph@intel.com Reviewed-by:
Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by:
Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by:
Aichun Shi <aichun.shi@intel.com>
Loading
Please sign in to comment