xref: /openbmc/linux/drivers/pci/Kconfig (revision c320b976)
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
74db3c33c6SJoerg Roedelconfig PCI_ATS
75db3c33c6SJoerg Roedel	bool
76db3c33c6SJoerg Roedel
77d1b054daSYu Zhaoconfig PCI_IOV
78d1b054daSYu Zhao	bool "PCI IOV support"
79d1b054daSYu Zhao	depends on PCI
80db3c33c6SJoerg Roedel	select PCI_ATS
81d1b054daSYu Zhao	help
82d1b054daSYu Zhao	  I/O Virtualization is a PCI feature supported by some devices
83d1b054daSYu Zhao	  which allows them to create virtual devices which share their
84d1b054daSYu Zhao	  physical resources.
85d1b054daSYu Zhao
86d1b054daSYu Zhao	  If unsure, say N.
87204d49a5SBjorn Helgaas
88c320b976SJoerg Roedelconfig PCI_PRI
89c320b976SJoerg Roedel	bool "PCI PRI support"
90c320b976SJoerg Roedel	select PCI_ATS
91c320b976SJoerg Roedel	help
92c320b976SJoerg Roedel	  PRI is the PCI Page Request Interface. It allows PCI devices that are
93c320b976SJoerg Roedel	  behind an IOMMU to recover from page faults.
94c320b976SJoerg Roedel
95c320b976SJoerg Roedel	  If unsure, say N.
96c320b976SJoerg Roedel
97204d49a5SBjorn Helgaasconfig PCI_IOAPIC
98204d49a5SBjorn Helgaas	bool
99204d49a5SBjorn Helgaas	depends on PCI
100204d49a5SBjorn Helgaas	depends on ACPI
101204d49a5SBjorn Helgaas	depends on HOTPLUG
102204d49a5SBjorn Helgaas	default y
1036058989bSNarendra_K@Dell.com
1048a226e00SRandy Dunlapconfig PCI_LABEL
1058a226e00SRandy Dunlap	def_bool y if (DMI || ACPI)
1068a226e00SRandy Dunlap	select NLS
107