xref: /linux/drivers/pci/Kconfig (revision d229807f669ba3dea9f64467ee965051c4366aed)
1#
2# PCI configuration
3#
4config ARCH_SUPPORTS_MSI
5	bool
6	default n
7
8config PCI_MSI
9	bool "Message Signaled Interrupts (MSI and MSI-X)"
10	depends on PCI
11	depends on ARCH_SUPPORTS_MSI
12	help
13	   This allows device drivers to enable MSI (Message Signaled
14	   Interrupts).  Message Signaled Interrupts enable a device to
15	   generate an interrupt using an inbound Memory Write on its
16	   PCI bus instead of asserting a device IRQ pin.
17
18	   Use of PCI MSI interrupts can be disabled at kernel boot time
19	   by using the 'pci=nomsi' option.  This disables MSI for the
20	   entire system.
21
22	   If you don't know what to do here, say Y.
23
24config PCI_DEBUG
25	bool "PCI Debugging"
26	depends on PCI && DEBUG_KERNEL
27	help
28	  Say Y here if you want the PCI core to produce a bunch of debug
29	  messages to the system log.  Select this if you are having a
30	  problem with PCI support and want to see more of what is going on.
31
32	  When in doubt, say N.
33
34config PCI_STUB
35	tristate "PCI Stub driver"
36	depends on PCI
37	help
38	  Say Y or M here if you want be able to reserve a PCI device
39	  when it is going to be assigned to a guest operating system.
40
41	  When in doubt, say N.
42
43config XEN_PCIDEV_FRONTEND
44        tristate "Xen PCI Frontend"
45        depends on PCI && X86 && XEN
46        select HOTPLUG
47        select PCI_XEN
48	select XEN_XENBUS_FRONTEND
49        default y
50        help
51          The PCI device frontend driver allows the kernel to import arbitrary
52          PCI devices from a PCI backend to support PCI driver domains.
53
54config XEN_PCIDEV_FE_DEBUG
55        bool "Xen PCI Frontend debugging"
56        depends on XEN_PCIDEV_FRONTEND && PCI_DEBUG
57	help
58	  Say Y here if you want the Xen PCI frontend to produce a bunch of debug
59	  messages to the system log.  Select this if you are having a
60	  problem with Xen PCI frontend support and want to see more of what is
61	  going on.
62
63	  When in doubt, say N.
64
65config HT_IRQ
66	bool "Interrupts on hypertransport devices"
67	default y
68	depends on PCI && X86_LOCAL_APIC && X86_IO_APIC
69	help
70	   This allows native hypertransport devices to use interrupts.
71
72	   If unsure say Y.
73
74config PCI_ATS
75	bool
76
77config PCI_IOV
78	bool "PCI IOV support"
79	depends on PCI
80	select PCI_ATS
81	help
82	  I/O Virtualization is a PCI feature supported by some devices
83	  which allows them to create virtual devices which share their
84	  physical resources.
85
86	  If unsure, say N.
87
88config PCI_PRI
89	bool "PCI PRI support"
90	select PCI_ATS
91	help
92	  PRI is the PCI Page Request Interface. It allows PCI devices that are
93	  behind an IOMMU to recover from page faults.
94
95	  If unsure, say N.
96
97config PCI_PASID
98	bool "PCI PASID support"
99	depends on PCI
100	select PCI_ATS
101	help
102	  Process Address Space Identifiers (PASIDs) can be used by PCI devices
103	  to access more than one IO address space at the same time. To make
104	  use of this feature an IOMMU is required which also supports PASIDs.
105	  Select this option if you have such an IOMMU and want to compile the
106	  driver for it into your kernel.
107
108	  If unsure, say N.
109
110config PCI_IOAPIC
111	bool
112	depends on PCI
113	depends on ACPI
114	depends on HOTPLUG
115	default y
116
117config PCI_LABEL
118	def_bool y if (DMI || ACPI)
119	select NLS
120