From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH 0/8] xen/arm: Handle correctly foreign mapping Date: Thu, 05 Dec 2013 17:10:06 +0000 Message-ID: <52A0B36E.8080309@linaro.org> References: <1386258131-755-1-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VocRH-0007Di-8v for xen-devel@lists.xenproject.org; Thu, 05 Dec 2013 17:10:11 +0000 Received: by mail-ee0-f54.google.com with SMTP id e51so3463463eek.13 for ; Thu, 05 Dec 2013 09:10:08 -0800 (PST) In-Reply-To: <1386258131-755-1-git-send-email-julien.grall@linaro.org> 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 , patches@linaro.org, George Dunlap , Julien Grall , Tim Deegan , stefano.stabellini@citrix.com List-Id: xen-devel@lists.xenproject.org George: I forgot to add that for the release perspective, this series is a bug fix for Xen 4.4 on ARM. Without this series, dom0 will run out of memory sooner or later. On 12/05/2013 03:42 PM, Julien Grall wrote: > 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(-) > -- Julien Grall