platform/x86/intel/vsec: Support private data
mainline inclusion from mainline-v6.3-rc1 commit 4ec5d023 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=4ec5d0231d2e4aebe41152d57c6b4f1e7ea14f08 ------------------------------------- Add fields to struct intel_vsec_device, so that core module (which creates aux bus devices) can pass private data to the client drivers. For example there is one vsec device instance per CPU package. On a multi package system, this private data can be used to pass the package ID. This package id can be used by client drivers to change power settings for a specific CPU package by targeting MMIO space of the correct PCI device. Intel-SIG: commit 4ec5d023 platform/x86/intel/vsec: Support private data. Backport Intel_vsec bus update as TPMI driver dependency. Signed-off-by:Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Acked-by:
David E. Box <david.e.box@linux.intel.com> Link: https://lore.kernel.org/r/20230202010738.2186174-4-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