]> xenbits.xensource.com Git - xen.git/commit
xen/arm: p2m: Fix hypercall preemption when domain is relinquish memory mapping
authorJulien Grall <julien.grall@linaro.org>
Wed, 18 Dec 2013 16:54:08 +0000 (16:54 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 18 Dec 2013 16:56:57 +0000 (16:56 +0000)
commit3d929ba0cd0e84548f6d35fa77da08663ba4b0d0
tree5ae4539d3a18c444c763e2db0b78099280b27913
parentea5647f2abad4f6b2149933cdebe6d4f7db0094d
xen/arm: p2m: Fix hypercall preemption when domain is relinquish memory mapping

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 <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/p2m.c