Kconfig 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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
  71. config PCIE_DPC
  72. bool "PCIe Downstream Port Containment support"
  73. depends on PCIEPORTBUS
  74. default n
  75. help
  76. This enables PCI Express Downstream Port Containment (DPC)
  77. driver support. DPC events from Root and Downstream ports
  78. will be handled by the DPC driver. If your system doesn't
  79. have this capability or you do not want to use this feature,
  80. it is safe to answer N.
  81. config PCIE_PTM
  82. bool "PCIe Precision Time Measurement support"
  83. default n
  84. depends on PCIEPORTBUS
  85. help
  86. This enables PCI Express Precision Time Measurement (PTM)
  87. support.
  88. This is only useful if you have devices that support PTM, but it
  89. is safe to enable even if you don't.