platform/x86/intel: tpmi: Remove hardcoded unit and offset
mainline inclusion from mainline-v6.5-rc1 commit 95de9148 category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I8WOEC Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=95de91483c22e90bb520655f8e6f1c70dd82ed3c ------------------------------------- Use sizeof(u32) for TPMI entry size units. Also add a define for capability offset unit size. Intel-SIG: commit 95de9148 platform/x86/intel: tpmi: Remove hardcoded unit and offset. Backport Intel_tpmi base driver. Signed-off-by:Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Link: https://lore.kernel.org/r/20230617014447.2543592-1-srinivas.pandruvada@linux.intel.com Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com> [ Yingbao Jia: amend commit log ] Signed-off-by:
Yingbao Jia <yingbao.jia@intel.com>
Loading
Please sign in to comment