[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081127154324.GM1386@amd.com>
Date: Thu, 27 Nov 2008 16:43:24 +0100
From: Joerg Roedel <joerg.roedel@....com>
To: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
iommu@...ts.linux-foundation.org
CC: amit.shah@...hat.com, dwmw2@...radead.org, mingo@...hat.com,
weidong.han@...el.com, avi@...hat.com
Subject: Re: [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@...e.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists