milos-linux/Documentation/misc-devices
Akshay Gupta 35ac2034db misc: amd-sbi: Add support for AMD_SBI IOCTL
The present sbrmi module only support reporting power via hwmon.
However, AMD data center range of processors support various
system management functionality using custom protocols defined in
Advanced Platform Management Link (APML) specification.

Register a miscdevice, which creates a device /dev/sbrmiX with an IOCTL
interface for the user space to invoke the APML Mailbox protocol, which
is already defined in sbrmi_mailbox_xfer().

The APML protocols depend on a set of RMI registers. Having an IOCTL
as a single entry point will help in providing synchronization among
these protocols as multiple transactions on RMI register set may
create race condition.
Support for other protocols will be added in subsequent patches.

APML mailbox protocol returns additional error codes written by
SMU firmware in the out-bound register 0x37. These errors include,
invalid core, message not supported over platform and
others. This additional error codes can be used to provide more
details to user space.

Open-sourced and widely used https://github.com/amd/esmi_oob_library
will continue to provide user-space programmable API.

Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Signed-off-by: Akshay Gupta <akshay.gupta@amd.com>
Link: https://lore.kernel.org/r/20250428063034.2145566-7-akshay.gupta@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-05-21 14:44:40 +02:00
..
ad525x_dpot.rst
apds990x.rst
bh1770glc.rst
c2port.rst
dw-xdata-pcie.rst dw-xdata-pcie: Update outdated info and improve text format 2021-04-14 19:47:28 +02:00
ibmvmc.rst
ics932s401.rst
index.rst misc: amd-sbi: Add support for AMD_SBI IOCTL 2025-05-21 14:44:40 +02:00
isl29003.rst
lis3lv02d.rst misc: lis3lv02d: Fix correct sysfs directory path for lis3lv02d 2025-05-21 14:44:12 +02:00
max6875.rst
mrvl_cn10k_dpi.rst misc: mrvl-cn10k-dpi: add Octeon CN10K DPI administrative driver 2024-07-10 14:58:29 +02:00
oxsemi-tornado.rst Documentation: Reformat Oxford Semiconductor PCIe (Tornado) 950 2022-05-19 18:24:22 +02:00
pci-endpoint-test.rst docs: pci: endpoint/function/binding/pci-test.txt convert to ReST 2020-06-19 14:09:28 -06:00
spear-pcie-gadget.rst
tps6594-pfsm.rst Documentation: Add TI TPS6594 PFSM 2023-06-15 13:41:53 +02:00
uacce.rst
xilinx_sdfec.rst dt-bindings: misc: xlnx,sd-fec: convert bindings to yaml 2024-02-04 19:49:51 -06:00