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] Xen SR-IOV support initiation

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Xen SR-IOV support initiation
From: Yu Zhao <yu.zhao@xxxxxxxxx>
Date: Fri, 13 Mar 2009 11:29:15 +0800
Cc: keir.fraser@xxxxxxxxxxxxx
Delivery-date: Thu, 12 Mar 2009 20:28:57 -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
User-agent: Mutt/1.5.18 (2008-05-17)
Greetings,

Following commits from the upstream kernel are backported to the Domain0
kernel as the first step of enabling Xen SR-IOV. Hopefully the SR-IOV core
patches for the upstream kernel would be applied on the PCI subsystem tree
in the next several days. Will backport them immediately they are in-tree
so Xen 3.4 release could have the SR-IOV support.

  PCI: define PCI resource names in an 'enum'
  PCI: remove unnecessary condition check in pci_restore_bars()
  PCI: add a new function to map BAR offsets
  PCI: rewrite PCI BAR reading code
  PCI: handle 64-bit resources better on 32-bit machines
  PCI: fix 64-vbit prefetchable memory resource BARs
  PCI: export __pci_read_base()
  PCI: support PCIe ARI capability
  PCI: fix ARI code to be compatible with mixed ARI/non-ARI systems
  PCI: enhance pci_ari_enabled()
  PCI: allow pci_alloc_child_bus() to handle a NULL bridge
  PCI: remove unnecessary arg of pci_update_resource()

  drivers/pci/pci-sysfs.c  |    4
  drivers/pci/pci.c        |  104 +++++++++++++------
  drivers/pci/pci.h        |   29 ++++-
  drivers/pci/probe.c      |  252 
++++++++++++++++++++++++++++-------------------
  drivers/pci/proc.c       |    7 -
  drivers/pci/quirks.c     |    2
  drivers/pci/setup-res.c  |   20 +--
  include/linux/pci.h      |   40 ++++---
  include/linux/pci_regs.h |   15 ++
  9 files changed, 310 insertions(+), 163 deletions(-)

---

The SR-IOV specification (requires membership) can be found at:
  * 
http://www.pcisig.com/members/downloads/specifications/iov/sr-iov1.0_11Sep07.pdf

The latest SR-IOV core patches for the upstream kernel are:
  PCI: initialize and release SR-IOV capability
  * http://patchwork.kernel.org/patch/11062/
  PCI: restore saved SR-IOV state
  * http://patchwork.kernel.org/patch/11063/
  PCI: reserve bus range for SR-IOV device
  * http://patchwork.kernel.org/patch/11064/
  PCI: centralize device setup code
  * http://patchwork.kernel.org/patch/11065/
  PCI: add SR-IOV API for Physical Function driver
  * http://patchwork.kernel.org/patch/11070/
  PCI: handle SR-IOV Virtual Function Migration
  * http://patchwork.kernel.org/patch/11066/
  PCI: document SR-IOV sysfs entries
  * http://patchwork.kernel.org/patch/11068/
  PCI: manual for SR-IOV user and driver developer
  * http://patchwork.kernel.org/patch/11069/

Intel 82576 Gigabit Ethernet Controller datasheet is available at:
  * http://download.intel.com/design/network/datashts/82576_Datasheet.pdf

The patches to enable the SR-IOV capability of Intel 82576 NIC are
available at (a.k.a Physical Function driver):
  * http://patchwork.kernel.org/patch/8063/
  * http://patchwork.kernel.org/patch/8064/
  * http://patchwork.kernel.org/patch/8065/
  * http://patchwork.kernel.org/patch/8066/

And the driver for Intel 82576 Virtual Function is available at:
  * http://patchwork.kernel.org/patch/11029/
  * http://patchwork.kernel.org/patch/11028/

Attachment: 1.patch
Description: Text document

Attachment: 2.patch
Description: Text document

Attachment: 3.patch
Description: Text document

Attachment: 4.patch
Description: Text document

Attachment: 5.patch
Description: Text document

Attachment: 6.patch
Description: Text document

Attachment: 7.patch
Description: Text document

Attachment: 8.patch
Description: Text document

Attachment: 9.patch
Description: Text document

Attachment: 10.patch
Description: Text document

Attachment: 11.patch
Description: Text document

Attachment: 12.patch
Description: Text document

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