Lines Matching refs:esr
61 u64 esr = 0; in inject_abt64() local
70 esr |= ESR_ELx_IL; in inject_abt64()
77 esr |= (ESR_ELx_EC_IABT_LOW << ESR_ELx_EC_SHIFT); in inject_abt64()
79 esr |= (ESR_ELx_EC_IABT_CUR << ESR_ELx_EC_SHIFT); in inject_abt64()
82 esr |= ESR_ELx_EC_DABT_LOW << ESR_ELx_EC_SHIFT; in inject_abt64()
84 esr |= ESR_ELx_FSC_EXTABT; in inject_abt64()
88 vcpu_write_sys_reg(vcpu, esr, ESR_EL1); in inject_abt64()
91 vcpu_write_sys_reg(vcpu, esr, ESR_EL2); in inject_abt64()
97 u64 esr = (ESR_ELx_EC_UNKNOWN << ESR_ELx_EC_SHIFT); in inject_undef64() local
106 esr |= ESR_ELx_IL; in inject_undef64()
109 vcpu_write_sys_reg(vcpu, esr, ESR_EL1); in inject_undef64()
111 vcpu_write_sys_reg(vcpu, esr, ESR_EL2); in inject_undef64()
192 unsigned long addr, esr; in kvm_inject_size_fault() local
213 esr = vcpu_read_sys_reg(vcpu, ESR_EL1); in kvm_inject_size_fault()
214 esr &= ~GENMASK_ULL(5, 0); in kvm_inject_size_fault()
215 vcpu_write_sys_reg(vcpu, esr, ESR_EL1); in kvm_inject_size_fault()
233 void kvm_set_sei_esr(struct kvm_vcpu *vcpu, u64 esr) in kvm_set_sei_esr() argument
235 vcpu_set_vsesr(vcpu, esr & ESR_ELx_ISS_MASK); in kvm_set_sei_esr()