diff --git a/qemu/target-arm/helper.c b/qemu/target-arm/helper.c index 4305de58..bc840500 100644 --- a/qemu/target-arm/helper.c +++ b/qemu/target-arm/helper.c @@ -5379,6 +5379,11 @@ static bool get_phys_addr_lpae(CPUARMState *env, target_ulong address, if (el > 1) { ttbr1_valid = false; } + } else { + /* There is no TTBR1 for EL2 */ + if (el == 2) { + ttbr1_valid = false; + } } /* Determine whether this address is in the region controlled by