From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: [PATCH v6 00/10] xen/arm: Handle correctly foreign mapping Date: Tue, 17 Dec 2013 16:27:48 +0000 Message-ID: <1387297678-17762-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 1VsxV6-0005JK-5z for xen-devel@lists.xenproject.org; Tue, 17 Dec 2013 16:28:05 +0000 Received: by mail-ea0-f181.google.com with SMTP id m10so2983326eaj.26 for ; Tue, 17 Dec 2013 08:28:02 -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: George Dunlap , Julien Grall , ian.jackson@eu.citrix.com, ian.campbell@citrix.com, patches@linaro.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. 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. - 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 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 | 164 +++++++++++++++++++++++++++++++++++++----- 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, 303 insertions(+), 75 deletions(-) -- 1.7.10.4