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/7] PCI device register/unregister + pci_dev cleanup

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 0/7] PCI device register/unregister + pci_dev cleanups
From: Espen Skoglund <espen.skoglund@xxxxxxxxxxxxx>
Date: Fri, 4 Jul 2008 17:31:39 +0100
Delivery-date: Fri, 04 Jul 2008 09:32:41 -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
Here's a set of patches that adds a pci device register/unregister
hypercall to Xen.  The patchsets add support of SR-IOV, ARI, and
hot-pluggable PCI devices.  There's also a bunch of patches that cleans
up some of the Xen internal handling of pci_dev structures.

The  first three patches only deals with cleanups of pci_dev structure
handling.

  1  - xen: Move pci_dev lists from hvm to arch_domain
  2  - xen: Restructure VT-d device scope and PCI bridge handling
  3  - xen: Add management and locking of PCI device structures

The next two patches add the actual hypercall.

  4  - xen: Add hypercall for adding and removing PCI devices
  5  - xenlinux: Add hypercall for adding and removing PCI devices

The next patch comes in two options.

  6a - xenlinux: Option 1: Hook Linux's PCI probe and remove callbacks
  6b - xenlinux: Option 2: Add PCI device add/remove guards to Linux

The final patch removes the probing of the PCI bus in the VT-d code.

  7  - Remove PCI device enumaration in VT-d code

I have not tested the code with AMD machines.  I've just added dummy
callbacks for the AMD IOMMU.  With these patchsets the PCI device
parsing is pretty much taken completely out of Xen itself.

        eSk


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel