Home
last modified time | relevance | path

Searched refs:kvm_vcpu_get_hsr (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/arch/arm/include/asm/
Dkvm_emulate.h152 static inline u32 kvm_vcpu_get_hsr(const struct kvm_vcpu *vcpu) in kvm_vcpu_get_hsr() function
159 u32 hsr = kvm_vcpu_get_hsr(vcpu); in kvm_vcpu_get_condition()
179 return kvm_vcpu_get_hsr(vcpu) & HSR_ISV; in kvm_vcpu_dabt_isvalid()
184 return kvm_vcpu_get_hsr(vcpu) & HSR_WNR; in kvm_vcpu_dabt_iswrite()
189 return kvm_vcpu_get_hsr(vcpu) & HSR_SSE; in kvm_vcpu_dabt_issext()
194 return (kvm_vcpu_get_hsr(vcpu) & HSR_SRT_MASK) >> HSR_SRT_SHIFT; in kvm_vcpu_dabt_get_rd()
199 return kvm_vcpu_get_hsr(vcpu) & HSR_DABT_S1PTW; in kvm_vcpu_dabt_iss1tw()
204 return !!(kvm_vcpu_get_hsr(vcpu) & HSR_DABT_CM); in kvm_vcpu_dabt_is_cm()
210 switch ((kvm_vcpu_get_hsr(vcpu) >> 22) & 0x3) { in kvm_vcpu_dabt_get_as()
226 return kvm_vcpu_get_hsr(vcpu) & HSR_IL; in kvm_vcpu_trap_il_is32bit()
[all …]
/Linux-v4.19/arch/arm64/include/asm/
Dkvm_emulate.h219 static inline u32 kvm_vcpu_get_hsr(const struct kvm_vcpu *vcpu) in kvm_vcpu_get_hsr() function
226 u32 esr = kvm_vcpu_get_hsr(vcpu); in kvm_vcpu_get_condition()
251 return kvm_vcpu_get_hsr(vcpu) & ESR_ELx_xVC_IMM_MASK; in kvm_vcpu_hvc_get_imm()
256 return !!(kvm_vcpu_get_hsr(vcpu) & ESR_ELx_ISV); in kvm_vcpu_dabt_isvalid()
261 return !!(kvm_vcpu_get_hsr(vcpu) & ESR_ELx_SSE); in kvm_vcpu_dabt_issext()
266 return (kvm_vcpu_get_hsr(vcpu) & ESR_ELx_SRT_MASK) >> ESR_ELx_SRT_SHIFT; in kvm_vcpu_dabt_get_rd()
271 return !!(kvm_vcpu_get_hsr(vcpu) & ESR_ELx_S1PTW); in kvm_vcpu_dabt_iss1tw()
276 return !!(kvm_vcpu_get_hsr(vcpu) & ESR_ELx_WNR) || in kvm_vcpu_dabt_iswrite()
282 return !!(kvm_vcpu_get_hsr(vcpu) & ESR_ELx_CM); in kvm_vcpu_dabt_is_cm()
287 return 1 << ((kvm_vcpu_get_hsr(vcpu) & ESR_ELx_SAS) >> ESR_ELx_SAS_SHIFT); in kvm_vcpu_dabt_get_as()
[all …]
/Linux-v4.19/arch/arm64/kvm/
Dhandle_exit.c103 if (kvm_vcpu_get_hsr(vcpu) & ESR_ELx_WFx_ISS_WFE) { in kvm_handle_wfx()
133 u32 hsr = kvm_vcpu_get_hsr(vcpu); in kvm_handle_guest_debug()
160 u32 hsr = kvm_vcpu_get_hsr(vcpu); in kvm_handle_unknown_ec()
202 u32 hsr = kvm_vcpu_get_hsr(vcpu); in kvm_get_exit_handler()
250 u8 hsr_ec = ESR_ELx_EC(kvm_vcpu_get_hsr(vcpu)); in handle_exit()
314 kvm_handle_guest_serror(vcpu, kvm_vcpu_get_hsr(vcpu)); in handle_exit_early()
Dsys_regs.c1933 u32 hsr = kvm_vcpu_get_hsr(vcpu); in kvm_handle_cp_64()
1990 u32 hsr = kvm_vcpu_get_hsr(vcpu); in kvm_handle_cp_32()
2092 unsigned long esr = kvm_vcpu_get_hsr(vcpu); in kvm_handle_sys_reg()
/Linux-v4.19/arch/arm/kvm/
Dhandle_exit.c76 if (kvm_vcpu_get_hsr(vcpu) & HSR_WFI_IS_WFE) { in kvm_handle_wfx()
94 u32 hsr = kvm_vcpu_get_hsr(vcpu); in kvm_handle_unknown_ec()
Dcoproc.c618 params.CRn = (kvm_vcpu_get_hsr(vcpu) >> 1) & 0xf; in decode_64bit_hsr()
619 params.Rt1 = (kvm_vcpu_get_hsr(vcpu) >> 5) & 0xf; in decode_64bit_hsr()
620 params.is_write = ((kvm_vcpu_get_hsr(vcpu) & 1) == 0); in decode_64bit_hsr()
623 params.Op1 = (kvm_vcpu_get_hsr(vcpu) >> 16) & 0xf; in decode_64bit_hsr()
625 params.Rt2 = (kvm_vcpu_get_hsr(vcpu) >> 10) & 0xf; in decode_64bit_hsr()
674 params.CRm = (kvm_vcpu_get_hsr(vcpu) >> 1) & 0xf; in decode_32bit_hsr()
675 params.Rt1 = (kvm_vcpu_get_hsr(vcpu) >> 5) & 0xf; in decode_32bit_hsr()
676 params.is_write = ((kvm_vcpu_get_hsr(vcpu) & 1) == 0); in decode_32bit_hsr()
679 params.CRn = (kvm_vcpu_get_hsr(vcpu) >> 10) & 0xf; in decode_32bit_hsr()
680 params.Op1 = (kvm_vcpu_get_hsr(vcpu) >> 14) & 0x7; in decode_32bit_hsr()
[all …]
/Linux-v4.19/virt/kvm/arm/
Daarch32.c65 if (kvm_vcpu_get_hsr(vcpu) >> 30) in kvm_condition_valid32()
Dmmu.c1702 if (!handle_guest_sea(fault_ipa, kvm_vcpu_get_hsr(vcpu))) in kvm_handle_guest_abort()
1711 trace_kvm_guest_fault(*vcpu_pc(vcpu), kvm_vcpu_get_hsr(vcpu), in kvm_handle_guest_abort()
1720 (unsigned long)kvm_vcpu_get_hsr(vcpu)); in kvm_handle_guest_abort()
/Linux-v4.19/virt/kvm/arm/hyp/
Dvgic-v3-sr.c447 u32 esr = kvm_vcpu_get_hsr(vcpu); in __vgic_v3_get_group()
1013 esr = kvm_vcpu_get_hsr(vcpu); in __vgic_v3_perform_cpuif_access()