Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752413Ab2E3Est (ORCPT ); Wed, 30 May 2012 00:48:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10017 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751948Ab2E3Esp (ORCPT ); Wed, 30 May 2012 00:48:45 -0400 From: Alex Williamson Subject: [PATCH 0/5] PCI: Prep for VFIO and IOMMU Groups To: bhelgaas@google.com, linux-pci@vger.kernel.org Cc: benh@kernel.crashing.org, aik@ozlabs.ru, david@gibson.dropbear.id.au, joerg.roedel@amd.com, dwmw2@infradead.org, konrad.wilk@oracle.com, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, ddutile@redhat.com, alex.williamson@redhat.com Date: Tue, 29 May 2012 22:48:25 -0600 Message-ID: <20120530043142.1164.63415.stgit@bling.home> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1968 Lines: 48 These are the PCI related patches from the previously submitted v2 IOMMU Groups + VFIO series. I've updated them with Don's comments and split them off on their own so that we can hopefully make some progress getting these in. Patches are against 20120529 linux-next tree. Patches 1 & 2 provide DMA quirking and ACS checking which will be used by IOMMU drivers supporting IOMMU groups. Patch 3 enables the set of pci user config access functions to be called from other modules, which will be used by VFIO-pci. Patch 4 enables a common translation of pcibios errors into errno for returning to userspace, also to be used by VFIO-pci. Patch 5 adds additional PCI register definitions so we can more easily parse config space for devices in VFIO-pci. These patches, as well as IOMMU group support and VFIO can be found in git here: git://github.com/awilliam/linux-vfio.git (iommu-group-vfio-next-20120529) Please consider these for 3.5, but I'll settle for any kind of next branch. Thanks, Alex --- Alex Williamson (5): pci: Misc pci_reg additions pci: Create common pcibios_err_to_errno pci: export pci_user functions for use by other drivers pci: Add ACS validation utility pci: Add PCI DMA source ID quirk drivers/pci/access.c | 6 +- drivers/pci/pci.c | 68 ++++++++++++++++++++ drivers/pci/pci.h | 7 -- drivers/pci/quirks.c | 69 +++++++++++++++++++++ drivers/xen/xen-pciback/conf_space.c | 6 +- include/linux/pci.h | 49 ++++++++++++++- include/linux/pci_regs.h | 113 ++++++++++++++++++++++++++++++---- 7 files changed, 293 insertions(+), 25 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/