xref: /openbmc/linux/drivers/pci/Kconfig (revision baa7eb025ab14f3cba2e35c0a8648f9c9f01d24f)
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        default y
49        help
50          The PCI device frontend driver allows the kernel to import arbitrary
51          PCI devices from a PCI backend to support PCI driver domains.
52
53config XEN_PCIDEV_FE_DEBUG
54        bool "Xen PCI Frontend debugging"
55        depends on XEN_PCIDEV_FRONTEND && PCI_DEBUG
56	help
57	  Say Y here if you want the Xen PCI frontend to produce a bunch of debug
58	  messages to the system log.  Select this if you are having a
59	  problem with Xen PCI frontend support and want to see more of what is
60	  going on.
61
62	  When in doubt, say N.
63
64config HT_IRQ
65	bool "Interrupts on hypertransport devices"
66	default y
67	depends on PCI && X86_LOCAL_APIC && X86_IO_APIC
68	help
69	   This allows native hypertransport devices to use interrupts.
70
71	   If unsure say Y.
72
73config PCI_IOV
74	bool "PCI IOV support"
75	depends on PCI
76	help
77	  I/O Virtualization is a PCI feature supported by some devices
78	  which allows them to create virtual devices which share their
79	  physical resources.
80
81	  If unsure, say N.
82
83config PCI_IOAPIC
84	bool
85	depends on PCI
86	depends on ACPI
87	depends on HOTPLUG
88	default y
89