diff options
author | Liming Sun <limings@nvidia.com> | 2023-05-11 10:49:24 -0400 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-05-16 10:36:55 +0200 |
commit | e9d1b2d0f7d02f75127b3bc243c0f69f8bd05f04 (patch) | |
tree | 762f6c15a5b404e48c19f458c1dc2a1c77b43c1a /Documentation/ABI | |
parent | 506ed33d0767edbada4c8fc7c268b1730c14791e (diff) | |
download | lwn-e9d1b2d0f7d02f75127b3bc243c0f69f8bd05f04.tar.gz lwn-e9d1b2d0f7d02f75127b3bc243c0f69f8bd05f04.zip |
mlxbf-bootctl: Add sysfs file for BlueField boot log
This commit adds sysfs interface to be used to write into the
boot log which is 1KB HW buffer on BlueField SoC. The same log
buffer is also used by firmware code like ATF/UEFI, and can be
displayed by userspace tools or from external host via USB/PCIe.
Signed-off-by: Liming Sun <limings@nvidia.com>
Reviewed-by: Vadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20230511144924.171585-1-limings@nvidia.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-platform-mellanox-bootctl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-platform-mellanox-bootctl b/Documentation/ABI/testing/sysfs-platform-mellanox-bootctl index 9b99a81babb1..4c5c02d8f870 100644 --- a/Documentation/ABI/testing/sysfs-platform-mellanox-bootctl +++ b/Documentation/ABI/testing/sysfs-platform-mellanox-bootctl @@ -75,3 +75,12 @@ KernelVersion: 6.4 Contact: "Liming Sun <limings@nvidia.com>" Description: The file used to access the BlueField boot fifo. + +What: /sys/bus/platform/devices/MLNXBF04:00/rsh_log +Date: May 2023 +KernelVersion: 6.4 +Contact: "Liming Sun <limings@nvidia.com>" +Description: + The file used to write BlueField boot log with the format + "[INFO|WARN|ERR|ASSERT ]<msg>". Log level 'INFO' is used by + default if not specified. |