diff --git a/qemu/target/arm/helper.c b/qemu/target/arm/helper.c index fc3bb8b2..2320a2ee 100644 --- a/qemu/target/arm/helper.c +++ b/qemu/target/arm/helper.c @@ -5719,9 +5719,6 @@ uint32_t arm_phys_excp_target_el(CPUState *cs, uint32_t excp_idx, break; }; - /* If HCR.TGE is set then HCR is treated as being 1 */ - hcr |= ((env->cp15.hcr_el2 & HCR_TGE) == HCR_TGE); - /* Perform a table-lookup for the target EL given the current state */ target_el = target_el_table[is64][scr][rw][hcr][secure][cur_el];