tools/power/x86/intel-speed-select: Introduce TPMI interface support
authorZhang Rui <rui.zhang@intel.com>
Mon, 8 Aug 2022 16:01:00 +0000 (00:01 +0800)
committerSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 22 Mar 2023 20:36:54 +0000 (13:36 -0700)
commit79554aaa224a3b99f95b9c2843dc904764c32541
treecd754c20b51e4daec4bfaea04de34a09b67bbe60
parenta0ca5a097342f78d41e104d8d6bb0742ff0e7330
tools/power/x86/intel-speed-select: Introduce TPMI interface support

TPMI (Topology Aware Register and PM Capsule Interface) creates a
flexible, extendable and software-PCIe-driver-enumerable MMIO interface
for PM features.

SST feature is exposed via the TPMI interface on newer Xeon platforms.

Kernel TPMI based SST driver provides a series of new IOCTLs for userspace
to use.

Introduce support for the platforms that do SST control via TPMI interface.

Compared with previous platforms, Newer Xeons also supports multi-punit in a
package/die, including cpu punit and non-cpu punit. These have already
been handled in the generic code.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
[srinivas.pandruvada@linux.intel.com: changelog edits]
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
tools/power/x86/intel-speed-select/Build
tools/power/x86/intel-speed-select/isst-core-tpmi.c [new file with mode: 0644]
tools/power/x86/intel-speed-select/isst-core.c
tools/power/x86/intel-speed-select/isst.h