target/arm: Fix GPT fault type for address outside PPS
The GPT address size fault is for the table itself. The physical address being checked gets Granule protection fault at Level 0 (R_JFFHB). Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-id: 20250926001134.295547-9-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
59bcd13b64
commit
a0f1bb0dfe
1 changed files with 1 additions and 1 deletions
|
|
@ -413,7 +413,7 @@ static bool granule_protection_check(CPUARMState *env, uint64_t paddress,
|
|||
if (pspace == ARMSS_NonSecure) {
|
||||
return true;
|
||||
}
|
||||
goto fault_size;
|
||||
goto fault_fail;
|
||||
}
|
||||
|
||||
/* GPC Priority 4: the base address of GPTBR_EL3 exceeds PPS. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue