Re: [Xen-devel] [PATCH] xen/arm: p2m: Read *_mapped_gfn with the p2m lock taken

2017-10-06 Thread Stefano Stabellini
On Thu, 14 Sep 2017, Julien Grall wrote: > *_mapped_gfn are currently read before acquiring the lock. However, they > may be modified by the p2m code before the lock was acquired. This means > we will use the wrong values. > > Fix it by moving the read inside the section protected by the p2m

Re: [Xen-devel] [PATCH] xen/arm: p2m: Read *_mapped_gfn with the p2m lock taken

2017-09-27 Thread Julien Grall
Hi, Ping? Cheers, On 09/14/2017 04:39 PM, Julien Grall wrote: *_mapped_gfn are currently read before acquiring the lock. However, they may be modified by the p2m code before the lock was acquired. This means we will use the wrong values. Fix it by moving the read inside the section protected

[Xen-devel] [PATCH] xen/arm: p2m: Read *_mapped_gfn with the p2m lock taken

2017-09-14 Thread Julien Grall
*_mapped_gfn are currently read before acquiring the lock. However, they may be modified by the p2m code before the lock was acquired. This means we will use the wrong values. Fix it by moving the read inside the section protected by the p2m lock. Signed-off-by: Julien Grall