Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
On Fri, Apr 11, 2025, at 15:31, Akshay Gupta wrote:
At present, sbrmi driver under hwmon subsystem, is probed as an i2cI think this addresses all my comments, thanks for the update.
driver,
fetches data using APML specified protocol and reports through hwmon
power sensor.
AMD provides additional information using custom protocols, which cannot be
enumerated as hwmon sensors. Hence, move the existing functionality from hwmon/
to misc/ and add support for following custom protocols
- read Processor feature capabilities and configuration information
through side band.
- read Machine Check Architecture(MCA) registers over sideband.
The information is accessed for range of MCA registers by passing
register address and thread ID to the protocol.
NOTE: AMD defines Advanced Platform Management Link (APML) interface
which provides
system management functionality access to the baseboard management
controller (BMC).
Open-sourced and widely used [1]_ will continue to provide user-spaceI'm still a little uneasy about the low-level mailbox interface
programmable API.
.. [1] https://github.com/amd/esmi_oob_library
being exposed in a character device, but assuming that everyone
else is fine with having that in principle, I think the way the
interface is structured in this version is good enough.
Arnd