From: Suma Hegde <Suma.Hegde@amd.com>
To: <hdegoede@redhat.com>
Cc: <platform-driver-x86@vger.kernel.org>,
Suma Hegde <Suma.Hegde@amd.com>,
Naveen Krishna Chatradhi <nchatrad@amd.com>
Subject: [PATCH v2 4/4] Documentation: Add amd_hsmp sysfs file info
Date: Wed, 6 Sep 2023 07:13:02 +0000 [thread overview]
Message-ID: <20230906071302.291260-4-Suma.Hegde@amd.com> (raw)
In-Reply-To: <20230906071302.291260-1-Suma.Hegde@amd.com>
sysfs bin file is added for metrics table information
Signed-off-by: Suma Hegde <Suma.Hegde@amd.com>
Reviewed-by: Naveen Krishna Chatradhi <nchatrad@amd.com>
---
Changes since v1:
New patch
Documentation/arch/x86/amd_hsmp.rst | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/Documentation/arch/x86/amd_hsmp.rst b/Documentation/arch/x86/amd_hsmp.rst
index 440e4b645a1c..e4f4978f758b 100644
--- a/Documentation/arch/x86/amd_hsmp.rst
+++ b/Documentation/arch/x86/amd_hsmp.rst
@@ -41,6 +41,22 @@ In-kernel integration:
* Locking across callers is taken care by the driver.
+HSMP sysfs interface
+====================
+
+1. Metrics table bin sysfs
+
+AMD MI300A MCM provides GET_METRICS_TABLE message to retrieve
+all the system management information from SMU.
+
+The metrics table is made available as hexadecimal sysfs binary file
+under per socket sysfs directory created at
+/sys/devices/platform/amd_hsmp/socket%d/metrics_bin
+
+Metrics table definitions will be documented as part of Public PPR.
+The same is defined in the amd_hsmp.h header.
+
+
An example
==========
--
2.25.1
next prev parent reply other threads:[~2023-09-06 7:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-06 7:12 [PATCH v2 1/4] platform/x86/amd/hsmp: create plat specific struct Suma Hegde
2023-09-06 7:13 ` [PATCH v2 2/4] platform/x86/amd/hsmp: add support for metrics tbl Suma Hegde
2023-09-06 7:13 ` [PATCH v2 3/4] platform/x86/amd/hsmp: improve the error log Suma Hegde
2023-09-06 7:13 ` Suma Hegde [this message]
2023-09-13 15:28 ` [PATCH v2 4/4] Documentation: Add amd_hsmp sysfs file info Hans de Goede
2023-09-13 15:27 ` [PATCH v2 1/4] platform/x86/amd/hsmp: create plat specific struct Hans de Goede
2023-09-15 11:49 ` Hegde, Suma
2023-09-13 15:28 ` Hans de Goede
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=20230906071302.291260-4-Suma.Hegde@amd.com \
--to=suma.hegde@amd.com \
--cc=hdegoede@redhat.com \
--cc=nchatrad@amd.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