summaryrefslogtreecommitdiffstats
path: root/tools/include/asm
diff options
context:
space:
mode:
authorYazen Ghannam <yazen.ghannam@amd.com>2024-03-01 15:37:48 +0100
committerBorislav Petkov (AMD) <bp@alien8.de>2024-03-01 16:55:24 +0100
commit7d19eea51757ad72faf4b0493e5bde85ca62012e (patch)
tree87680725b554f97505b884d19d7f0451d5f1654e /tools/include/asm
parentRAS/AMD/FMPM: Save SPA values (diff)
downloadlinux-7d19eea51757ad72faf4b0493e5bde85ca62012e.tar.xz
linux-7d19eea51757ad72faf4b0493e5bde85ca62012e.zip
RAS/AMD/FMPM: Add debugfs interface to print record entries
It is helpful to see the saved record entries during run time in human-readable format. This is useful for testing during module development. It can also be used by system admins to quickly and easily see the state of the system. Provide a sequential file in debugfs to print fields of interest from the FRU records and their entries. Don't fail to load the module if the debugfs interface is not available. This is a convenience feature which does not affect other module functionality. The new interface reads the record entries and should hold the mutex. Expand the mutex code comment to clarify when it should be held. Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20240301143748.854090-4-yazen.ghannam@amd.com
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions