Implement support of uncore frequency control via TPMI (Topology Aware Register and PM Capsule Interface). This driver provides the similar functionality as the current uncore frequency driver using MSRs. Previously I posted only 1/3 and got reviewed and addressed with this submission. The other two patches were links in the submission. But it is better that all three patches considered together. I know this is close to merge window for 6.4, so it is fine to differ. Srinivas Pandruvada (3): platform/x86/intel-uncore-freq: Uncore frequency control via TPMI platform/x86/intel-uncore-freq: Support for cluster level controls platform/x86/intel-uncore-freq: tpmi: Provide cluster level control .../pm/intel_uncore_frequency_scaling.rst | 57 ++- .../x86/intel/uncore-frequency/Kconfig | 4 + .../x86/intel/uncore-frequency/Makefile | 2 + .../uncore-frequency-common.c | 51 ++- .../uncore-frequency-common.h | 16 +- .../uncore-frequency/uncore-frequency-tpmi.c | 418 ++++++++++++++++++ .../intel/uncore-frequency/uncore-frequency.c | 1 + 7 files changed, 545 insertions(+), 4 deletions(-) create mode 100644 drivers/platform/x86/intel/uncore-frequency/uncore-frequency-tpmi.c -- 2.38.1