]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commit
PCI: pass ARI and SR-IOV device information to the hypervisor
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 19 Mar 2009 10:21:46 +0000 (10:21 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 19 Mar 2009 10:21:46 +0000 (10:21 +0000)
commitb3c08778794c6e2456ecec99fcf2c463e3265042
treee29c2516f7844afcb79bd7c30fca63fc96caced2
parentb71e38c2224441c1dc63ea84ffcb76d474b43d7c
PCI: pass ARI and SR-IOV device information to the hypervisor

PCIe Alternative Routing-ID Interpretation (ARI) ECN defines the Extended
Function -- a function whose function number is greater than 7 within an
ARI Device. Intel VT-d spec 1.2 section 8.3.2 specifies that the Extended
Function is under the scope of the same remapping unit as the traditional
function. The hypervisor needs to know if a function is Extended
Function so it can find proper DMAR for it.

And section 8.3.3 specifies that the SR-IOV Virtual Function is under the
scope of the same remapping unit as the Physical Function. The hypervisor
also needs to know if a function is the Virtual Function and which
Physical Function it's associated with for same reason.

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
drivers/xen/core/pci.c
include/xen/interface/physdev.h