From: Joerg Roedel Subject: [PATCH 0/9][RFC] stackable dma_ops for x86 Date: Mon, 22 Sep 2008 20:21:12 +0200 Message-ID: <1222107681-8185-1-git-send-email-joerg.roedel@amd.com> Mime-Version: 1.0 Content-Type: text/plain Cc: David Woodhouse , Muli Ben-Yehuda , Amit Shah , Ingo Molnar , FUJITA Tomonori To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, iommu@lists.linux-foundation.org Return-path: Received: from outbound-wa4.frontbridge.com ([216.32.181.16]:30598 "EHLO WA4EHSOBE005.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752109AbYIVSV2 (ORCPT ); Mon, 22 Sep 2008 14:21:28 -0400 Sender: kvm-owner@vger.kernel.org List-ID: Hi, this patch series implements stackable dma_ops on x86. This is useful to be able to fall back to a different dma_ops implementation if one can not handle a particular device (as necessary for example with paravirtualized device passthrough or if a hardware IOMMU only handles a subset of available devices). The patch series is split to change the different iommu implementations in different patches. This should make it easier for the specific maintainers to review the part that changes their code. Thanks for review and comments, Joerg diffstat: arch/x86/kernel/amd_iommu.c | 5 ++- arch/x86/kernel/pci-calgary_64.c | 21 ++++++------ arch/x86/kernel/pci-dma.c | 63 +++++++++++++++++++++++++++++++++++++- arch/x86/kernel/pci-gart_64.c | 9 +++++ arch/x86/kernel/pci-nommu.c | 12 +++++++ arch/x86/kernel/pci-swiotlb_64.c | 16 +++++++++- drivers/pci/intel-iommu.c | 8 +++++ include/asm-x86/device.h | 6 ++-- include/asm-x86/dma-mapping.h | 43 +++++++++++++++++++++---- include/asm-x86/swiotlb.h | 1 + 10 files changed, 160 insertions(+), 24 deletions(-)