Lines Matching refs:hcr_el2
2020 uint64_t hcr_el2 = el1 ? arm_hcr_el2_eff(env) : 0; in isr_read() local
2023 if (hcr_el2 & HCR_IMO) { in isr_read()
2042 if (hcr_el2 & HCR_FMO) { in isr_read()
2056 if (hcr_el2 & HCR_AMO) { in isr_read()
3869 format64 |= env->cp15.hcr_el2 & (HCR_VM | HCR_DC); in do_ats_write()
4059 uint64_t hcr_el2 = arm_hcr_el2_eff(env); in ats_write64() local
4060 bool regime_e20 = (hcr_el2 & (HCR_E2H | HCR_TGE)) == (HCR_E2H | HCR_TGE); in ats_write64()
4076 mmu_idx = hcr_el2 & HCR_E2H ? ARMMMUIdx_E20_2 : ARMMMUIdx_E2; in ats_write64()
6221 if ((env->cp15.hcr_el2 ^ value) & in do_hcr_write()
6225 env->cp15.hcr_el2 = value; in do_hcr_write()
6257 value = deposit64(env->cp15.hcr_el2, 32, 32, value); in hcr_writehigh()
6265 value = deposit64(env->cp15.hcr_el2, 0, 32, value); in hcr_writelow()
6276 uint64_t ret = env->cp15.hcr_el2; in arm_hcr_el2_eff_secstate()
6367 if ((env->cp15.hcr_el2 & mask) != mask) { in el_is_in_host()
6499 .access = PL2_RW, .fieldoffset = offsetof(CPUARMState, cp15.hcr_el2),
6505 .access = PL2_RW, .fieldoffset = offsetof(CPUARMState, cp15.hcr_el2),
6750 .fieldoffset = offsetofhigh32(CPUARMState, cp15.hcr_el2),
7367 if (env->cp15.hcr_el2 & HCR_E2H) { in sve_exception_el()
7370 if (el != 0 || !(env->cp15.hcr_el2 & HCR_TGE)) { in sve_exception_el()
7416 if (env->cp15.hcr_el2 & HCR_E2H) { in sme_exception_el()
7419 if (el != 0 || !(env->cp15.hcr_el2 & HCR_TGE)) { in sme_exception_el()
10991 uint64_t hcr_el2; in arm_phys_excp_target_el() local
11004 hcr_el2 = arm_hcr_el2_eff(env); in arm_phys_excp_target_el()
11009 hcr = hcr_el2 & HCR_IMO; in arm_phys_excp_target_el()
11013 hcr = hcr_el2 & HCR_FMO; in arm_phys_excp_target_el()
11017 hcr = hcr_el2 & HCR_AMO; in arm_phys_excp_target_el()
11025 hcr |= (hcr_el2 & HCR_TGE) != 0; in arm_phys_excp_target_el()
12669 uint64_t hcr_el2; in fp_exception_el() local
12695 hcr_el2 = arm_hcr_el2_eff(env); in fp_exception_el()
12704 if ((hcr_el2 & (HCR_E2H | HCR_TGE)) != (HCR_E2H | HCR_TGE)) { in fp_exception_el()
12745 if (hcr_el2 & HCR_E2H) { in fp_exception_el()
12748 if (cur_el != 0 || !(hcr_el2 & HCR_TGE)) { in fp_exception_el()