blob: ac45398ebb8e96e1422dfea5dd2c63474343d26b [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# PCI configuration
3#
Dan Williamsf282b9702007-04-18 18:46:20 +10004config ARCH_SUPPORTS_MSI
5 bool
Dan Williamsf282b9702007-04-18 18:46:20 +10006
Linus Torvalds1da177e2005-04-16 15:20:36 -07007config PCI_MSI
8 bool "Message Signaled Interrupts (MSI and MSI-X)"
9 depends on PCI
Dan Williamsf282b9702007-04-18 18:46:20 +100010 depends on ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -070011 help
12 This allows device drivers to enable MSI (Message Signaled
13 Interrupts). Message Signaled Interrupts enable a device to
14 generate an interrupt using an inbound Memory Write on its
15 PCI bus instead of asserting a device IRQ pin.
16
Matthew Wilcox309e57d2006-03-05 22:33:34 -070017 Use of PCI MSI interrupts can be disabled at kernel boot time
18 by using the 'pci=nomsi' option. This disables MSI for the
19 entire system.
20
Jesse Barnes31961802010-04-08 09:38:47 -070021 If you don't know what to do here, say Y.
Linus Torvalds1da177e2005-04-16 15:20:36 -070022
Linus Torvalds1da177e2005-04-16 15:20:36 -070023config PCI_DEBUG
24 bool "PCI Debugging"
25 depends on PCI && DEBUG_KERNEL
26 help
27 Say Y here if you want the PCI core to produce a bunch of debug
28 messages to the system log. Select this if you are having a
29 problem with PCI support and want to see more of what is going on.
30
31 When in doubt, say N.
32
Yinghai Lub07f2eb2012-02-23 19:23:32 -080033config PCI_REALLOC_ENABLE_AUTO
34 bool "Enable PCI resource re-allocation detection"
35 depends on PCI
36 help
37 Say Y here if you want the PCI core to detect if PCI resource
38 re-allocation needs to be enabled. You can always use pci=realloc=on
39 or pci=realloc=off to override it. Note this feature is a no-op
40 unless PCI_IOV support is also enabled; in that case it will
41 automatically re-allocate PCI resources if SR-IOV BARs have not
42 been allocated by the BIOS.
43
44 When in doubt, say N.
45
Chris Wrightc70e0d92008-11-25 21:17:13 -080046config PCI_STUB
47 tristate "PCI Stub driver"
48 depends on PCI
49 help
50 Say Y or M here if you want be able to reserve a PCI device
51 when it is going to be assigned to a guest operating system.
52
53 When in doubt, say N.
54
Ryan Wilson956a9202010-08-02 21:31:05 -040055config XEN_PCIDEV_FRONTEND
56 tristate "Xen PCI Frontend"
57 depends on PCI && X86 && XEN
58 select HOTPLUG
59 select PCI_XEN
Konrad Rzeszutek Wilkfce263c12010-12-10 22:33:15 -050060 select XEN_XENBUS_FRONTEND
Ryan Wilson956a9202010-08-02 21:31:05 -040061 default y
62 help
63 The PCI device frontend driver allows the kernel to import arbitrary
64 PCI devices from a PCI backend to support PCI driver domains.
65
Eric W. Biederman8b955b02006-10-04 02:16:55 -070066config HT_IRQ
67 bool "Interrupts on hypertransport devices"
68 default y
Adrian Bunkfbab41c2006-10-11 01:22:04 -070069 depends on PCI && X86_LOCAL_APIC && X86_IO_APIC
Eric W. Biederman8b955b02006-10-04 02:16:55 -070070 help
71 This allows native hypertransport devices to use interrupts.
72
73 If unsure say Y.
Yu Zhaod1b054d2009-03-20 11:25:11 +080074
Joerg Roedeldb3c33c2011-09-27 15:57:13 +020075config PCI_ATS
76 bool
77
Yu Zhaod1b054d2009-03-20 11:25:11 +080078config PCI_IOV
79 bool "PCI IOV support"
80 depends on PCI
Joerg Roedeldb3c33c2011-09-27 15:57:13 +020081 select PCI_ATS
Yu Zhaod1b054d2009-03-20 11:25:11 +080082 help
83 I/O Virtualization is a PCI feature supported by some devices
84 which allows them to create virtual devices which share their
85 physical resources.
86
87 If unsure, say N.
Bjorn Helgaas204d49a2009-10-26 11:20:47 -060088
Joerg Roedelc320b972011-09-27 15:57:15 +020089config PCI_PRI
90 bool "PCI PRI support"
Joerg Roedelc54420d2011-10-30 16:35:07 +010091 depends on PCI
Joerg Roedelc320b972011-09-27 15:57:15 +020092 select PCI_ATS
93 help
94 PRI is the PCI Page Request Interface. It allows PCI devices that are
95 behind an IOMMU to recover from page faults.
96
97 If unsure, say N.
98
Joerg Roedel086ac112011-09-27 15:57:16 +020099config PCI_PASID
100 bool "PCI PASID support"
101 depends on PCI
102 select PCI_ATS
103 help
104 Process Address Space Identifiers (PASIDs) can be used by PCI devices
105 to access more than one IO address space at the same time. To make
106 use of this feature an IOMMU is required which also supports PASIDs.
107 Select this option if you have such an IOMMU and want to compile the
108 driver for it into your kernel.
109
110 If unsure, say N.
111
Bjorn Helgaas204d49a2009-10-26 11:20:47 -0600112config PCI_IOAPIC
Jan Beulichb95a7bd2011-12-06 07:49:30 +0000113 tristate "PCI IO-APIC hotplug support" if X86
Bjorn Helgaas204d49a2009-10-26 11:20:47 -0600114 depends on PCI
115 depends on ACPI
116 depends on HOTPLUG
Jan Beulichb95a7bd2011-12-06 07:49:30 +0000117 default !X86
Narendra_K@Dell.com60589892011-03-02 22:34:17 +0530118
Randy Dunlap8a226e02011-03-29 09:45:57 -0700119config PCI_LABEL
120 def_bool y if (DMI || ACPI)
121 select NLS
Thomas Petazzoni45361a42013-05-16 17:55:22 +0200122
123source "drivers/pci/host/Kconfig"