Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # PCI configuration |
| 3 | # |
| 4 | config PCI_MSI |
| 5 | bool "Message Signaled Interrupts (MSI and MSI-X)" |
| 6 | depends on PCI |
Jiang Liu | 38b6a1c | 2014-11-12 12:11:25 +0100 | [diff] [blame] | 7 | select GENERIC_MSI_IRQ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | help |
| 9 | This allows device drivers to enable MSI (Message Signaled |
| 10 | Interrupts). Message Signaled Interrupts enable a device to |
| 11 | generate an interrupt using an inbound Memory Write on its |
| 12 | PCI bus instead of asserting a device IRQ pin. |
| 13 | |
Matthew Wilcox | 309e57d | 2006-03-05 22:33:34 -0700 | [diff] [blame] | 14 | Use of PCI MSI interrupts can be disabled at kernel boot time |
| 15 | by using the 'pci=nomsi' option. This disables MSI for the |
| 16 | entire system. |
| 17 | |
Jesse Barnes | 3196180 | 2010-04-08 09:38:47 -0700 | [diff] [blame] | 18 | If you don't know what to do here, say Y. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | |
Jiang Liu | 3878eae | 2014-11-11 21:02:18 +0800 | [diff] [blame] | 20 | config PCI_MSI_IRQ_DOMAIN |
| 21 | bool |
| 22 | depends on PCI_MSI |
| 23 | select GENERIC_MSI_IRQ_DOMAIN |
| 24 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | config PCI_DEBUG |
| 26 | bool "PCI Debugging" |
| 27 | depends on PCI && DEBUG_KERNEL |
| 28 | help |
| 29 | Say Y here if you want the PCI core to produce a bunch of debug |
| 30 | messages to the system log. Select this if you are having a |
| 31 | problem with PCI support and want to see more of what is going on. |
| 32 | |
| 33 | When in doubt, say N. |
| 34 | |
Yinghai Lu | b07f2eb | 2012-02-23 19:23:32 -0800 | [diff] [blame] | 35 | config PCI_REALLOC_ENABLE_AUTO |
| 36 | bool "Enable PCI resource re-allocation detection" |
| 37 | depends on PCI |
| 38 | help |
| 39 | Say Y here if you want the PCI core to detect if PCI resource |
| 40 | re-allocation needs to be enabled. You can always use pci=realloc=on |
| 41 | or pci=realloc=off to override it. Note this feature is a no-op |
| 42 | unless PCI_IOV support is also enabled; in that case it will |
| 43 | automatically re-allocate PCI resources if SR-IOV BARs have not |
| 44 | been allocated by the BIOS. |
| 45 | |
| 46 | When in doubt, say N. |
| 47 | |
Chris Wright | c70e0d9 | 2008-11-25 21:17:13 -0800 | [diff] [blame] | 48 | config PCI_STUB |
| 49 | tristate "PCI Stub driver" |
| 50 | depends on PCI |
| 51 | help |
| 52 | Say Y or M here if you want be able to reserve a PCI device |
| 53 | when it is going to be assigned to a guest operating system. |
| 54 | |
| 55 | When in doubt, say N. |
| 56 | |
Ryan Wilson | 956a920 | 2010-08-02 21:31:05 -0400 | [diff] [blame] | 57 | config XEN_PCIDEV_FRONTEND |
| 58 | tristate "Xen PCI Frontend" |
| 59 | depends on PCI && X86 && XEN |
Ryan Wilson | 956a920 | 2010-08-02 21:31:05 -0400 | [diff] [blame] | 60 | select PCI_XEN |
Konrad Rzeszutek Wilk | fce263c | 2010-12-10 22:33:15 -0500 | [diff] [blame] | 61 | select XEN_XENBUS_FRONTEND |
Ryan Wilson | 956a920 | 2010-08-02 21:31:05 -0400 | [diff] [blame] | 62 | default y |
| 63 | help |
| 64 | The PCI device frontend driver allows the kernel to import arbitrary |
| 65 | PCI devices from a PCI backend to support PCI driver domains. |
| 66 | |
Eric W. Biederman | 8b955b0 | 2006-10-04 02:16:55 -0700 | [diff] [blame] | 67 | config HT_IRQ |
| 68 | bool "Interrupts on hypertransport devices" |
| 69 | default y |
Jiang Liu | 2f60002 | 2014-10-27 16:12:06 +0800 | [diff] [blame] | 70 | depends on PCI && X86_LOCAL_APIC |
Eric W. Biederman | 8b955b0 | 2006-10-04 02:16:55 -0700 | [diff] [blame] | 71 | help |
| 72 | This allows native hypertransport devices to use interrupts. |
| 73 | |
| 74 | If unsure say Y. |
Yu Zhao | d1b054d | 2009-03-20 11:25:11 +0800 | [diff] [blame] | 75 | |
Joerg Roedel | db3c33c | 2011-09-27 15:57:13 +0200 | [diff] [blame] | 76 | config PCI_ATS |
| 77 | bool |
| 78 | |
Yu Zhao | d1b054d | 2009-03-20 11:25:11 +0800 | [diff] [blame] | 79 | config PCI_IOV |
| 80 | bool "PCI IOV support" |
| 81 | depends on PCI |
Joerg Roedel | db3c33c | 2011-09-27 15:57:13 +0200 | [diff] [blame] | 82 | select PCI_ATS |
Yu Zhao | d1b054d | 2009-03-20 11:25:11 +0800 | [diff] [blame] | 83 | help |
| 84 | I/O Virtualization is a PCI feature supported by some devices |
| 85 | which allows them to create virtual devices which share their |
| 86 | physical resources. |
| 87 | |
| 88 | If unsure, say N. |
Bjorn Helgaas | 204d49a | 2009-10-26 11:20:47 -0600 | [diff] [blame] | 89 | |
Joerg Roedel | c320b97 | 2011-09-27 15:57:15 +0200 | [diff] [blame] | 90 | config PCI_PRI |
| 91 | bool "PCI PRI support" |
Joerg Roedel | c54420d | 2011-10-30 16:35:07 +0100 | [diff] [blame] | 92 | depends on PCI |
Joerg Roedel | c320b97 | 2011-09-27 15:57:15 +0200 | [diff] [blame] | 93 | select PCI_ATS |
| 94 | help |
| 95 | PRI is the PCI Page Request Interface. It allows PCI devices that are |
| 96 | behind an IOMMU to recover from page faults. |
| 97 | |
| 98 | If unsure, say N. |
| 99 | |
Joerg Roedel | 086ac11 | 2011-09-27 15:57:16 +0200 | [diff] [blame] | 100 | config PCI_PASID |
| 101 | bool "PCI PASID support" |
| 102 | depends on PCI |
| 103 | select PCI_ATS |
| 104 | help |
| 105 | Process Address Space Identifiers (PASIDs) can be used by PCI devices |
| 106 | to access more than one IO address space at the same time. To make |
| 107 | use of this feature an IOMMU is required which also supports PASIDs. |
| 108 | Select this option if you have such an IOMMU and want to compile the |
| 109 | driver for it into your kernel. |
| 110 | |
| 111 | If unsure, say N. |
| 112 | |
Randy Dunlap | 8a226e0 | 2011-03-29 09:45:57 -0700 | [diff] [blame] | 113 | config PCI_LABEL |
| 114 | def_bool y if (DMI || ACPI) |
| 115 | select NLS |
Thomas Petazzoni | 45361a4 | 2013-05-16 17:55:22 +0200 | [diff] [blame] | 116 | |
| 117 | source "drivers/pci/host/Kconfig" |