From: Roger Pau Monne Subject: [PATCH v3 0/4] Fix grant map/unmap with auto-translated guests Date: Fri, 23 May 2014 18:33:04 +0200 Message-ID: <1400862788-22037-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.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WnsUh-0006Ri-Rs for xen-devel@lists.xenproject.org; Fri, 23 May 2014 16:38:55 +0000 Received: from gateway-cbg.eng.citrite.net ([10.80.16.17] helo=FTLPEX01CL03.citrite.net) by ukmail1.uk.xensource.com with esmtp (Exim 4.69) (envelope-from ) id 1WnsP9-00067N-Va for xen-devel@lists.xenproject.org; Fri, 23 May 2014 17:33:12 +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 mapping foreign memory (either grants or foreign pages) 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. Thanks for the review, Roger.