blob: 73de4efcbe6edc85c8f3fb54e0c925a7ab30492b [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# PCI configuration
3#
Yinghai Lu3a9ad0b2015-05-27 17:23:51 -07004config PCI_BUS_ADDR_T_64BIT
Helge Dellere02a6532015-09-02 18:17:29 +02005 def_bool y if (ARCH_DMA_ADDR_T_64BIT || 64BIT)
Yinghai Lu3a9ad0b2015-05-27 17:23:51 -07006 depends on PCI
7
Linus Torvalds1da177e2005-04-16 15:20:36 -07008config PCI_MSI
9 bool "Message Signaled Interrupts (MSI and MSI-X)"
10 depends on PCI
Jiang Liu38b6a1c2014-11-12 12:11:25 +010011 select GENERIC_MSI_IRQ
Linus Torvalds1da177e2005-04-16 15:20:36 -070012 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
Matthew Wilcox309e57d2006-03-05 22:33:34 -070018 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
Jesse Barnes31961802010-04-08 09:38:47 -070022 If you don't know what to do here, say Y.
Linus Torvalds1da177e2005-04-16 15:20:36 -070023
Jiang Liu3878eae2014-11-11 21:02:18 +080024config PCI_MSI_IRQ_DOMAIN
25 bool
26 depends on PCI_MSI
27 select GENERIC_MSI_IRQ_DOMAIN
28
Linus Torvalds1da177e2005-04-16 15:20:36 -070029config PCI_DEBUG
30 bool "PCI Debugging"
31 depends on PCI && DEBUG_KERNEL
32 help
33 Say Y here if you want the PCI core to produce a bunch of debug
34 messages to the system log. Select this if you are having a
35 problem with PCI support and want to see more of what is going on.
36
37 When in doubt, say N.
38
Yinghai Lub07f2eb2012-02-23 19:23:32 -080039config PCI_REALLOC_ENABLE_AUTO
40 bool "Enable PCI resource re-allocation detection"
41 depends on PCI
42 help
43 Say Y here if you want the PCI core to detect if PCI resource
44 re-allocation needs to be enabled. You can always use pci=realloc=on
45 or pci=realloc=off to override it. Note this feature is a no-op
46 unless PCI_IOV support is also enabled; in that case it will
47 automatically re-allocate PCI resources if SR-IOV BARs have not
48 been allocated by the BIOS.
49
50 When in doubt, say N.
51
Chris Wrightc70e0d92008-11-25 21:17:13 -080052config PCI_STUB
53 tristate "PCI Stub driver"
54 depends on PCI
55 help
56 Say Y or M here if you want be able to reserve a PCI device
57 when it is going to be assigned to a guest operating system.
58
59 When in doubt, say N.
60
Ryan Wilson956a9202010-08-02 21:31:05 -040061config XEN_PCIDEV_FRONTEND
62 tristate "Xen PCI Frontend"
63 depends on PCI && X86 && XEN
Ryan Wilson956a9202010-08-02 21:31:05 -040064 select PCI_XEN
Konrad Rzeszutek Wilkfce263c2010-12-10 22:33:15 -050065 select XEN_XENBUS_FRONTEND
Ryan Wilson956a9202010-08-02 21:31:05 -040066 default y
67 help
68 The PCI device frontend driver allows the kernel to import arbitrary
69 PCI devices from a PCI backend to support PCI driver domains.
70
Eric W. Biederman8b955b02006-10-04 02:16:55 -070071config HT_IRQ
72 bool "Interrupts on hypertransport devices"
73 default y
Jiang Liu2f600022014-10-27 16:12:06 +080074 depends on PCI && X86_LOCAL_APIC
Eric W. Biederman8b955b02006-10-04 02:16:55 -070075 help
76 This allows native hypertransport devices to use interrupts.
77
78 If unsure say Y.
Yu Zhaod1b054d2009-03-20 11:25:11 +080079
Joerg Roedeldb3c33c2011-09-27 15:57:13 +020080config PCI_ATS
81 bool
82
Yu Zhaod1b054d2009-03-20 11:25:11 +080083config PCI_IOV
84 bool "PCI IOV support"
85 depends on PCI
Joerg Roedeldb3c33c2011-09-27 15:57:13 +020086 select PCI_ATS
Yu Zhaod1b054d2009-03-20 11:25:11 +080087 help
88 I/O Virtualization is a PCI feature supported by some devices
89 which allows them to create virtual devices which share their
90 physical resources.
91
92 If unsure, say N.
Bjorn Helgaas204d49a2009-10-26 11:20:47 -060093
Joerg Roedelc320b972011-09-27 15:57:15 +020094config PCI_PRI
95 bool "PCI PRI support"
Joerg Roedelc54420d2011-10-30 16:35:07 +010096 depends on PCI
Joerg Roedelc320b972011-09-27 15:57:15 +020097 select PCI_ATS
98 help
99 PRI is the PCI Page Request Interface. It allows PCI devices that are
100 behind an IOMMU to recover from page faults.
101
102 If unsure, say N.
103
Joerg Roedel086ac112011-09-27 15:57:16 +0200104config PCI_PASID
105 bool "PCI PASID support"
106 depends on PCI
107 select PCI_ATS
108 help
109 Process Address Space Identifiers (PASIDs) can be used by PCI devices
110 to access more than one IO address space at the same time. To make
111 use of this feature an IOMMU is required which also supports PASIDs.
112 Select this option if you have such an IOMMU and want to compile the
113 driver for it into your kernel.
114
115 If unsure, say N.
116
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"