From: Muthusamy Ramalingam <Muthusamy.Ramalingam@amd.com>
To: <platform-driver-x86@vger.kernel.org>
Cc: <ilpo.jarvinen@linux.intel.com>, <Suma.Hegde@amd.com>,
<NaveenKrishna.Chatradhi@amd.com>,
Muthusamy Ramalingam <Muthusamy.Ramalingam@amd.com>
Subject: [PATCH 00/26] platform/x86/amd/hsmp: Extend socket and per-CPU sysfs
Date: Mon, 2 Nov 2026 07:18:58 +0000 [thread overview]
Message-ID: <cover.1793602633.git.Muthusamy.Ramalingam@amd.com> (raw)
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/20261014111430.23156-1-suma.hegde@amd.com/T/#t
--
2.34.1
next reply other threads:[~2026-11-02 7:20 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-02 7:18 Muthusamy Ramalingam [this message]
2026-11-02 7:18 ` [PATCH 01/26] platform/x86/amd/hsmp: Drop _input from socket sysfs names Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 02/26] platform/x86/amd/hsmp: Rename clk_fmax and clk_fmin sysfs files Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 03/26] platform/x86/amd/hsmp: Add hsmp_err helper for parser-friendly store errors Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 04/26] platform/x86/amd/hsmp: Treat socket_power_limit as firmware-clamped Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 05/26] platform/x86/amd/hsmp: Print protocol_version as hexadecimal Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 06/26] platform/x86/amd/hsmp: Add sdps_limit sysfs file Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 07/26] platform/x86/amd/hsmp: Add df_pstate_range " Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 08/26] platform/x86/amd/hsmp: Add xgmi_width " Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 09/26] platform/x86/amd/hsmp: Add gmi3_link_width " Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 10/26] platform/x86/amd/hsmp: Add pcie_link_rate " Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 11/26] platform/x86/amd/hsmp: Add lclk DPM sysfs files Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 12/26] platform/x86/amd/hsmp: Add io_bw and xgmi_bw " Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 13/26] platform/x86/amd/hsmp: Add DIMM sideband " Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 14/26] platform/x86/amd/hsmp: Add per-CPU floor limit " Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 15/26] platform/x86/amd/hsmp: Add metric_version sysfs file Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 16/26] platform/x86/amd/hsmp: Add enabled command sysfs files Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 17/26] platform/x86/amd/hsmp: Add DIMM power and temperature " Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 18/26] platform/x86/amd/hsmp: Add SVI3 " Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 19/26] platform/x86/amd/hsmp: Add cclk_floor_limit sysfs file Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 20/26] platform/x86/amd/hsmp: Add xgmi_pstate_range " Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 21/26] platform/x86/amd/hsmp: Quiet probe-time firmware status dmesg spam Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 22/26] platform/x86/amd/hsmp: Add powereff_mode sysfs file Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 23/26] platform/x86/amd/hsmp: Add svi_power " Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 24/26] platform/x86/amd/hsmp: Add per-CPU ccd_power " Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 25/26] platform/x86/amd/hsmp: Add per-CPU freq_limit " Muthusamy Ramalingam
2026-11-02 7:19 ` [PATCH 26/26] platform/x86/amd/hsmp: Add socket_temperature " Muthusamy Ramalingam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1793602633.git.Muthusamy.Ramalingam@amd.com \
--to=muthusamy.ramalingam@amd.com \
--cc=NaveenKrishna.Chatradhi@amd.com \
--cc=Suma.Hegde@amd.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox