OSDN Git Service

target/ppc: fix ISI fault cause for Radix MMU
authorLeandro Lupori <leandro.lupori@eldorado.org.br>
Mon, 14 Mar 2022 14:57:17 +0000 (15:57 +0100)
committerCédric Le Goater <clg@kaod.org>
Mon, 14 Mar 2022 14:57:17 +0000 (15:57 +0100)
commitc6242335b3ff504a552ceba18c8b8ab9dc684a77
tree97190327ea3aae7486c9d30c2fef4087c64d9151
parentb719411673386187862218892f21b3974987f9c3
target/ppc: fix ISI fault cause for Radix MMU

Fix Instruction Storage Interrupt (ISI) fault cause for Radix MMU,
when caused by missing PAGE_EXEC permission, to be
SRR1_NOEXEC_GUARD instead of DSISR_PROTFAULT.
This matches POWER9 hardware behavior.

Fixes: d5fee0bbe68 ("target/ppc: Implement ISA V3.00 radix page fault handler")
Signed-off-by: Leandro Lupori <leandro.lupori@eldorado.org.br>
Message-Id: <20220309192756.145283-1-leandro.lupori@eldorado.org.br>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
target/ppc/mmu-radix64.c