Kconfig 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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
  40. depends on ARM64 && ACPI_APEI_GHES
  41. default y
  42. config ACPI_APEI_MEMORY_FAILURE
  43. bool "APEI memory error recovering support"
  44. depends on ACPI_APEI && MEMORY_FAILURE
  45. help
  46. Memory errors may be reported via APEI firmware first mode.
  47. Turn on this option to enable the memory recovering support.
  48. config ACPI_APEI_EINJ
  49. tristate "APEI Error INJection (EINJ)"
  50. depends on ACPI_APEI && DEBUG_FS
  51. help
  52. EINJ provides a hardware error injection mechanism, it is
  53. mainly used for debugging and testing the other parts of
  54. APEI and some other RAS features.
  55. config ACPI_APEI_ERST_DEBUG
  56. tristate "APEI Error Record Serialization Table (ERST) Debug Support"
  57. depends on ACPI_APEI
  58. help
  59. ERST is a way provided by APEI to save and retrieve hardware
  60. error information to and from a persistent store. Enable this
  61. if you want to debugging and testing the ERST kernel support
  62. and firmware implementation.