platform-driver-x86.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add sysfs files to plat device based driver
@ 2025-08-06  6:38 Suma Hegde
  2025-08-06  6:38 ` [PATCH 1/2] platform/x86/amd/hsmp: Rename the HSMP_BIN_ATTR_GRP macro Suma Hegde
  2025-08-06  6:38 ` [PATCH 2/2] platform/x86/amd/hsmp: plat: Add sysfs files to display HSMP telemetry Suma Hegde
  0 siblings, 2 replies; 5+ messages in thread
From: Suma Hegde @ 2025-08-06  6:38 UTC (permalink / raw)
  To: platform-driver-x86; +Cc: ilpo.jarvinen, hdegoede, Suma Hegde

This series has two patches.

* The first one renames the macro to make it a generic name. This is
  in preparation to the second patch.

* The second patch adds sysfs files to the platform device based driver.
  Basic system telemetry is reported through sysfs files similar to ACPI
  based driver in 511a4a5ea2b6f1d4e0c719f27db6b627b2b52e49.

This series is rebased on review-ilpo-next + below two patches
https://lore.kernel.org/platform-driver-x86/20250804101551.89866-1-suma.hegde@amd.com/T/#u
https://lore.kernel.org/platform-driver-x86/20250805091911.483825-1-suma.hegde@amd.com/T/#u

Suma Hegde (2):
  platform/x86/amd/hsmp: Rename the HSMP_BIN_ATTR_GRP macro
  platform/x86/amd/hsmp: plat: Add sysfs files to display HSMP telemetry

 Documentation/arch/x86/amd_hsmp.rst   |   4 +-
 drivers/platform/x86/amd/hsmp/acpi.c  |  33 +--
 drivers/platform/x86/amd/hsmp/plat.c  | 388 +++++++++++++++++++++++++-
 drivers/platform/x86/amd/hsmp/sysfs.h |  48 ++++
 4 files changed, 433 insertions(+), 40 deletions(-)
 create mode 100644 drivers/platform/x86/amd/hsmp/sysfs.h

-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-08-24 11:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-06  6:38 [PATCH 0/2] Add sysfs files to plat device based driver Suma Hegde
2025-08-06  6:38 ` [PATCH 1/2] platform/x86/amd/hsmp: Rename the HSMP_BIN_ATTR_GRP macro Suma Hegde
2025-08-06  6:38 ` [PATCH 2/2] platform/x86/amd/hsmp: plat: Add sysfs files to display HSMP telemetry Suma Hegde
2025-08-19 11:42   ` Ilpo Järvinen
2025-08-24 11:59     ` Suma Hegde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).