aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/Kconfig
diff options
context:
space:
mode:
authorJake Oshins <jakeo@microsoft.com>2016-02-16 21:56:23 +0000
committerBjorn Helgaas <bhelgaas@google.com>2016-02-16 16:56:12 -0600
commit4daace0d8ce851f8f8f91563c835e3000c954d5e (patch)
treef2b648fb723a02e4a5da2673d48b73c4077a419a /drivers/pci/Kconfig
parentPCI: Look up IRQ domain by fwnode_handle (diff)
downloadlinux-dev-4daace0d8ce851f8f8f91563c835e3000c954d5e.tar.xz
linux-dev-4daace0d8ce851f8f8f91563c835e3000c954d5e.zip
PCI: hv: Add paravirtual PCI front-end for Microsoft Hyper-V VMs
Add a new driver which exposes a root PCI bus whenever a PCI Express device is passed through to a guest VM under Hyper-V. The device can be single- or multi-function. The interrupts for the devices are managed by an IRQ domain, implemented within the driver. [bhelgaas: fold in race condition fix (http://lkml.kernel.org/r/1456340196-13717-1-git-send-email-jakeo@microsoft.com)] Signed-off-by: Jake Oshins <jakeo@microsoft.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/Kconfig')
-rw-r--r--drivers/pci/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
index 73de4efcbe6e..54a544109b7a 100644
--- a/drivers/pci/Kconfig
+++ b/drivers/pci/Kconfig
@@ -118,4 +118,11 @@ config PCI_LABEL
def_bool y if (DMI || ACPI)
select NLS
+config PCI_HYPERV
+ tristate "Hyper-V PCI Frontend"
+ depends on PCI && X86 && HYPERV && PCI_MSI && PCI_MSI_IRQ_DOMAIN && X86_64
+ help
+ The PCI device frontend driver allows the kernel to import arbitrary
+ PCI devices from a PCI backend to support PCI driver domains.
+
source "drivers/pci/host/Kconfig"