xen/arm: Use sanitize values for p2m
authorBertrand Marquis <bertrand.marquis@arm.com>
Thu, 16 Sep 2021 06:25:38 +0000 (07:25 +0100)
committerStefano Stabellini <stefano.stabellini@xilinx.com>
Thu, 16 Sep 2021 21:15:50 +0000 (14:15 -0700)
commit442d54c4459236bdb7379f89a8ebe7e7dcb4d1de
treecd15831da662724e23ac556c624214f42f00cdc5
parent0bf9efb9ee4cc6cdafbe0a0ed1529449bb9d6825
xen/arm: Use sanitize values for p2m

Replace the code in p2m trying to find a sane value for the VMID size
supported and the PAR to use. We are now using the boot cpuinfo as the
values there are sanitized during boot and the value for those
parameters is now the safest possible value on the system.

Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/p2m.c