On 7/27/25 1:02 AM, Richard Henderson wrote:
If PSTATE.EXLOCK is set, and the GCS EXLOCK enable bit is set,
and nested virt is in the appropriate state, then we need to
raise an EXLOCK exception.
Since PSTATE.EXLOCK cannot be set without GCS being present
and enabled, no explicit check for GCS is required.
Signed-off-by: Richard Henderson <[email protected]>
---
target/arm/cpregs.h | 3 ++
target/arm/cpu.h | 1 +
target/arm/helper.c | 83 +++++++++++++++++++++++++++++++++++---
target/arm/tcg/op_helper.c | 4 ++
4 files changed, 85 insertions(+), 6 deletions(-)
Reviewed-by: Pierrick Bouvier <[email protected]>