Loading
platform/x86/intel/tpmi: Change vsec offset to u64
mainline inclusion from mainline-v6.9 commit 57221a07ff37ff356f9265acd228bc3c8744c8fc category: bugfix bugzilla: https://gitee.com/openeuler/intel-kernel/issues/IB6QCG CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=57221a07ff37ff356f9265acd228bc3c8744c8fc ------------------------------------------------- Intel-SIG: commit 57221a07ff37 platform/x86/intel/tpmi: Change vsec offset to u64. Backport intel tpmi base driver update for 5.10 The vsec offset can be 64 bit long depending on the PFS start. So change type to u64. Also use 64 bit formatting for seq_printf. Fixes: 47731fd2 ("platform/x86/intel: Intel TPMI enumeration driver") Signed-off-by:Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Cc: stable@vger.kernel.org # v6.3+ Link: https://lore.kernel.org/r/20240305194644.2077867-1-srinivas.pandruvada@linux.intel.com Reviewed-by:
Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by:
Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> [ Yingbao Jia: amend commit log ] Signed-off-by:
Yingbao Jia <yingbao.jia@intel.com>