[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 0/2] VT-d: pci and source-id cleanup
This patchset does cleanup on pci code for VT-d and interrupt remapping source-id code, and also fixes an issue of MSI source-id. The patches are as follows: [1/2 PATCH]: VT-d pci code cleanup moves the pci code from iommu.c to pci.c. Instead of setup pci hierarchy in array bus2bridge in iommu_context_mapping, use scan_pci_devices once to add all existed PCI devices in system to alldevs_list and setup pci hierarchy in array bus2bridge. In addition, implement find_upstream_bridge to find the upstream PCIe-to-PCI/PCIX bridge or PCI legacy bridge for a PCI device, therefore it's cleanly to handle context map/unmap for PCI device, even for source-id setting. [2/2 PATCH]: fix MSI source-id of interrupt remapping fixes an issue of MSI source-id. Currently MSI source-ids are all set device bdf. It's incorrect for PCI (not PCIe) devices. The patch set correct requester-ids of MSI to source-id. And also, wrap functions to clean ioapic source-id. Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |