blob: 81944fb731165c9a800c92ae1952f281778a73b1 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# PCI configuration
3#
Dan Williamsf282b972007-04-18 18:46:20 +10004config ARCH_SUPPORTS_MSI
5 bool
Dan Williamsf282b972007-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 Williamsf282b972007-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
Ryan Wilson956a9202010-08-02 21:31:05 -040058 select PCI_XEN
Konrad Rzeszutek Wilkfce263c12010-12-10 22:33:15 -050059 select XEN_XENBUS_FRONTEND
Ryan Wilson956a9202010-08-02 21:31:05 -040060 default y
61 help
62 The PCI device frontend driver allows the kernel to import arbitrary
63 PCI devices from a PCI backend to support PCI driver domains.
64
Eric W. Biederman8b955b02006-10-04 02:16:55 -070065config HT_IRQ
66 bool "Interrupts on hypertransport devices"
67 default y
Adrian Bunkfbab41c2006-10-11 01:22:04 -070068 depends on PCI && X86_LOCAL_APIC && X86_IO_APIC
Eric W. Biederman8b955b02006-10-04 02:16:55 -070069 help
70 This allows native hypertransport devices to use interrupts.
71
72 If unsure say Y.
Yu Zhaod1b054d2009-03-20 11:25:11 +080073
Joerg Roedeldb3c33c2011-09-27 15:57:13 +020074config PCI_ATS
75 bool
76
Yu Zhaod1b054d2009-03-20 11:25:11 +080077config PCI_IOV
78 bool "PCI IOV support"
79 depends on PCI
Joerg Roedeldb3c33c2011-09-27 15:57:13 +020080 select PCI_ATS
Yu Zhaod1b054d2009-03-20 11:25:11 +080081 help
82 I/O Virtualization is a PCI feature supported by some devices
83 which allows them to create virtual devices which share their
84 physical resources.
85
86 If unsure, say N.
Bjorn Helgaas204d49a2009-10-26 11:20:47 -060087
Joerg Roedelc320b972011-09-27 15:57:15 +020088config PCI_PRI
89 bool "PCI PRI support"
Joerg Roedelc54420d2011-10-30 16:35:07 +010090 depends on PCI
Joerg Roedelc320b972011-09-27 15:57:15 +020091 select PCI_ATS
92 help
93 PRI is the PCI Page Request Interface. It allows PCI devices that are
94 behind an IOMMU to recover from page faults.
95
96 If unsure, say N.
97
Joerg Roedel086ac112011-09-27 15:57:16 +020098config PCI_PASID
99 bool "PCI PASID support"
100 depends on PCI
101 select PCI_ATS
102 help
103 Process Address Space Identifiers (PASIDs) can be used by PCI devices
104 to access more than one IO address space at the same time. To make
105 use of this feature an IOMMU is required which also supports PASIDs.
106 Select this option if you have such an IOMMU and want to compile the
107 driver for it into your kernel.
108
109 If unsure, say N.
110
Bjorn Helgaas204d49a2009-10-26 11:20:47 -0600111config PCI_IOAPIC
Jan Beulichb95a7bd2011-12-06 07:49:30 +0000112 tristate "PCI IO-APIC hotplug support" if X86
Bjorn Helgaas204d49a2009-10-26 11:20:47 -0600113 depends on PCI
114 depends on ACPI
Jan Beulichb95a7bd2011-12-06 07:49:30 +0000115 default !X86
Narendra_K@Dell.com60589892011-03-02 22:34:17 +0530116
Randy Dunlap8a226e02011-03-29 09:45:57 -0700117config PCI_LABEL
118 def_bool y if (DMI || ACPI)
119 select NLS
Thomas Petazzoni45361a42013-05-16 17:55:22 +0200120
121source "drivers/pci/host/Kconfig"