ppc: Check partition and process table alignment
commit3c2e80ad2fcf004fcf74bf690dc1c952320a5b52
authorLeandro Lupori <leandro.lupori@eldorado.org.br>
Tue, 28 Jun 2022 13:39:57 +0000 (28 10:39 -0300)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Mon, 18 Jul 2022 16:59:43 +0000 (18 13:59 -0300)
tree233b4f9e2594a618c86ab3e92904a0cd3dc77a3b
parent3778aa970f21b475ca16befcf271078602104fe6
ppc: Check partition and process table alignment

Check if partition and process tables are properly aligned, in
their size, according to PowerISA 3.1B, Book III 6.7.6 programming
note. Hardware and KVM also raise an exception in these cases.

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