target/ppc: Improve Radix xlate level validation
commit47e83d9107887c867bad8900ed39e83b79110b66
authorLeandro Lupori <leandro.lupori@eldorado.org.br>
Tue, 28 Jun 2022 13:39:58 +0000 (28 10:39 -0300)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Mon, 18 Jul 2022 16:59:43 +0000 (18 13:59 -0300)
tree8fd5ac382034ef5727edb1885c76e81b6ada2fab
parent3c2e80ad2fcf004fcf74bf690dc1c952320a5b52
target/ppc: Improve Radix xlate level validation

Check if the number and size of Radix levels are valid on
POWER9/POWER10 CPUs, according to the supported Radix Tree
Configurations described in their User Manuals.

Signed-off-by: Leandro Lupori <leandro.lupori@eldorado.org.br>
Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com>
Message-Id: <20220628133959.15131-3-leandro.lupori@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
target/ppc/mmu-radix64.c