Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # PCI configuration |
| 3 | # |
Yinghai Lu | 3a9ad0b | 2015-05-27 17:23:51 -0700 | [diff] [blame] | 4 | config PCI_BUS_ADDR_T_64BIT |
Helge Deller | e02a653 | 2015-09-02 18:17:29 +0200 | [diff] [blame] | 5 | def_bool y if (ARCH_DMA_ADDR_T_64BIT || 64BIT) |
Yinghai Lu | 3a9ad0b | 2015-05-27 17:23:51 -0700 | [diff] [blame] | 6 | depends on PCI |
| 7 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | config PCI_MSI |
| 9 | bool "Message Signaled Interrupts (MSI and MSI-X)" |
| 10 | depends on PCI |
Jiang Liu | 38b6a1c | 2014-11-12 12:11:25 +0100 | [diff] [blame] | 11 | select GENERIC_MSI_IRQ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | 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 Wilcox | 309e57d | 2006-03-05 22:33:34 -0700 | [diff] [blame] | 18 | 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 Barnes | 3196180 | 2010-04-08 09:38:47 -0700 | [diff] [blame] | 22 | If you don't know what to do here, say Y. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | |
Jiang Liu | 3878eae | 2014-11-11 21:02:18 +0800 | [diff] [blame] | 24 | config PCI_MSI_IRQ_DOMAIN |
| 25 | bool |
| 26 | depends on PCI_MSI |
| 27 | select GENERIC_MSI_IRQ_DOMAIN |
| 28 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | config 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 Lu | b07f2eb | 2012-02-23 19:23:32 -0800 | [diff] [blame] | 39 | config 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 Wright | c70e0d9 | 2008-11-25 21:17:13 -0800 | [diff] [blame] | 52 | config 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 Wilson | 956a920 | 2010-08-02 21:31:05 -0400 | [diff] [blame] | 61 | config XEN_PCIDEV_FRONTEND |
| 62 | tristate "Xen PCI Frontend" |
| 63 | depends on PCI && X86 && XEN |
Ryan Wilson | 956a920 | 2010-08-02 21:31:05 -0400 | [diff] [blame] | 64 | select PCI_XEN |
Konrad Rzeszutek Wilk | fce263c | 2010-12-10 22:33:15 -0500 | [diff] [blame] | 65 | select XEN_XENBUS_FRONTEND |
Ryan Wilson | 956a920 | 2010-08-02 21:31:05 -0400 | [diff] [blame] | 66 | 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. Biederman | 8b955b0 | 2006-10-04 02:16:55 -0700 | [diff] [blame] | 71 | config HT_IRQ |
| 72 | bool "Interrupts on hypertransport devices" |
| 73 | default y |
Jiang Liu | 2f60002 | 2014-10-27 16:12:06 +0800 | [diff] [blame] | 74 | depends on PCI && X86_LOCAL_APIC |
Eric W. Biederman | 8b955b0 | 2006-10-04 02:16:55 -0700 | [diff] [blame] | 75 | help |
| 76 | This allows native hypertransport devices to use interrupts. |
| 77 | |
| 78 | If unsure say Y. |
Yu Zhao | d1b054d | 2009-03-20 11:25:11 +0800 | [diff] [blame] | 79 | |
Joerg Roedel | db3c33c | 2011-09-27 15:57:13 +0200 | [diff] [blame] | 80 | config PCI_ATS |
| 81 | bool |
| 82 | |
Yu Zhao | d1b054d | 2009-03-20 11:25:11 +0800 | [diff] [blame] | 83 | config PCI_IOV |
| 84 | bool "PCI IOV support" |
| 85 | depends on PCI |
Joerg Roedel | db3c33c | 2011-09-27 15:57:13 +0200 | [diff] [blame] | 86 | select PCI_ATS |
Yu Zhao | d1b054d | 2009-03-20 11:25:11 +0800 | [diff] [blame] | 87 | 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 Helgaas | 204d49a | 2009-10-26 11:20:47 -0600 | [diff] [blame] | 93 | |
Joerg Roedel | c320b97 | 2011-09-27 15:57:15 +0200 | [diff] [blame] | 94 | config PCI_PRI |
| 95 | bool "PCI PRI support" |
Joerg Roedel | c54420d | 2011-10-30 16:35:07 +0100 | [diff] [blame] | 96 | depends on PCI |
Joerg Roedel | c320b97 | 2011-09-27 15:57:15 +0200 | [diff] [blame] | 97 | 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 Roedel | 086ac11 | 2011-09-27 15:57:16 +0200 | [diff] [blame] | 104 | config 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 Dunlap | 8a226e0 | 2011-03-29 09:45:57 -0700 | [diff] [blame] | 117 | config PCI_LABEL |
| 118 | def_bool y if (DMI || ACPI) |
| 119 | select NLS |
Thomas Petazzoni | 45361a4 | 2013-05-16 17:55:22 +0200 | [diff] [blame] | 120 | |
Jake Oshins | 4daace0 | 2016-02-16 21:56:23 +0000 | [diff] [blame^] | 121 | config PCI_HYPERV |
| 122 | tristate "Hyper-V PCI Frontend" |
| 123 | depends on PCI && X86 && HYPERV && PCI_MSI && PCI_MSI_IRQ_DOMAIN && X86_64 |
| 124 | help |
| 125 | The PCI device frontend driver allows the kernel to import arbitrary |
| 126 | PCI devices from a PCI backend to support PCI driver domains. |
| 127 | |
Thomas Petazzoni | 45361a4 | 2013-05-16 17:55:22 +0200 | [diff] [blame] | 128 | source "drivers/pci/host/Kconfig" |