xref: /linux/drivers/pci/Kconfig (revision 45361a4fe4464180815157654aabbd2afb4848ad)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# PCI configuration
31da177e4SLinus Torvalds#
4f282b970SDan Williamsconfig ARCH_SUPPORTS_MSI
5f282b970SDan Williams	bool
6f282b970SDan Williams
71da177e4SLinus Torvaldsconfig PCI_MSI
81da177e4SLinus Torvalds	bool "Message Signaled Interrupts (MSI and MSI-X)"
91da177e4SLinus Torvalds	depends on PCI
10f282b970SDan Williams	depends on ARCH_SUPPORTS_MSI
111da177e4SLinus Torvalds	help
121da177e4SLinus Torvalds	   This allows device drivers to enable MSI (Message Signaled
131da177e4SLinus Torvalds	   Interrupts).  Message Signaled Interrupts enable a device to
141da177e4SLinus Torvalds	   generate an interrupt using an inbound Memory Write on its
151da177e4SLinus Torvalds	   PCI bus instead of asserting a device IRQ pin.
161da177e4SLinus Torvalds
17309e57dfSMatthew Wilcox	   Use of PCI MSI interrupts can be disabled at kernel boot time
18309e57dfSMatthew Wilcox	   by using the 'pci=nomsi' option.  This disables MSI for the
19309e57dfSMatthew Wilcox	   entire system.
20309e57dfSMatthew Wilcox
213196180aSJesse Barnes	   If you don't know what to do here, say Y.
221da177e4SLinus Torvalds
231da177e4SLinus Torvaldsconfig PCI_DEBUG
241da177e4SLinus Torvalds	bool "PCI Debugging"
251da177e4SLinus Torvalds	depends on PCI && DEBUG_KERNEL
261da177e4SLinus Torvalds	help
271da177e4SLinus Torvalds	  Say Y here if you want the PCI core to produce a bunch of debug
281da177e4SLinus Torvalds	  messages to the system log.  Select this if you are having a
291da177e4SLinus Torvalds	  problem with PCI support and want to see more of what is going on.
301da177e4SLinus Torvalds
311da177e4SLinus Torvalds	  When in doubt, say N.
321da177e4SLinus Torvalds
33b07f2ebcSYinghai Luconfig PCI_REALLOC_ENABLE_AUTO
34b07f2ebcSYinghai Lu	bool "Enable PCI resource re-allocation detection"
35b07f2ebcSYinghai Lu	depends on PCI
36b07f2ebcSYinghai Lu	help
37b07f2ebcSYinghai Lu	  Say Y here if you want the PCI core to detect if PCI resource
38b07f2ebcSYinghai Lu	  re-allocation needs to be enabled. You can always use pci=realloc=on
39b07f2ebcSYinghai Lu          or pci=realloc=off to override it.  Note this feature is a no-op
40b07f2ebcSYinghai Lu          unless PCI_IOV support is also enabled; in that case it will
41b07f2ebcSYinghai Lu          automatically re-allocate PCI resources if SR-IOV BARs have not
42b07f2ebcSYinghai Lu          been allocated by the BIOS.
43b07f2ebcSYinghai Lu
44b07f2ebcSYinghai Lu	  When in doubt, say N.
45b07f2ebcSYinghai Lu
46c70e0d9dSChris Wrightconfig PCI_STUB
47c70e0d9dSChris Wright	tristate "PCI Stub driver"
48c70e0d9dSChris Wright	depends on PCI
49c70e0d9dSChris Wright	help
50c70e0d9dSChris Wright	  Say Y or M here if you want be able to reserve a PCI device
51c70e0d9dSChris Wright	  when it is going to be assigned to a guest operating system.
52c70e0d9dSChris Wright
53c70e0d9dSChris Wright	  When in doubt, say N.
54c70e0d9dSChris Wright
55956a9202SRyan Wilsonconfig XEN_PCIDEV_FRONTEND
56956a9202SRyan Wilson        tristate "Xen PCI Frontend"
57956a9202SRyan Wilson        depends on PCI && X86 && XEN
58956a9202SRyan Wilson        select HOTPLUG
59956a9202SRyan Wilson        select PCI_XEN
60fce263c1SKonrad Rzeszutek Wilk	select XEN_XENBUS_FRONTEND
61956a9202SRyan Wilson        default y
62956a9202SRyan Wilson        help
63956a9202SRyan Wilson          The PCI device frontend driver allows the kernel to import arbitrary
64956a9202SRyan Wilson          PCI devices from a PCI backend to support PCI driver domains.
65956a9202SRyan Wilson
668b955b0dSEric W. Biedermanconfig HT_IRQ
678b955b0dSEric W. Biederman	bool "Interrupts on hypertransport devices"
688b955b0dSEric W. Biederman	default y
69fbab41ccSAdrian Bunk	depends on PCI && X86_LOCAL_APIC && X86_IO_APIC
708b955b0dSEric W. Biederman	help
718b955b0dSEric W. Biederman	   This allows native hypertransport devices to use interrupts.
728b955b0dSEric W. Biederman
738b955b0dSEric W. Biederman	   If unsure say Y.
74d1b054daSYu Zhao
75db3c33c6SJoerg Roedelconfig PCI_ATS
76db3c33c6SJoerg Roedel	bool
77db3c33c6SJoerg Roedel
78d1b054daSYu Zhaoconfig PCI_IOV
79d1b054daSYu Zhao	bool "PCI IOV support"
80d1b054daSYu Zhao	depends on PCI
81db3c33c6SJoerg Roedel	select PCI_ATS
82d1b054daSYu Zhao	help
83d1b054daSYu Zhao	  I/O Virtualization is a PCI feature supported by some devices
84d1b054daSYu Zhao	  which allows them to create virtual devices which share their
85d1b054daSYu Zhao	  physical resources.
86d1b054daSYu Zhao
87d1b054daSYu Zhao	  If unsure, say N.
88204d49a5SBjorn Helgaas
89c320b976SJoerg Roedelconfig PCI_PRI
90c320b976SJoerg Roedel	bool "PCI PRI support"
91c54420d3SJoerg Roedel	depends on PCI
92c320b976SJoerg Roedel	select PCI_ATS
93c320b976SJoerg Roedel	help
94c320b976SJoerg Roedel	  PRI is the PCI Page Request Interface. It allows PCI devices that are
95c320b976SJoerg Roedel	  behind an IOMMU to recover from page faults.
96c320b976SJoerg Roedel
97c320b976SJoerg Roedel	  If unsure, say N.
98c320b976SJoerg Roedel
99086ac11fSJoerg Roedelconfig PCI_PASID
100086ac11fSJoerg Roedel	bool "PCI PASID support"
101086ac11fSJoerg Roedel	depends on PCI
102086ac11fSJoerg Roedel	select PCI_ATS
103086ac11fSJoerg Roedel	help
104086ac11fSJoerg Roedel	  Process Address Space Identifiers (PASIDs) can be used by PCI devices
105086ac11fSJoerg Roedel	  to access more than one IO address space at the same time. To make
106086ac11fSJoerg Roedel	  use of this feature an IOMMU is required which also supports PASIDs.
107086ac11fSJoerg Roedel	  Select this option if you have such an IOMMU and want to compile the
108086ac11fSJoerg Roedel	  driver for it into your kernel.
109086ac11fSJoerg Roedel
110086ac11fSJoerg Roedel	  If unsure, say N.
111086ac11fSJoerg Roedel
112204d49a5SBjorn Helgaasconfig PCI_IOAPIC
113b95a7bd7SJan Beulich	tristate "PCI IO-APIC hotplug support" if X86
114204d49a5SBjorn Helgaas	depends on PCI
115204d49a5SBjorn Helgaas	depends on ACPI
116204d49a5SBjorn Helgaas	depends on HOTPLUG
117b95a7bd7SJan Beulich	default !X86
1186058989bSNarendra_K@Dell.com
1198a226e00SRandy Dunlapconfig PCI_LABEL
1208a226e00SRandy Dunlap	def_bool y if (DMI || ACPI)
1218a226e00SRandy Dunlap	select NLS
122*45361a4fSThomas Petazzoni
123*45361a4fSThomas Petazzonisource "drivers/pci/host/Kconfig"
124