Kconfig 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. #
  2. # PCI Express Port Bus Configuration
  3. #
  4. config PCIEPORTBUS
  5. bool "PCI Express Port Bus support"
  6. depends on PCI
  7. help
  8. This automatically enables PCI Express Port Bus support. Users can
  9. choose Native Hot-Plug support, Advanced Error Reporting support,
  10. Power Management Event support and Virtual Channel support to run
  11. on PCI Express Ports (Root or Switch).
  12. #
  13. # Include service Kconfig here
  14. #
  15. config HOTPLUG_PCI_PCIE
  16. bool "PCI Express Hotplug driver"
  17. depends on HOTPLUG_PCI && PCIEPORTBUS
  18. help
  19. Say Y here if you have a motherboard that supports PCI Express Native
  20. Hotplug
  21. When in doubt, say N.
  22. source "drivers/pci/pcie/aer/Kconfig"
  23. #
  24. # PCI Express ASPM
  25. #
  26. config PCIEASPM
  27. bool "PCI Express ASPM control" if EXPERT
  28. depends on PCI && PCIEPORTBUS
  29. default y
  30. help
  31. This enables OS control over PCI Express ASPM (Active State
  32. Power Management) and Clock Power Management. ASPM supports
  33. state L0/L0s/L1.
  34. ASPM is initially set up by the firmware. With this option enabled,
  35. Linux can modify this state in order to disable ASPM on known-bad
  36. hardware or configurations and enable it when known-safe.
  37. ASPM can be disabled or enabled at runtime via
  38. /sys/module/pcie_aspm/parameters/policy
  39. When in doubt, say Y.
  40. config PCIEASPM_DEBUG
  41. bool "Debug PCI Express ASPM"
  42. depends on PCIEASPM
  43. default n
  44. help
  45. This enables PCI Express ASPM debug support. It will add per-device
  46. interface to control ASPM.
  47. choice
  48. prompt "Default ASPM policy"
  49. default PCIEASPM_DEFAULT
  50. depends on PCIEASPM
  51. config PCIEASPM_DEFAULT
  52. bool "BIOS default"
  53. depends on PCIEASPM
  54. help
  55. Use the BIOS defaults for PCI Express ASPM.
  56. config PCIEASPM_POWERSAVE
  57. bool "Powersave"
  58. depends on PCIEASPM
  59. help
  60. Enable PCI Express ASPM L0s and L1 where possible, even if the
  61. BIOS did not.
  62. config PCIEASPM_PERFORMANCE
  63. bool "Performance"
  64. depends on PCIEASPM
  65. help
  66. Disable PCI Express ASPM L0s and L1, even if the BIOS enabled them.
  67. endchoice
  68. config PCIE_PME
  69. def_bool y
  70. depends on PCIEPORTBUS && PM