intel_rapl: RAPL abstraction and MMIO RAPL support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | intel_rapl: use reg instead of msrdrivers/ | +49 | 0 replies | |
| 2/13 | intel_rapl: remove hardcoded register indexdrivers/ | +22 | 0 replies | |
| 3/13 | intel_rapl: introduce intel_rapl.hMAINTAINERS drivers/ include/ | +116 | 0 replies | |
| 4/13 | intel_rapl: introduce struct rapl_privatedrivers/ include/ | +35 | 0 replies | |
| 5/13 | intel_rapl: abstract register addressdrivers/ include/ | +35 | 0 replies | |
| 6/13 | intel_rapl: abstract register access operationsdrivers/ include/ | +67 | 0 replies | |
| 7/13 | intel_rapl: cleanup some functionsdrivers/ | +31 | 0 replies | |
| 8/13 | intel_rapl: cleanup hardcoded MSR accessdrivers/ | +22 | 0 replies | |
| 9/13 | intel_rapl: abstract RAPL common codedrivers/ drivers/ drivers/ +2 more | +1491 | 0 replies | |
| 10/13 | intel_rapl: support 64 bit registerdrivers/ drivers/ include/ | +14 | 0 replies | |
| 11/13 | intel_rapl: support two power limits for every RAPL domaindrivers/ drivers/ include/ | +27 | 0 replies | |
| 12/13 | int340X/processor_thermal_device: add support for MMIO RAPLdrivers/ drivers/ | +173 | 1 reply | |
| 13/13 | intel_rapl: Fix module autoloading issuedrivers/ drivers/ | +48 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/13] intel_rapl: RAPL abstraction and MMIO RAPL support
Besideis MSR interface, RAPL can also be controlled via the MMIO interface, by accessing the MCHBar registers exposed by the processor thermal device.
Currently, we only have RAPL MSR interface in Linux kernel, this brings problems on some platforms that BIOS performs a low power limits via the MMIO interface by default. This results in poor system performance, and there is no way for us to change the MMIO MSR setting in Linux.
To fix this, RAPL MMIO interface support is introduced in this patch set.
Patch 1/13 to patch 11/13 abstract the RAPL code, and move all the shared code into a separate file, intel_rapl_common.c, so that it can be used by both MSR and MMIO interfaces.
Patch 12/13 introduced RAPL support via MMIO registers, exposed by the processor thermal devices.
Patch 13/13 fixes a module autoloading issue found later.
The patch series has been tested on Dell XPS 9360, a SKL platform.
Note that this patch series are based on the -tip tree, which contains the latest RAPL changes for multi-die support.
thanks,
rui