From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andres Lagar-Cavilla Subject: [PATCH 0 of 2] Support for Paging/Sharing on AMD Date: Tue, 27 Mar 2012 11:43:26 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: 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.xen.org Cc: olaf@aepfle.de, keir@xen.org, andres@gridcentric.ca, tim@xen.org, wei.wang2@amd.com, JBeulich@suse.com, adin@gridcentric.ca List-Id: xen-devel@lists.xenproject.org This is a partial repost of the series first sent on Mar 22nd. It currently contains two patches - Teach paging types to p2m-pt. - Add interlock for iommu and mem paging/sharing. The first patch is rebased to apply on top of http://lists.xen.org/archives/html/xen-devel/2012-03/msg01982.html and addresses some feedbackfrom Tim Deegan. The second patch prevents a passthrough device from being assigned to a domain if mem paging or sharing have been turned on. And viceversa. This is a missing check that is necessary for both Intel and AMD processors. Signed-off-by: Andres Lagar-Cavilla xen/arch/x86/mm/p2m-pt.c | 29 +++++++++++++++++++---------- xen/arch/x86/mm/mem_event.c | 4 ++++ xen/arch/x86/mm/mem_sharing.c | 5 ++++- xen/drivers/passthrough/iommu.c | 7 +++++++ 4 files changed, 34 insertions(+), 11 deletions(-)