From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH v3 0/3] Support for nesting IOMMUs in VFIO Date: Wed, 3 Sep 2014 17:22:42 +0200 Message-ID: <20140903152241.GK28786@8bytes.org> References: <1409651619-27342-1-git-send-email-will.deacon@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1409651619-27342-1-git-send-email-will.deacon-5wv7dgnIgG8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Will Deacon Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: iommu@lists.linux-foundation.org Hi Will, On Tue, Sep 02, 2014 at 10:53:36AM +0100, Will Deacon wrote: > This is version three of the patches I originally posted here: > > RFCv1: http://permalink.gmane.org/gmane.linux.kernel.iommu/5552 > RFCv2: http://permalink.gmane.org/gmane.linux.kernel.iommu/5700 > > Changes since RFCv2 include: > > - Dropped the RFC tag > - Rebased onto 3.17-rc* > - Iterate the support bus_types (currently just PCI) and check that > nesting is actually supported > > The corresponding arm-smmu changes are included to show how the new > domain attribute can be used. How is this implemented in the SMMU, can there be only one stage2 mapping, so that a device can be passed through to a KVM guest or can there be multiple stage2 mappings in parallel (like with PRI/PASID on PCI) to support multiple translation contexts on one device? Joerg