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