Kconfig 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. # SPDX-License-Identifier: GPL-2.0
  2. config HAVE_ACPI_APEI
  3. bool
  4. config HAVE_ACPI_APEI_NMI
  5. bool
  6. config ACPI_APEI
  7. bool "ACPI Platform Error Interface (APEI)"
  8. select MISC_FILESYSTEMS
  9. select PSTORE
  10. select UEFI_CPER
  11. depends on HAVE_ACPI_APEI
  12. help
  13. APEI allows to report errors (for example from the chipset)
  14. to the operating system. This improves NMI handling
  15. especially. In addition it supports error serialization and
  16. error injection.
  17. config ACPI_APEI_GHES
  18. bool "APEI Generic Hardware Error Source"
  19. depends on ACPI_APEI
  20. select ACPI_HED
  21. select IRQ_WORK
  22. select GENERIC_ALLOCATOR
  23. help
  24. Generic Hardware Error Source provides a way to report
  25. platform hardware errors (such as that from chipset). It
  26. works in so called "Firmware First" mode, that is, hardware
  27. errors are reported to firmware firstly, then reported to
  28. Linux by firmware. This way, some non-standard hardware
  29. error registers or non-standard hardware link can be checked
  30. by firmware to produce more valuable hardware error
  31. information for Linux.
  32. config ACPI_APEI_PCIEAER
  33. bool "APEI PCIe AER logging/recovering support"
  34. depends on ACPI_APEI && PCIEAER
  35. help
  36. PCIe AER errors may be reported via APEI firmware first mode.
  37. Turn on this option to enable the corresponding support.
  38. config ACPI_APEI_SEA
  39. bool "APEI Synchronous External Abort logging/recovering support"
  40. depends on ARM64 && ACPI_APEI_GHES
  41. default y
  42. help
  43. This option should be enabled if the system supports
  44. firmware first handling of SEA (Synchronous External Abort).
  45. SEA happens with certain faults of data abort or instruction
  46. abort synchronous exceptions on ARMv8 systems. If a system
  47. supports firmware first handling of SEA, the platform analyzes
  48. and handles hardware error notifications from SEA, and it may then
  49. form a HW error record for the OS to parse and handle. This
  50. option allows the OS to look for such hardware error record, and
  51. take appropriate action.
  52. config ACPI_APEI_MEMORY_FAILURE
  53. bool "APEI memory error recovering support"
  54. depends on ACPI_APEI && MEMORY_FAILURE
  55. help
  56. Memory errors may be reported via APEI firmware first mode.
  57. Turn on this option to enable the memory recovering support.
  58. config ACPI_APEI_EINJ
  59. tristate "APEI Error INJection (EINJ)"
  60. depends on ACPI_APEI && DEBUG_FS
  61. help
  62. EINJ provides a hardware error injection mechanism, it is
  63. mainly used for debugging and testing the other parts of
  64. APEI and some other RAS features.
  65. config ACPI_APEI_ERST_DEBUG
  66. tristate "APEI Error Record Serialization Table (ERST) Debug Support"
  67. depends on ACPI_APEI
  68. help
  69. ERST is a way provided by APEI to save and retrieve hardware
  70. error information to and from a persistent store. Enable this
  71. if you want to debugging and testing the ERST kernel support
  72. and firmware implementation.