sysfs-firmware-opal-dump 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. What: /sys/firmware/opal/dump
  2. Date: Feb 2014
  3. Contact: Stewart Smith <[email protected]>
  4. Description:
  5. This directory exposes interfaces for interacting with
  6. the FSP and platform dumps through OPAL firmware interface.
  7. This is only for the powerpc/powernv platform.
  8. =============== ===============================================
  9. initiate_dump: When '1' is written to it,
  10. we will initiate a dump.
  11. Read this file for supported commands.
  12. 0xXX-0xYYYY: A directory for dump of type 0xXX and
  13. id 0xYYYY (in hex). The name of this
  14. directory should not be relied upon to
  15. be in this format, only that it's unique
  16. among all dumps. For determining the type
  17. and ID of the dump, use the id and type files.
  18. Do not rely on any particular size of dump
  19. type or dump id.
  20. =============== ===============================================
  21. Each dump has the following files:
  22. =============== ===============================================
  23. id: An ASCII representation of the dump ID
  24. in hex (e.g. '0x01')
  25. type: An ASCII representation of the type of
  26. dump in the format "0x%x %s" with the ID
  27. in hex and a description of the dump type
  28. (or 'unknown').
  29. Type '0xffffffff unknown' is used when
  30. we could not get the type from firmware.
  31. e.g. '0x02 System/Platform Dump'
  32. dump: A binary file containing the dump.
  33. The size of the dump is the size of this file.
  34. acknowledge: When 'ack' is written to this, we will
  35. acknowledge that we've retrieved the
  36. dump to the service processor. It will
  37. then remove it, making the dump
  38. inaccessible.
  39. Reading this file will get a list of
  40. supported actions.
  41. =============== ===============================================