From: Roger Pau Monne Subject: [PATCH 0/3] Fix grant map/unmap with auto-translated guests Date: Mon, 7 Apr 2014 18:02:01 +0200 Message-ID: <1396886524-16921-1-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.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WXC0b-00066p-GS for xen-devel@lists.xenproject.org; Mon, 07 Apr 2014 16:02:53 +0000 Received: from gateway-cbg.eng.citrite.net ([10.80.16.17] helo=localhost.localdomain) by ukmail1.uk.xensource.com with esmtp (Exim 4.69) (envelope-from ) id 1WXC05-00036V-9d for xen-devel@lists.xenproject.org; Mon, 07 Apr 2014 17:02:21 +0100 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org This series adds proper IOMMU entries when performing grant mapping/unmapping inside of auto-translated guests when the p2m is not shared between HAP and IOMMUs, and disables p2m sharing when running on AMD hardware. In order for the guest to know if it's safe to use grant mapped pages for IO with hardware devices a new xen feature is introduced in the last patch. [PATCH 1/3] iommu: set correct IOMMU entries when iommu_hap_pt_share [PATCH 2/3] amd-iommu: disable iommu_hap_pt_share with AMD IOMMUs [PATCH 3/3] xen: expose that grant table mappings update the IOMMU