From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754169AbZBQD3k (ORCPT ); Mon, 16 Feb 2009 22:29:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751270AbZBQD3U (ORCPT ); Mon, 16 Feb 2009 22:29:20 -0500 Received: from mga03.intel.com ([143.182.124.21]:14318 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750859AbZBQD3T (ORCPT ); Mon, 16 Feb 2009 22:29:19 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.38,220,1233561600"; d="scan'208";a="111302107" From: Yu Zhao To: jbarnes@virtuousgeek.org Cc: linux-pci@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Yu Zhao Subject: [PATCH v9 0/7] PCI: Linux kernel SR-IOV support Date: Mon, 16 Feb 2009 21:28:33 +0800 Message-Id: <1234790920-1810-1-git-send-email-yu.zhao@intel.com> X-Mailer: git-send-email 1.6.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Greetings, Following patches are intended to support SR-IOV capability in the Linux kernel. With these patches, people can turn a PCI device with the capability into multiple ones from software perspective, which will benefit KVM and achieve other purposes such as QoS, security, and etc. SR-IOV specification can be found at: http://www.pcisig.com/members/downloads/specifications/iov/sr-iov1.0_11Sep07.pdf (it requires membership.) Devices that support SR-IOV are available from following vendors: http://download.intel.com/design/network/ProdBrf/320025.pdf http://www.myri.com/vlsi/Lanai_Z8ES_Datasheet.pdf http://www.neterion.com/products/pdfs/X3100ProductBrief.pdf Physical Function driver for Intel 82576 NIC (based on drivers/net/igb/) will come soon. Major changes from v8 to v9: 1, put a might_sleep() into SR-IOV API which sleeps (Andi Kleen) 2, block user config accesses before clearing VF Enable bit (Matthew Wilcox) Yu Zhao (7): PCI: initialize and release SR-IOV capability PCI: restore saved SR-IOV state PCI: reserve bus range for SR-IOV device PCI: add SR-IOV API for Physical Function driver PCI: handle SR-IOV Virtual Function Migration PCI: document SR-IOV sysfs entries PCI: manual for SR-IOV user and driver developer Documentation/ABI/testing/sysfs-bus-pci | 27 ++ Documentation/DocBook/kernel-api.tmpl | 1 + Documentation/PCI/pci-iov-howto.txt | 99 +++++ drivers/pci/Kconfig | 13 + drivers/pci/Makefile | 3 + drivers/pci/iov.c | 707 +++++++++++++++++++++++++++++++ drivers/pci/pci.c | 8 + drivers/pci/pci.h | 53 +++ drivers/pci/probe.c | 7 + include/linux/pci.h | 28 ++ include/linux/pci_regs.h | 33 ++ 11 files changed, 979 insertions(+), 0 deletions(-) create mode 100644 Documentation/PCI/pci-iov-howto.txt create mode 100644 drivers/pci/iov.c