aboutsummaryrefslogtreecommitdiff
path: root/scripts/atomic/kerneldoc/add_unless
diff options
context:
space:
mode:
authorYazen Ghannam <yazen.ghannam@amd.com>2024-03-01 08:37:48 -0600
committerBorislav Petkov (AMD) <bp@alien8.de>2024-03-01 16:55:24 +0100
commit7d19eea51757ad72faf4b0493e5bde85ca62012e (patch)
tree87680725b554f97505b884d19d7f0451d5f1654e /scripts/atomic/kerneldoc/add_unless
parent838850c50884cdd1c96fce1063ef918c394d4bdc (diff)
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 'scripts/atomic/kerneldoc/add_unless')
0 files changed, 0 insertions, 0 deletions