From: Ian Campbell Subject: Re: [PATCH] xen/arm: p2m: Fix hypercall preemption when domain is relinquish memory mapping Date: Wed, 18 Dec 2013 16:58:27 +0000 Message-ID: <1387385907.28680.72.camel@kazak.uk.xensource.com> References: <1387385648-27618-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 1VtKS9-00036q-22 for xen-devel@lists.xenproject.org; Wed, 18 Dec 2013 16:58:33 +0000 In-Reply-To: <1387385648-27618-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: Julien Grall Cc: xen-devel@lists.xenproject.org, tim@xen.org, stefano.stabellini@citrix.com, patches@linaro.org List-Id: xen-devel@lists.xenproject.org On Wed, 2013-12-18 at 16:54 +0000, Julien Grall wrote: > The commit 84f29a9 "xen/arm: Add relinquish_p2m_mapping to remove reference on > every mapped page" doesn't save correctly the next gfn when the hypercall > is preempted. > > Instead of storing the next gfn, it store the next mfn. Fix it by using > 'addr' instead of 'maddr'. > > Signed-off-by: Julien Grall Acked + applied. Thanks for the speedy fix.