From: Julien Grall Subject: [PATCH v5 00/10] xen/arm: Handle correctly foreign mapping Date: Mon, 16 Dec 2013 17:37:22 +0000 Message-ID: <1387215452-10951-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.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Vsc6s-0002RN-45 for xen-devel@lists.xenproject.org; Mon, 16 Dec 2013 17:37:38 +0000 Received: by mail-ea0-f172.google.com with SMTP id q10so2024974ead.17 for ; Mon, 16 Dec 2013 09:37:36 -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 , tim@xen.org, stefano.stabellini@citrix.com 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. Without this patch series, dom0 will leak memory each time a domain is created. It should be considered as a blocker for Xen 4.4 release. Compare to the previous version, I have removed all specific modification in common code (ie p2m foreing check). - Patch #1-2: prepare work for the others patches - Patch #3-6: add support for p2m type - Patch #7-9: handle correctly foreign mapping. - Patch #10: it's not really part of this series. It adds support for read-only grant-mapping For all the changes, see in each patch. Sincerely yours, Release-acked-by: George Dunlap Cc: George Dunlap Cc: Mukesh Rathor Julien Grall (10): xen/arm: Introduce steps in domain_relinquish_resource 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: Extend p2m_lookup parameters to retrieve the p2m type xen/arm: Retrieve p2m type in get_page_from_gfn xen/arm: Handle remove foreign mapping xen/arm: Add relinquish_p2m_mapping to remove reference on every mapped page xen/arm: Set foreign page type to p2m_map_foreign xen/arm: grant-table: Support read-only mapping xen/arch/arm/domain.c | 45 +++++++++++-- xen/arch/arm/mm.c | 50 +++++++++----- xen/arch/arm/p2m.c | 148 +++++++++++++++++++++++++++++++++++++----- xen/arch/arm/traps.c | 6 +- xen/include/asm-arm/domain.h | 9 +++ xen/include/asm-arm/p2m.h | 80 ++++++++++++++++++++--- xen/include/asm-arm/page.h | 24 +------ 7 files changed, 287 insertions(+), 75 deletions(-) -- 1.7.10.4