[PATCH v2 0/8] platform/x86: ISST: Use TPMI interface
From: Srinivas Pandruvada
Date: Wed Mar 08 2023 - 02:07:04 EST
This series implements TPMI as Intel Speed Select Technology (Intel SST)
HW interface. TPMI has several advantages for Intel SST. This replaces
legacy mailbox and MMIO with architectural interface over TPMI.
This improves performance for HPC type applications. One single IOCTL command
replaces 10s of IOCTLs for mailboxes. This allowed to offer many more
performance levels and SST configurations.
This series depends on previously posted series:
- platform/x86/intel: Intel TPMI enumeration driver
Change History
v2
- Rebased on top of review-hans branch of platform-drivers-x86
- Removed patches which are already present in this branch from the last review
So number of patches are reduced from 12 to 8.
- Rework patch for MSR 0x54 support
- Use suggestion from Hans for suspend/resume callbacks
- Add Reviewed-by and Test-by tags
Srinivas Pandruvada (8):
platform/x86: ISST: Add support for MSR 0x54
platform/x86: ISST: Enumerate TPMI SST and create framework
platform/x86: ISST: Parse SST MMIO and update instance
platform/x86: ISST: Add SST-CP support via TPMI
platform/x86: ISST: Add SST-PP support via TPMI
platform/x86: ISST: Add SST-BF support via TPMI
platform/x86: ISST: Add SST-TF support via TPMI
platform/x86: ISST: Add suspend/resume callbacks
.../x86/intel/speed_select_if/Kconfig | 4 +
.../x86/intel/speed_select_if/Makefile | 2 +
.../intel/speed_select_if/isst_if_common.c | 28 +
.../x86/intel/speed_select_if/isst_tpmi.c | 72 +
.../intel/speed_select_if/isst_tpmi_core.c | 1438 +++++++++++++++++
.../intel/speed_select_if/isst_tpmi_core.h | 18 +
include/uapi/linux/isst_if.h | 303 ++++
7 files changed, 1865 insertions(+)
create mode 100644 drivers/platform/x86/intel/speed_select_if/isst_tpmi.c
create mode 100644 drivers/platform/x86/intel/speed_select_if/isst_tpmi_core.c
create mode 100644 drivers/platform/x86/intel/speed_select_if/isst_tpmi_core.h
--
2.34.1