~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/stable/sysfs-firmware-opal-elog

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 What:           /sys/firmware/opal/elog
  2 Date:           Feb 2014
  3 Contact:        Stewart Smith <stewart@linux.vnet.ibm.com>
  4 Description:
  5                 This directory exposes error log entries retrieved
  6                 through the OPAL firmware interface.
  7 
  8                 Each error log is identified by a unique ID and will
  9                 exist until explicitly acknowledged to firmware.
 10 
 11                 Each log entry has a directory in /sys/firmware/opal/elog.
 12 
 13                 Log entries may be purged by the service processor
 14                 before retrieved by firmware or retrieved/acknowledged by
 15                 Linux if there is no room for more log entries.
 16 
 17                 In the event that Linux has retrieved the log entries
 18                 but not explicitly acknowledged them to firmware and
 19                 the service processor needs more room for log entries,
 20                 the only remaining copy of a log message may be in
 21                 Linux.
 22 
 23                 Typically, a user space daemon will monitor for new
 24                 entries, read them out and acknowledge them.
 25 
 26                 The service processor may be able to store more log
 27                 entries than firmware can, so after you acknowledge
 28                 an event from Linux you may instantly get another one
 29                 from the queue that was generated some time in the past.
 30 
 31                 The raw log format is a binary format. We currently
 32                 do not parse this at all in kernel, leaving it up to
 33                 user space to solve the problem. In future, we may
 34                 do more parsing in kernel and add more files to make
 35                 it easier for simple user space processes to extract
 36                 more information.
 37 
 38                 For each log entry (directory), there are the following
 39                 files:
 40 
 41                 ==============  ================================================
 42                 id:             An ASCII representation of the ID of the
 43                                 error log, in hex - e.g. "0x01".
 44 
 45                 type:           An ASCII representation of the type id and
 46                                 description of the type of error log.
 47                                 Currently just "0x00 PEL" - platform error log.
 48                                 In the future there may be additional types.
 49 
 50                 raw:            A read-only binary file that can be read
 51                                 to get the raw log entry. These are
 52                                 <16kb, often just hundreds of bytes and
 53                                 "average" 2kb.
 54 
 55                 acknowledge:    Writing 'ack' to this file will acknowledge
 56                                 the error log to firmware (and in turn
 57                                 the service processor, if applicable).
 58                                 Shortly after acknowledging it, the log
 59                                 entry will be removed from sysfs.
 60                                 Reading this file will list the supported
 61                                 operations (currently just acknowledge).
 62                 ==============  ================================================

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php