Merge branch 'timer/cleanup' into late/mvebu2
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / pci / pcie / Kconfig
CommitLineData
1da177e4
LT
1#
2# PCI Express Port Bus Configuration
3#
4config PCIEPORTBUS
5 bool "PCI Express 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#
14# Include service Kconfig here
15#
16config HOTPLUG_PCI_PCIE
17 tristate "PCI Express Hotplug driver"
18 depends on HOTPLUG_PCI && PCIEPORTBUS
19 help
20 Say Y here if you have a motherboard that supports PCI Express Native
21 Hotplug
22
23 To compile this driver as a module, choose M here: the
24 module will be called pciehp.
25
26 When in doubt, say N.
27
6c2b374d 28source "drivers/pci/pcie/aer/Kconfig"
7d715a6c
SL
29
30#
31# PCI Express ASPM
32#
33config PCIEASPM
6a108a14 34 bool "PCI Express ASPM control" if EXPERT
ea5f9fc5
MG
35 depends on PCI && PCIEPORTBUS
36 default y
7d715a6c 37 help
ea5f9fc5
MG
38 This enables OS control over PCI Express ASPM (Active State
39 Power Management) and Clock Power Management. ASPM supports
40 state L0/L0s/L1.
7d715a6c 41
d56641c7 42 ASPM is initially set up by the firmware. With this option enabled,
ea5f9fc5
MG
43 Linux can modify this state in order to disable ASPM on known-bad
44 hardware or configurations and enable it when known-safe.
45
46 ASPM can be disabled or enabled at runtime via
47 /sys/module/pcie_aspm/parameters/policy
48
49 When in doubt, say Y.
7d715a6c
SL
50config PCIEASPM_DEBUG
51 bool "Debug PCI Express ASPM"
52 depends on PCIEASPM
53 default n
54 help
55 This enables PCI Express ASPM debug support. It will add per-device
56 interface to control ASPM.
c7f48656 57
ad71c962
MG
58choice
59 prompt "Default ASPM policy"
60 default PCIEASPM_DEFAULT
61 depends on PCIEASPM
62
63config PCIEASPM_DEFAULT
64 bool "BIOS default"
65 depends on PCIEASPM
66 help
67 Use the BIOS defaults for PCI Express ASPM.
68
69config PCIEASPM_POWERSAVE
70 bool "Powersave"
71 depends on PCIEASPM
72 help
73 Enable PCI Express ASPM L0s and L1 where possible, even if the
74 BIOS did not.
75
76config PCIEASPM_PERFORMANCE
77 bool "Performance"
78 depends on PCIEASPM
79 help
80 Disable PCI Express ASPM L0s and L1, even if the BIOS enabled them.
81endchoice
82
c7f48656
RW
83config PCIE_PME
84 def_bool y
444ee9bd 85 depends on PCIEPORTBUS && PM_RUNTIME && ACPI