xref: /linux/drivers/pci/Kconfig (revision 5f8fc43217a01c98be88aa53794b4d1333a07a5a)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# PCI configuration
31da177e4SLinus Torvalds#
4*5f8fc432SBogicevic Sasa
5*5f8fc432SBogicevic Sasasource "drivers/pci/pcie/Kconfig"
6*5f8fc432SBogicevic Sasa
73a9ad0b4SYinghai Luconfig PCI_BUS_ADDR_T_64BIT
8e02a653eSHelge Deller	def_bool y if (ARCH_DMA_ADDR_T_64BIT || 64BIT)
93a9ad0b4SYinghai Lu	depends on PCI
103a9ad0b4SYinghai Lu
111da177e4SLinus Torvaldsconfig PCI_MSI
121da177e4SLinus Torvalds	bool "Message Signaled Interrupts (MSI and MSI-X)"
131da177e4SLinus Torvalds	depends on PCI
1438b6a1cfSJiang Liu	select GENERIC_MSI_IRQ
151da177e4SLinus Torvalds	help
161da177e4SLinus Torvalds	   This allows device drivers to enable MSI (Message Signaled
171da177e4SLinus Torvalds	   Interrupts).  Message Signaled Interrupts enable a device to
181da177e4SLinus Torvalds	   generate an interrupt using an inbound Memory Write on its
191da177e4SLinus Torvalds	   PCI bus instead of asserting a device IRQ pin.
201da177e4SLinus Torvalds
21309e57dfSMatthew Wilcox	   Use of PCI MSI interrupts can be disabled at kernel boot time
22309e57dfSMatthew Wilcox	   by using the 'pci=nomsi' option.  This disables MSI for the
23309e57dfSMatthew Wilcox	   entire system.
24309e57dfSMatthew Wilcox
253196180aSJesse Barnes	   If you don't know what to do here, say Y.
261da177e4SLinus Torvalds
273878eaefSJiang Liuconfig PCI_MSI_IRQ_DOMAIN
283878eaefSJiang Liu	bool
293878eaefSJiang Liu	depends on PCI_MSI
303878eaefSJiang Liu	select GENERIC_MSI_IRQ_DOMAIN
313878eaefSJiang Liu
321da177e4SLinus Torvaldsconfig PCI_DEBUG
331da177e4SLinus Torvalds	bool "PCI Debugging"
341da177e4SLinus Torvalds	depends on PCI && DEBUG_KERNEL
351da177e4SLinus Torvalds	help
361da177e4SLinus Torvalds	  Say Y here if you want the PCI core to produce a bunch of debug
371da177e4SLinus Torvalds	  messages to the system log.  Select this if you are having a
381da177e4SLinus Torvalds	  problem with PCI support and want to see more of what is going on.
391da177e4SLinus Torvalds
401da177e4SLinus Torvalds	  When in doubt, say N.
411da177e4SLinus Torvalds
42b07f2ebcSYinghai Luconfig PCI_REALLOC_ENABLE_AUTO
43b07f2ebcSYinghai Lu	bool "Enable PCI resource re-allocation detection"
44b07f2ebcSYinghai Lu	depends on PCI
45b07f2ebcSYinghai Lu	help
46b07f2ebcSYinghai Lu	  Say Y here if you want the PCI core to detect if PCI resource
47b07f2ebcSYinghai Lu	  re-allocation needs to be enabled. You can always use pci=realloc=on
48b07f2ebcSYinghai Lu          or pci=realloc=off to override it.  Note this feature is a no-op
49b07f2ebcSYinghai Lu          unless PCI_IOV support is also enabled; in that case it will
50b07f2ebcSYinghai Lu          automatically re-allocate PCI resources if SR-IOV BARs have not
51b07f2ebcSYinghai Lu          been allocated by the BIOS.
52b07f2ebcSYinghai Lu
53b07f2ebcSYinghai Lu	  When in doubt, say N.
54b07f2ebcSYinghai Lu
55c70e0d9dSChris Wrightconfig PCI_STUB
56c70e0d9dSChris Wright	tristate "PCI Stub driver"
57c70e0d9dSChris Wright	depends on PCI
58c70e0d9dSChris Wright	help
59c70e0d9dSChris Wright	  Say Y or M here if you want be able to reserve a PCI device
60c70e0d9dSChris Wright	  when it is going to be assigned to a guest operating system.
61c70e0d9dSChris Wright
62c70e0d9dSChris Wright	  When in doubt, say N.
63c70e0d9dSChris Wright
64956a9202SRyan Wilsonconfig XEN_PCIDEV_FRONTEND
65956a9202SRyan Wilson        tristate "Xen PCI Frontend"
66956a9202SRyan Wilson        depends on PCI && X86 && XEN
67956a9202SRyan Wilson        select PCI_XEN
68fce263c1SKonrad Rzeszutek Wilk	select XEN_XENBUS_FRONTEND
69956a9202SRyan Wilson        default y
70956a9202SRyan Wilson        help
71956a9202SRyan Wilson          The PCI device frontend driver allows the kernel to import arbitrary
72956a9202SRyan Wilson          PCI devices from a PCI backend to support PCI driver domains.
73956a9202SRyan Wilson
748b955b0dSEric W. Biedermanconfig HT_IRQ
758b955b0dSEric W. Biederman	bool "Interrupts on hypertransport devices"
768b955b0dSEric W. Biederman	default y
772f600025SJiang Liu	depends on PCI && X86_LOCAL_APIC
788b955b0dSEric W. Biederman	help
798b955b0dSEric W. Biederman	   This allows native hypertransport devices to use interrupts.
808b955b0dSEric W. Biederman
818b955b0dSEric W. Biederman	   If unsure say Y.
82d1b054daSYu Zhao
83db3c33c6SJoerg Roedelconfig PCI_ATS
84db3c33c6SJoerg Roedel	bool
85db3c33c6SJoerg Roedel
86d1b054daSYu Zhaoconfig PCI_IOV
87d1b054daSYu Zhao	bool "PCI IOV support"
88d1b054daSYu Zhao	depends on PCI
89db3c33c6SJoerg Roedel	select PCI_ATS
90d1b054daSYu Zhao	help
91d1b054daSYu Zhao	  I/O Virtualization is a PCI feature supported by some devices
92d1b054daSYu Zhao	  which allows them to create virtual devices which share their
93d1b054daSYu Zhao	  physical resources.
94d1b054daSYu Zhao
95d1b054daSYu Zhao	  If unsure, say N.
96204d49a5SBjorn Helgaas
97c320b976SJoerg Roedelconfig PCI_PRI
98c320b976SJoerg Roedel	bool "PCI PRI support"
99c54420d3SJoerg Roedel	depends on PCI
100c320b976SJoerg Roedel	select PCI_ATS
101c320b976SJoerg Roedel	help
102c320b976SJoerg Roedel	  PRI is the PCI Page Request Interface. It allows PCI devices that are
103c320b976SJoerg Roedel	  behind an IOMMU to recover from page faults.
104c320b976SJoerg Roedel
105c320b976SJoerg Roedel	  If unsure, say N.
106c320b976SJoerg Roedel
107086ac11fSJoerg Roedelconfig PCI_PASID
108086ac11fSJoerg Roedel	bool "PCI PASID support"
109086ac11fSJoerg Roedel	depends on PCI
110086ac11fSJoerg Roedel	select PCI_ATS
111086ac11fSJoerg Roedel	help
112086ac11fSJoerg Roedel	  Process Address Space Identifiers (PASIDs) can be used by PCI devices
113086ac11fSJoerg Roedel	  to access more than one IO address space at the same time. To make
114086ac11fSJoerg Roedel	  use of this feature an IOMMU is required which also supports PASIDs.
115086ac11fSJoerg Roedel	  Select this option if you have such an IOMMU and want to compile the
116086ac11fSJoerg Roedel	  driver for it into your kernel.
117086ac11fSJoerg Roedel
118086ac11fSJoerg Roedel	  If unsure, say N.
119086ac11fSJoerg Roedel
1208a226e00SRandy Dunlapconfig PCI_LABEL
1218a226e00SRandy Dunlap	def_bool y if (DMI || ACPI)
1228a226e00SRandy Dunlap	select NLS
12345361a4fSThomas Petazzoni
12445361a4fSThomas Petazzonisource "drivers/pci/host/Kconfig"
125