From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3Pym-0002Rj-Qn for qemu-devel@nongnu.org; Fri, 12 Jun 2015 10:30:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3Pyh-0007hZ-LI for qemu-devel@nongnu.org; Fri, 12 Jun 2015 10:30:44 -0400 Received: from foss.arm.com ([217.140.101.70]:49496) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3Pyh-0007gu-Fx for qemu-devel@nongnu.org; Fri, 12 Jun 2015 10:30:39 -0400 Date: Fri, 12 Jun 2015 15:23:29 +0100 From: Will Deacon Message-ID: <20150612142328.GF12174@arm.com> References: <1434118810-28219-1-git-send-email-b.reynal@virtualopensystems.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1434118810-28219-1-git-send-email-b.reynal@virtualopensystems.com> Subject: Re: [Qemu-devel] [RFC 0/6] vSMMU initialization List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Baptiste Reynal Cc: "iommu@lists.linux-foundation.org" , "tech@virtualopensystems.com" , "qemu-devel@nongnu.org" On Fri, Jun 12, 2015 at 03:20:04PM +0100, Baptiste Reynal wrote: > The ARM SMMU has support for 2-stages address translations, allowing a virtual > address to be translated at two levels: > - Stage 1 translates a virtual address (VA) into an intermediate physical > address (IPA) > - Stage 2 translates an IPA into a physical address (PA) > > Will Deacon introduced a virtual SMMU interface for KVM, which gives a virtual > machine the possibility to use an IOMMU with native drivers. While the VM will > program the first stage of translation (stage 1), the interface will program > the second (stage 2) on the physical SMMU. Please note that I have no plans to merge the kernel-side of this at the moment. It was merely an exploratory tool to see what a non-PV vSMMU implementation might look like and certainly not intended to be used in anger. Will