From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: [PATCH 0/8] xen/arm: Handle correctly foreign mapping Date: Thu, 5 Dec 2013 15:42:03 +0000 Message-ID: <1386258131-755-1-git-send-email-julien.grall@linaro.org> 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 1Vob4L-0001p7-CQ for xen-devel@lists.xenproject.org; Thu, 05 Dec 2013 15:42:25 +0000 Received: by mail-wi0-f174.google.com with SMTP id z2so8537274wiv.7 for ; Thu, 05 Dec 2013 07:42:23 -0800 (PST) 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 Cc: ian.campbell@citrix.com, patches@linaro.org, George Dunlap , Julien Grall , stefano.stabellini@citrix.com, time@xen.org List-Id: xen-devel@lists.xenproject.org Hello, This patch series aims to fix "Failed to unmap" message in dom0 when a guest is creating. Actually it will result to leak dom0 memory. The series is based on pvh dom0 v5 patch series (http://www.gossamer-threads.com/lists/xen/devel/309493?page=last) from Mukesh. - Patch #1: this patch add support to remove correctly foreign page on ARM, if it's possible I would like to merge with patch #6 of Mukesh. - Patch #2: prepare work for the other patch - Patch #3-6: add support for p2m type - Patch #7: set p2m type for foreign page - Patch #8: it's not really part of this serie. It adds support for read-only grant-mapping. In the ideal world, this patch series and the pvh dom0 series should be mixed to avoid to introduce dummy functions that will be removed later. Sincerely yours, Cc: George Dunlap Cc: Mukesh Rathor Julien Grall (8): DO NOT APPLY: xen/arm: Correctly support foreign page removing on ARM xen/arm: move mfn_to_p2m_entry in arch/arm/p2m.c xen/arm: Implement p2m_type_t as an enum xen/arm: Store p2m type in each page of the guest xen/arm: p2m: Add p2m_get_entry xen/arm: Retrieve p2m type in get_page_from_gfn xen/arm: Set foreign page type to p2m_map_foreign xen/arm: grant-table: Support read-only mapping xen/arch/arm/mm.c | 26 ++++++++------- xen/arch/arm/p2m.c | 78 ++++++++++++++++++++++++++++++++++++-------- xen/common/memory.c | 12 ++++--- xen/include/asm-arm/p2m.h | 43 +++++++++++++++++------- xen/include/asm-arm/page.h | 22 ------------- 5 files changed, 117 insertions(+), 64 deletions(-) -- 1.7.10.4