lkml.org 
[lkml]   [2008]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [osrc-patches] [PATCH 0/9] Factor VT-d KVM functions into a generic API
    On Thu, Nov 27, 2008 at 04:40:45PM +0100, Joerg Roedel wrote:
    > Hi,
    >
    > this patch series makes the current KVM device passthrough code generic
    > enough so that other IOMMU implementation can also plug into this code.
    > It works by factoring the functions Vt-d code exports to KVM into a
    > generic interface which allows different backends.
    >
    > This a basic implementation of a generic interface. It can and should be
    > improved later to support more types of hardware IOMMUs then VT-d and
    > AMD IOMMU.
    >
    > Since I have no VT-d hardware available these patches are only compile
    > tested for now.
    >
    > Please review, comment and test these patches.

    For testing, the patches can be pulled against avi/master from

    git://git.kernel.org/pub/scm/linux/kernel/git/joro/linux-2.6-iommu.git iommu-api

    >
    > Thanks,
    >
    > Joerg
    >
    > diffstat:
    >
    > arch/ia64/Kconfig | 3 +
    > arch/ia64/kvm/Makefile | 2 +-
    > arch/x86/Kconfig | 3 +
    > arch/x86/include/asm/kvm_host.h | 3 +-
    > arch/x86/kvm/Makefile | 2 +-
    > drivers/base/Makefile | 1 +
    > drivers/base/iommu.c | 94 +++++++++++++++++++
    > drivers/pci/intel-iommu.c | 91 ++++++++++++++++++
    > include/linux/iommu.h | 100 ++++++++++++++++++++
    > virt/kvm/iommu.c | 193 +++++++++++++++++++++++++++++++++++++++
    > virt/kvm/vtd.c | 191 --------------------------------------
    >
    >
    > _______________________________________________
    > osrc-patches mailing list
    > osrc-patches@elbe.amd.com
    > https://ddcwww.amd.com/mailman/listinfo/osrc-patches

    --
    | AMD Saxony Limited Liability Company & Co. KG
    Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany
    System | Register Court Dresden: HRA 4896
    Research | General Partner authorized to represent:
    Center | AMD Saxony LLC (Wilmington, Delaware, US)
    | General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy



    \
     
     \ /
      Last update: 2008-11-27 16:47    [W:5.320 / U:0.364 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site