From: Ian Campbell Subject: Re: [PATCH 3/3] xen: expose that grant table mappings update the IOMMU Date: Tue, 8 Apr 2014 09:34:43 +0100 Message-ID: <1396946083.22845.171.camel@kazak.uk.xensource.com> References: <1396886524-16921-1-git-send-email-roger.pau@citrix.com> <1396886524-16921-4-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WXRUW-0004C4-Gl for xen-devel@lists.xenproject.org; Tue, 08 Apr 2014 08:34:48 +0000 In-Reply-To: <1396886524-16921-4-git-send-email-roger.pau@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau Monne Cc: xen-devel@lists.xenproject.org, Keir Fraser , Jan Beulich List-Id: xen-devel@lists.xenproject.org On Mon, 2014-04-07 at 18:02 +0200, Roger Pau Monne wrote: > Add a new XENFEAT_hvm_gntmap_supports_iommu that is used to check > whether the hypervisor properly updates the IOMMU on auto-translated > guests when doing a grant table map/unmap operation. Is it the case on x86 that all devices are behind the IOMMU? On ARM with have the issue that only a subset of peripherals are behind the IOMMU, for the rest we need other tricks like 1:1 mappings and swiotlb bouncing (for dom0 only, we just don't support passing these devices thru to domU). Just want to make sure you aren't going to trip over a similar issue on x86 after this ABI has been set... Ian.