Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm/include/asm/
Dkvm_emulate.h140 static inline u32 kvm_vcpu_get_hsr(const struct kvm_vcpu *vcpu) in kvm_vcpu_get_hsr() function
147 u32 hsr = kvm_vcpu_get_hsr(vcpu); in kvm_vcpu_get_condition()
167 return kvm_vcpu_get_hsr(vcpu) & HSR_ISV; in kvm_vcpu_dabt_isvalid()
172 return kvm_vcpu_get_hsr(vcpu) & HSR_WNR; in kvm_vcpu_dabt_iswrite()
177 return kvm_vcpu_get_hsr(vcpu) & HSR_SSE; in kvm_vcpu_dabt_issext()
182 return (kvm_vcpu_get_hsr(vcpu) & HSR_SRT_MASK) >> HSR_SRT_SHIFT; in kvm_vcpu_dabt_get_rd()
187 return kvm_vcpu_get_hsr(vcpu) & HSR_DABT_S1PTW; in kvm_vcpu_dabt_iss1tw()
192 return !!(kvm_vcpu_get_hsr(vcpu) & HSR_DABT_CM); in kvm_vcpu_dabt_is_cm()
198 switch ((kvm_vcpu_get_hsr(vcpu) >> 22) & 0x3) { in kvm_vcpu_dabt_get_as()
214 return kvm_vcpu_get_hsr(vcpu) & HSR_IL; in kvm_vcpu_trap_il_is32bit()
[all …]
/Linux-v5.4/arch/arm64/include/asm/
Dkvm_emulate.h221 static inline u32 kvm_vcpu_get_hsr(const struct kvm_vcpu *vcpu) in kvm_vcpu_get_hsr() function
228 u32 esr = kvm_vcpu_get_hsr(vcpu); in kvm_vcpu_get_condition()
253 return kvm_vcpu_get_hsr(vcpu) & ESR_ELx_xVC_IMM_MASK; in kvm_vcpu_hvc_get_imm()
258 return !!(kvm_vcpu_get_hsr(vcpu) & ESR_ELx_ISV); in kvm_vcpu_dabt_isvalid()
263 return !!(kvm_vcpu_get_hsr(vcpu) & ESR_ELx_SSE); in kvm_vcpu_dabt_issext()
268 return (kvm_vcpu_get_hsr(vcpu) & ESR_ELx_SRT_MASK) >> ESR_ELx_SRT_SHIFT; in kvm_vcpu_dabt_get_rd()
273 return !!(kvm_vcpu_get_hsr(vcpu) & ESR_ELx_S1PTW); in kvm_vcpu_dabt_iss1tw()
278 return !!(kvm_vcpu_get_hsr(vcpu) & ESR_ELx_WNR) || in kvm_vcpu_dabt_iswrite()
284 return !!(kvm_vcpu_get_hsr(vcpu) & ESR_ELx_CM); in kvm_vcpu_dabt_is_cm()
289 return 1 << ((kvm_vcpu_get_hsr(vcpu) & ESR_ELx_SAS) >> ESR_ELx_SAS_SHIFT); in kvm_vcpu_dabt_get_as()
[all …]
/Linux-v5.4/arch/arm64/kvm/
Dhandle_exit.c92 if (kvm_vcpu_get_hsr(vcpu) & ESR_ELx_WFx_ISS_WFE) { in kvm_handle_wfx()
122 u32 hsr = kvm_vcpu_get_hsr(vcpu); in kvm_handle_guest_debug()
149 u32 hsr = kvm_vcpu_get_hsr(vcpu); in kvm_handle_unknown_ec()
229 u32 hsr = kvm_vcpu_get_hsr(vcpu); in kvm_get_exit_handler()
270 u8 hsr_ec = ESR_ELx_EC(kvm_vcpu_get_hsr(vcpu)); in handle_exit()
336 kvm_handle_guest_serror(vcpu, kvm_vcpu_get_hsr(vcpu)); in handle_exit_early()
Dsys_regs.c2119 u32 hsr = kvm_vcpu_get_hsr(vcpu); in kvm_handle_cp_64()
2176 u32 hsr = kvm_vcpu_get_hsr(vcpu); in kvm_handle_cp_32()
2284 unsigned long esr = kvm_vcpu_get_hsr(vcpu); in kvm_handle_sys_reg()
/Linux-v5.4/arch/arm/kvm/
Dhandle_exit.c64 if (kvm_vcpu_get_hsr(vcpu) & HSR_WFI_IS_WFE) { in kvm_handle_wfx()
82 u32 hsr = kvm_vcpu_get_hsr(vcpu); in kvm_handle_unknown_ec()
Dcoproc.c611 params.CRn = (kvm_vcpu_get_hsr(vcpu) >> 1) & 0xf; in decode_64bit_hsr()
612 params.Rt1 = (kvm_vcpu_get_hsr(vcpu) >> 5) & 0xf; in decode_64bit_hsr()
613 params.is_write = ((kvm_vcpu_get_hsr(vcpu) & 1) == 0); in decode_64bit_hsr()
616 params.Op1 = (kvm_vcpu_get_hsr(vcpu) >> 16) & 0xf; in decode_64bit_hsr()
618 params.Rt2 = (kvm_vcpu_get_hsr(vcpu) >> 10) & 0xf; in decode_64bit_hsr()
676 params.CRm = (kvm_vcpu_get_hsr(vcpu) >> 1) & 0xf; in decode_32bit_hsr()
677 params.Rt1 = (kvm_vcpu_get_hsr(vcpu) >> 5) & 0xf; in decode_32bit_hsr()
678 params.is_write = ((kvm_vcpu_get_hsr(vcpu) & 1) == 0); in decode_32bit_hsr()
681 params.CRn = (kvm_vcpu_get_hsr(vcpu) >> 10) & 0xf; in decode_32bit_hsr()
682 params.Op1 = (kvm_vcpu_get_hsr(vcpu) >> 14) & 0x7; in decode_32bit_hsr()
[all …]
/Linux-v5.4/virt/kvm/arm/hyp/
Daarch32.c54 if (kvm_vcpu_get_hsr(vcpu) >> 30) in kvm_condition_valid32()
Dvgic-v3-sr.c444 u32 esr = kvm_vcpu_get_hsr(vcpu); in __vgic_v3_get_group()
1010 esr = kvm_vcpu_get_hsr(vcpu); in __vgic_v3_perform_cpuif_access()
/Linux-v5.4/arch/arm64/kvm/hyp/
Dswitch.c390 u32 sysreg = esr_sys64_to_sysreg(kvm_vcpu_get_hsr(vcpu)); in handle_tx2_tvm()
/Linux-v5.4/virt/kvm/arm/
Dmmu.c1920 if (!kvm_handle_guest_sea(fault_ipa, kvm_vcpu_get_hsr(vcpu))) in kvm_handle_guest_abort()
1929 trace_kvm_guest_fault(*vcpu_pc(vcpu), kvm_vcpu_get_hsr(vcpu), in kvm_handle_guest_abort()
1938 (unsigned long)kvm_vcpu_get_hsr(vcpu)); in kvm_handle_guest_abort()