WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 0/2] VT-d: pci and source-id cleanup

To: 'Keir Fraser' <Keir.Fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 0/2] VT-d: pci and source-id cleanup
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Fri, 19 Jun 2009 13:50:15 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 18 Jun 2009 22:53:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcnwodHlvq7x63J5Qkefoq5GUQ6bJw==
Thread-topic: [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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 0/2] VT-d: pci and source-id cleanup, Han, Weidong <=