xref: /openbmc/linux/drivers/pci/Kconfig (revision 6058989b)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# PCI configuration
31da177e4SLinus Torvalds#
4f282b970SDan Williamsconfig ARCH_SUPPORTS_MSI
5f282b970SDan Williams	bool
6f282b970SDan Williams	default n
7f282b970SDan Williams
81da177e4SLinus Torvaldsconfig PCI_MSI
91da177e4SLinus Torvalds	bool "Message Signaled Interrupts (MSI and MSI-X)"
101da177e4SLinus Torvalds	depends on PCI
11f282b970SDan Williams	depends on ARCH_SUPPORTS_MSI
121da177e4SLinus Torvalds	help
131da177e4SLinus Torvalds	   This allows device drivers to enable MSI (Message Signaled
141da177e4SLinus Torvalds	   Interrupts).  Message Signaled Interrupts enable a device to
151da177e4SLinus Torvalds	   generate an interrupt using an inbound Memory Write on its
161da177e4SLinus Torvalds	   PCI bus instead of asserting a device IRQ pin.
171da177e4SLinus Torvalds
18309e57dfSMatthew Wilcox	   Use of PCI MSI interrupts can be disabled at kernel boot time
19309e57dfSMatthew Wilcox	   by using the 'pci=nomsi' option.  This disables MSI for the
20309e57dfSMatthew Wilcox	   entire system.
21309e57dfSMatthew Wilcox
223196180aSJesse Barnes	   If you don't know what to do here, say Y.
231da177e4SLinus Torvalds
241da177e4SLinus Torvaldsconfig PCI_DEBUG
251da177e4SLinus Torvalds	bool "PCI Debugging"
261da177e4SLinus Torvalds	depends on PCI && DEBUG_KERNEL
271da177e4SLinus Torvalds	help
281da177e4SLinus Torvalds	  Say Y here if you want the PCI core to produce a bunch of debug
291da177e4SLinus Torvalds	  messages to the system log.  Select this if you are having a
301da177e4SLinus Torvalds	  problem with PCI support and want to see more of what is going on.
311da177e4SLinus Torvalds
321da177e4SLinus Torvalds	  When in doubt, say N.
331da177e4SLinus Torvalds
34c70e0d9dSChris Wrightconfig PCI_STUB
35c70e0d9dSChris Wright	tristate "PCI Stub driver"
36c70e0d9dSChris Wright	depends on PCI
37c70e0d9dSChris Wright	help
38c70e0d9dSChris Wright	  Say Y or M here if you want be able to reserve a PCI device
39c70e0d9dSChris Wright	  when it is going to be assigned to a guest operating system.
40c70e0d9dSChris Wright
41c70e0d9dSChris Wright	  When in doubt, say N.
42c70e0d9dSChris Wright
43956a9202SRyan Wilsonconfig XEN_PCIDEV_FRONTEND
44956a9202SRyan Wilson        tristate "Xen PCI Frontend"
45956a9202SRyan Wilson        depends on PCI && X86 && XEN
46956a9202SRyan Wilson        select HOTPLUG
47956a9202SRyan Wilson        select PCI_XEN
48fce263c1SKonrad Rzeszutek Wilk	select XEN_XENBUS_FRONTEND
49956a9202SRyan Wilson        default y
50956a9202SRyan Wilson        help
51956a9202SRyan Wilson          The PCI device frontend driver allows the kernel to import arbitrary
52956a9202SRyan Wilson          PCI devices from a PCI backend to support PCI driver domains.
53956a9202SRyan Wilson
54956a9202SRyan Wilsonconfig XEN_PCIDEV_FE_DEBUG
55956a9202SRyan Wilson        bool "Xen PCI Frontend debugging"
56956a9202SRyan Wilson        depends on XEN_PCIDEV_FRONTEND && PCI_DEBUG
57956a9202SRyan Wilson	help
58956a9202SRyan Wilson	  Say Y here if you want the Xen PCI frontend to produce a bunch of debug
59956a9202SRyan Wilson	  messages to the system log.  Select this if you are having a
60956a9202SRyan Wilson	  problem with Xen PCI frontend support and want to see more of what is
61956a9202SRyan Wilson	  going on.
62956a9202SRyan Wilson
63956a9202SRyan Wilson	  When in doubt, say N.
64956a9202SRyan Wilson
658b955b0dSEric W. Biedermanconfig HT_IRQ
668b955b0dSEric W. Biederman	bool "Interrupts on hypertransport devices"
678b955b0dSEric W. Biederman	default y
68fbab41ccSAdrian Bunk	depends on PCI && X86_LOCAL_APIC && X86_IO_APIC
698b955b0dSEric W. Biederman	help
708b955b0dSEric W. Biederman	   This allows native hypertransport devices to use interrupts.
718b955b0dSEric W. Biederman
728b955b0dSEric W. Biederman	   If unsure say Y.
73d1b054daSYu Zhao
74d1b054daSYu Zhaoconfig PCI_IOV
75d1b054daSYu Zhao	bool "PCI IOV support"
76d1b054daSYu Zhao	depends on PCI
77d1b054daSYu Zhao	help
78d1b054daSYu Zhao	  I/O Virtualization is a PCI feature supported by some devices
79d1b054daSYu Zhao	  which allows them to create virtual devices which share their
80d1b054daSYu Zhao	  physical resources.
81d1b054daSYu Zhao
82d1b054daSYu Zhao	  If unsure, say N.
83204d49a5SBjorn Helgaas
84204d49a5SBjorn Helgaasconfig PCI_IOAPIC
85204d49a5SBjorn Helgaas	bool
86204d49a5SBjorn Helgaas	depends on PCI
87204d49a5SBjorn Helgaas	depends on ACPI
88204d49a5SBjorn Helgaas	depends on HOTPLUG
89204d49a5SBjorn Helgaas	default y
906058989bSNarendra_K@Dell.com
916058989bSNarendra_K@Dell.comselect NLS if (DMI || ACPI)
92