(CC Wei for Xen 4.7)
Hi,
On 12/05/16 14:03, Peng Fan wrote:
On ARM64, "frametable_size >> SECOND_SHIFT" computes the number
of second level entries, not the number of second level pages.
"ROUNDUP(frametable_size, FIRST_SIZE) >> FIRST_SHIFT" which computes
the number of the first level entries (the number of second level pages),
is the correct one that should be used.
Signed-off-by: Peng Fan <van.free...@gmail.com>
Cc: Stefano Stabellini <sstabell...@kernel.org>
Cc: Julien Grall <julien.gr...@arm.com>
Reviewed-by: Julien Grall <julien.gr...@arm.com>
This is a bug fix for Xen 4.7 and should be backported up to Xen 4.4.
Wei, could we get a release-ack for this patch?
The computation of the number of page to allocation was wrong. This
could result to overrun xen_first on platform with big amount of memory.
Regards,
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel