mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

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>
31 lines
592 B
ReStructuredText
31 lines
592 B
ReStructuredText
.. SPDX-License-Identifier: GPL-2.0
|
|
|
|
============================================
|
|
Assorted Miscellaneous Devices Documentation
|
|
============================================
|
|
|
|
This documentation contains information for assorted devices that do not
|
|
fit into other categories.
|
|
|
|
.. toctree::
|
|
:caption: Table of contents
|
|
:maxdepth: 2
|
|
|
|
ad525x_dpot
|
|
amd-sbi
|
|
apds990x
|
|
bh1770glc
|
|
c2port
|
|
dw-xdata-pcie
|
|
ibmvmc
|
|
ics932s401
|
|
isl29003
|
|
lis3lv02d
|
|
max6875
|
|
mrvl_cn10k_dpi
|
|
oxsemi-tornado
|
|
pci-endpoint-test
|
|
spear-pcie-gadget
|
|
tps6594-pfsm
|
|
uacce
|
|
xilinx_sdfec
|