[PATCH RESEND v3 0/3] PCI: hv: New paravirtual PCI front-end driver

From: jakeo
Date: Tue Feb 16 2016 - 16:57:00 EST


From: Jake Oshins <jakeo@xxxxxxxxxxxxx>

This version incorporates more feedback from Bjorn Helgaas. Most notably,
I removed some debugging code and I consistently used architectural
means for getting the PCI domain instead of just reaching into the sysdata.

This is a resend of patches that enable PCI pass-through within Hyper-V
VMs. This patch series only includes those which were deemed appropriate
for being incorportated via the PCI tree. All other patches in previous
patch series have gone through other trees and are now in mainline.

The first two patches modify PCI so that new root PCI buses can be marked with
an associated fwnode_handle, and so that root PCI buses can look up their
associated IRQ domain by that handle.

The last patch, introduces a new driver, hv_pcifront, which exposes root PCI
buses in a Hyper-V VM. These root PCI buses expose real PCIe devices, or PCI
Virtual Functions.

Jake Oshins (3):
PCI: Add fwnode_handle to pci_sysdata
PCI: irqdomain: Look up IRQ domain by fwnode_handle
PCI: hv: New paravirtual PCI front-end for Hyper-V VMs

MAINTAINERS | 1 +
arch/x86/include/asm/pci.h | 15 +
drivers/pci/Kconfig | 7 +
drivers/pci/host/Makefile | 1 +
drivers/pci/host/pci-hyperv.c | 2359 +++++++++++++++++++++++++++++++++++++++++
drivers/pci/probe.c | 15 +
include/linux/pci.h | 4 +
7 files changed, 2402 insertions(+)
create mode 100644 drivers/pci/host/pci-hyperv.c

--
1.9.1