platform/x86/amd/hsmp: Extend socket and per-CPU sysfs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest26 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/26 | platform/x86/amd/hsmp: Drop _input from socket sysfs namesDocumentation/ drivers/ drivers/ | +74 | 1 reply | |
| 2/26 | platform/x86/amd/hsmp: Rename clk_fmax and clk_fmin sysfs filesDocumentation/ drivers/ drivers/ +2 more | +33 | 0 replies | |
| 3/26 | platform/x86/amd/hsmp: Add hsmp_err helper for parser-friendly store errorsdrivers/ | +15 | 0 replies | |
| 4/26 | platform/x86/amd/hsmp: Treat socket_power_limit as firmware-clampedDocumentation/ drivers/ | +17 | 0 replies | |
| 5/26 | platform/x86/amd/hsmp: Print protocol_version as hexadecimalDocumentation/ drivers/ drivers/ +2 more | +27 | 1 reply | |
| 6/26 | platform/x86/amd/hsmp: Add sdps_limit sysfs fileDocumentation/ drivers/ drivers/ +2 more | +79 | 1 reply | |
| 7/26 | platform/x86/amd/hsmp: Add df_pstate_range sysfs fileDocumentation/ drivers/ drivers/ +2 more | +132 | 1 reply | |
| 8/26 | platform/x86/amd/hsmp: Add xgmi_width sysfs fileDocumentation/ drivers/ drivers/ +2 more | +93 | 1 reply | |
| 9/26 | platform/x86/amd/hsmp: Add gmi3_link_width sysfs fileDocumentation/ drivers/ drivers/ +2 more | +72 | 0 replies | |
| 10/26 | platform/x86/amd/hsmp: Add pcie_link_rate sysfs fileDocumentation/ drivers/ drivers/ +2 more | +43 | 0 replies | |
| 11/26 | platform/x86/amd/hsmp: Add lclk DPM sysfs filesDocumentation/ drivers/ drivers/ +2 more | +359 | 0 replies | |
| 12/26 | platform/x86/amd/hsmp: Add io_bw and xgmi_bw sysfs filesDocumentation/ drivers/ drivers/ +4 more | +1159 | 1 reply | |
| 13/26 | platform/x86/amd/hsmp: Add DIMM sideband sysfs filesDocumentation/ drivers/ drivers/ +2 more | +231 | 1 reply | |
| 14/26 | platform/x86/amd/hsmp: Add per-CPU floor limit sysfs filesDocumentation/ drivers/ | +131 | 0 replies | |
| 15/26 | platform/x86/amd/hsmp: Add metric_version sysfs fileDocumentation/ drivers/ drivers/ | +7 | 0 replies | |
| 16/26 | platform/x86/amd/hsmp: Add enabled command sysfs filesDocumentation/ drivers/ drivers/ +4 more | +66 | 0 replies | |
| 17/26 | platform/x86/amd/hsmp: Add DIMM power and temperature sysfs filesDocumentation/ drivers/ drivers/ +4 more | +1982 | 0 replies | |
| 18/26 | platform/x86/amd/hsmp: Add SVI3 temperature sysfs filesDocumentation/ drivers/ drivers/ +2 more | +233 | 0 replies | |
| 19/26 | platform/x86/amd/hsmp: Add cclk_floor_limit sysfs fileDocumentation/ drivers/ drivers/ +2 more | +56 | 1 reply | |
| 20/26 | platform/x86/amd/hsmp: Add xgmi_pstate_range sysfs fileDocumentation/ arch/ drivers/ +3 more | +103 | 0 replies | |
| 21/26 | platform/x86/amd/hsmp: Quiet probe-time firmware status dmesg spamarch/ drivers/ | +72 | 0 replies | |
| 22/26 | platform/x86/amd/hsmp: Add powereff_mode sysfs fileDocumentation/ drivers/ drivers/ +2 more | +238 | 0 replies | |
| 23/26 | platform/x86/amd/hsmp: Add svi_power sysfs fileDocumentation/ drivers/ drivers/ | +6 | 0 replies | |
| 24/26 | platform/x86/amd/hsmp: Add per-CPU ccd_power sysfs fileDocumentation/ drivers/ | +29 | 0 replies | |
| 25/26 | platform/x86/amd/hsmp: Add per-CPU freq_limit sysfs fileDocumentation/ drivers/ | +28 | 0 replies | |
| 26/26 | platform/x86/amd/hsmp: Add socket_temperature sysfs fileDocumentation/ drivers/ drivers/ +2 more | +29 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/26] platform/x86/amd/hsmp: Extend socket and per-CPU sysfs
This series extends the AMD HSMP sysfs interface on both the ACPI and platform drivers. It starts with socket attribute naming cleanup and a parser-friendly store error helper, then adds the remaining message-backed socket and per-CPU attributes used on server platforms.
Later patches cover link/bandwidth, DIMM, SVI3, power-efficiency, and per-CPU files. Attribute visibility follows the enabled-message bitmaps. Probe-time discovery for optional DIMM/IO/xGMI hardware is quieted so expected firmware misses do not flood dmesg.
The series ends with socket_temperature (HSMP_GET_TEMP_MONITOR).
Muthusamy Ramalingam (26):
platform/x86/amd/hsmp: Drop _input from socket sysfs names platform/x86/amd/hsmp: Rename clk_fmax and clk_fmin sysfs files platform/x86/amd/hsmp: Add hsmp_err helper for parser-friendly store
errors
platform/x86/amd/hsmp: Treat socket_power_limit as firmware-clamped platform/x86/amd/hsmp: Print protocol_version as hexadecimal platform/x86/amd/hsmp: Add sdps_limit sysfs file platform/x86/amd/hsmp: Add df_pstate_range sysfs file platform/x86/amd/hsmp: Add xgmi_width sysfs file platform/x86/amd/hsmp: Add gmi3_link_width sysfs file platform/x86/amd/hsmp: Add pcie_link_rate sysfs file platform/x86/amd/hsmp: Add lclk DPM sysfs files platform/x86/amd/hsmp: Add io_bw and xgmi_bw sysfs files platform/x86/amd/hsmp: Add DIMM sideband sysfs files platform/x86/amd/hsmp: Add per-CPU floor limit sysfs files platform/x86/amd/hsmp: Add metric_version sysfs file platform/x86/amd/hsmp: Add enabled command sysfs files platform/x86/amd/hsmp: Add DIMM power and temperature sysfs files platform/x86/amd/hsmp: Add SVI3 temperature sysfs files platform/x86/amd/hsmp: Add cclk_floor_limit sysfs file platform/x86/amd/hsmp: Add xgmi_pstate_range sysfs file platform/x86/amd/hsmp: Quiet probe-time firmware status dmesg spam platform/x86/amd/hsmp: Add powereff_mode sysfs file platform/x86/amd/hsmp: Add svi_power sysfs file platform/x86/amd/hsmp: Add per-CPU ccd_power sysfs file platform/x86/amd/hsmp: Add per-CPU freq_limit sysfs file platform/x86/amd/hsmp: Add socket_temperature sysfs file
Documentation/arch/x86/amd_hsmp.rst | 116 +- arch/x86/include/asm/amd/hsmp.h | 7 + arch/x86/include/uapi/asm/amd_hsmp.h | 11 +- drivers/platform/x86/amd/hsmp/acpi.c | 645 ++++++- drivers/platform/x86/amd/hsmp/hsmp.c | 298 +++- drivers/platform/x86/amd/hsmp/hsmp.h | 31 + drivers/platform/x86/amd/hsmp/plat.c | 2346 +++++++++++++++++++++++-- drivers/platform/x86/amd/hsmp/sysfs.c | 1858 +++++++++++++++++++- drivers/platform/x86/amd/hsmp/sysfs.h | 116 +- 9 files changed, 5260 insertions(+), 168 deletions(-)
This series is rebased on top of https://lore.kernel.org/platform-driver-x86/[email protected]/T/#t
Signature · 1 line
2.34.1