Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753265AbYLCJDv (ORCPT ); Wed, 3 Dec 2008 04:03:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752177AbYLCJDI (ORCPT ); Wed, 3 Dec 2008 04:03:08 -0500 Received: from 8bytes.org ([88.198.83.132]:57584 "EHLO 8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752019AbYLCJDG (ORCPT ); Wed, 3 Dec 2008 04:03:06 -0500 Date: Wed, 3 Dec 2008 10:03:04 +0100 From: Joerg Roedel To: Greg KH Cc: Joerg Roedel , kvm@vger.kernel.org, Han Weidong , linux-kernel@vger.kernel.org, Alexander Graf , iommu@lists.linux-foundation.org, Ingo Molnar , Avi Kivity Subject: Re: [PATCH 0/12] Factor VT-d KVM functions into a generic API (with multiple device assignment support) Message-ID: <20081203090304.GJ26275@8bytes.org> References: <1228222883-17207-1-git-send-email-joerg.roedel@amd.com> <20081203034405.GA23835@suse.de> <20081203075049.GN29705@8bytes.org> <20081203075302.GA13420@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081203075302.GA13420@suse.de> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1822 Lines: 39 On Tue, Dec 02, 2008 at 11:53:02PM -0800, Greg KH wrote: > On Wed, Dec 03, 2008 at 08:50:49AM +0100, Joerg Roedel wrote: > > On Tue, Dec 02, 2008 at 07:44:05PM -0800, Greg KH wrote: > > > On Tue, Dec 02, 2008 at 02:01:11PM +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 is the second version of the patchset. The most important change to > > > > the previous version is that this patchset was rebased to the improved > > > > API from Han Weidong which supports multiple devices per IOMMU domain. > > > > > > > > For completeness, this series also includes the patches from Han with > > > > some cleanups. So this patchset can be applied on current avi/master > > > > tree. > > > > > > Have you tried porting any of the current iommu controllers to this new > > > framework to see if it works properly for them? > > > > It works currently for VT-d. I also port it to AMD IOMMU currently. With > > some extensions (offset for start address, flags and size limitation) it > > is also suitable for IOMMUs like GART or similar ones. > > What about the Calgary chipset? Calgary is quite similar to GART (there is something like the aperture and a linear single-level pagetable). So with the before mentioned extensions it is also suitable for Calgary. Joerg -- 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/