Kconfig 2.0 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4
#
# PCI Express Port Bus Configuration
#
config PCIEPORTBUS
5
	bool "PCI Express Port Bus support"
L
Linus Torvalds 已提交
6 7 8 9 10 11 12 13 14 15 16
	depends on PCI
	help
	  This automatically enables PCI Express Port Bus support. Users can
	  choose Native Hot-Plug support, Advanced Error Reporting support,
	  Power Management Event support and Virtual Channel support to run
	  on PCI Express Ports (Root or Switch).

#
# Include service Kconfig here
#
config HOTPLUG_PCI_PCIE
17
	bool "PCI Express Hotplug driver"
L
Linus Torvalds 已提交
18 19 20 21 22 23 24
	depends on HOTPLUG_PCI && PCIEPORTBUS
	help
	  Say Y here if you have a motherboard that supports PCI Express Native
	  Hotplug

	  When in doubt, say N.

25
source "drivers/pci/pcie/aer/Kconfig"
S
Shaohua Li 已提交
26 27 28 29 30

#
# PCI Express ASPM
#
config PCIEASPM
31
	bool "PCI Express ASPM control" if EXPERT
32 33
	depends on PCI && PCIEPORTBUS
	default y
S
Shaohua Li 已提交
34
	help
35 36 37
	  This enables OS control over PCI Express ASPM (Active State
	  Power Management) and Clock Power Management. ASPM supports
	  state L0/L0s/L1.
S
Shaohua Li 已提交
38

39
	  ASPM is initially set up by the firmware. With this option enabled,
40 41 42 43 44 45 46
	  Linux can modify this state in order to disable ASPM on known-bad
	  hardware or configurations and enable it when known-safe.

	  ASPM can be disabled or enabled at runtime via
	  /sys/module/pcie_aspm/parameters/policy

	  When in doubt, say Y.
47

S
Shaohua Li 已提交
48 49 50 51 52 53 54
config PCIEASPM_DEBUG
	bool "Debug PCI Express ASPM"
	depends on PCIEASPM
	default n
	help
	  This enables PCI Express ASPM debug support. It will add per-device
	  interface to control ASPM.
55

56 57 58 59 60 61
choice
	prompt "Default ASPM policy"
	default PCIEASPM_DEFAULT
	depends on PCIEASPM

config PCIEASPM_DEFAULT
62
	bool "BIOS default"
63 64 65 66 67
	depends on PCIEASPM
	help
	  Use the BIOS defaults for PCI Express ASPM.

config PCIEASPM_POWERSAVE
68
	bool "Powersave"
69 70 71 72 73 74
	depends on PCIEASPM
	help
	  Enable PCI Express ASPM L0s and L1 where possible, even if the
	  BIOS did not.

config PCIEASPM_PERFORMANCE
75
	bool "Performance"
76 77 78 79 80
	depends on PCIEASPM
	help
	  Disable PCI Express ASPM L0s and L1, even if the BIOS enabled them.
endchoice

81 82
config PCIE_PME
	def_bool y
83
	depends on PCIEPORTBUS && PM