Home
last modified time | relevance | path

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

/Linux-v5.4/virt/kvm/arm/hyp/
Daarch32.c62 cpsr = *vcpu_cpsr(vcpu); in kvm_condition_valid32()
99 unsigned long cpsr = *vcpu_cpsr(vcpu); in kvm_adjust_itstate()
119 *vcpu_cpsr(vcpu) = cpsr; in kvm_adjust_itstate()
130 is_thumb = !!(*vcpu_cpsr(vcpu) & PSR_AA32_T_BIT); in kvm_skip_instr32()
/Linux-v5.4/arch/arm64/kvm/
Dinject_fault.c36 switch (*vcpu_cpsr(vcpu) & (PSR_MODE_MASK | PSR_MODE32_BIT)) { in get_except_vector()
55 unsigned long cpsr = *vcpu_cpsr(vcpu); in inject_abt64()
62 *vcpu_cpsr(vcpu) = PSTATE_FAULT_BITS_64; in inject_abt64()
91 unsigned long cpsr = *vcpu_cpsr(vcpu); in inject_undef64()
97 *vcpu_cpsr(vcpu) = PSTATE_FAULT_BITS_64; in inject_undef64()
Ddebug.c148 *vcpu_cpsr(vcpu) |= DBG_SPSR_SS; in kvm_arm_setup_debug()
158 trace_kvm_arm_set_dreg32("SPSR_EL2", *vcpu_cpsr(vcpu)); in kvm_arm_setup_debug()
Dregmap.c104 unsigned long mode = *vcpu_cpsr(vcpu) & PSR_AA32_MODE_MASK; in vcpu_reg32()
135 unsigned long mode = *vcpu_cpsr(vcpu) & PSR_AA32_MODE_MASK; in vcpu_spsr32_mode()
Dsys_regs.c2102 cp, *vcpu_pc(vcpu), *vcpu_cpsr(vcpu)); in unhandled_cp_access()
2253 *vcpu_pc(vcpu), *vcpu_cpsr(vcpu)); in emulate_sys_reg()
/Linux-v5.4/arch/arm64/include/asm/
Dkvm_emulate.h142 static inline unsigned long *vcpu_cpsr(const struct kvm_vcpu *vcpu) in vcpu_cpsr() function
149 return !!(*vcpu_cpsr(vcpu) & PSR_MODE32_BIT); in vcpu_mode_is_32bit()
162 *vcpu_cpsr(vcpu) |= PSR_AA32_T_BIT; in vcpu_set_thumb()
212 mode = *vcpu_cpsr(vcpu) & PSR_AA32_MODE_MASK; in vcpu_mode_priv()
216 mode = *vcpu_cpsr(vcpu) & PSR_MODE_MASK; in vcpu_mode_priv()
373 *vcpu_cpsr(vcpu) |= PSR_AA32_E_BIT; in kvm_vcpu_set_be()
384 return !!(*vcpu_cpsr(vcpu) & PSR_AA32_E_BIT); in kvm_vcpu_is_be()
459 *vcpu_cpsr(vcpu) &= ~DBG_SPSR_SS; in kvm_skip_instr()
/Linux-v5.4/arch/arm/include/asm/
Dkvm_emulate.h118 static inline unsigned long *vcpu_cpsr(const struct kvm_vcpu *vcpu) in vcpu_cpsr() function
125 *vcpu_cpsr(vcpu) |= PSR_T_BIT; in vcpu_set_thumb()
286 *vcpu_cpsr(vcpu) |= PSR_E_BIT; in kvm_vcpu_set_be()
291 return !!(*vcpu_cpsr(vcpu) & PSR_E_BIT); in kvm_vcpu_is_be()
/Linux-v5.4/virt/kvm/arm/
Daarch32.c34 unsigned long new_spsr_value = *vcpu_cpsr(vcpu); in prepare_fault32()
46 *vcpu_cpsr(vcpu) = cpsr; in prepare_fault32()
/Linux-v5.4/arch/arm/kvm/
Demulate.c104 unsigned long mode = *vcpu_cpsr(vcpu) & MODE_MASK; in vcpu_reg()
135 unsigned long mode = *vcpu_cpsr(vcpu) & MODE_MASK; in __vcpu_spsr()
Dcoproc.c599 *vcpu_pc(vcpu), *vcpu_cpsr(vcpu)); in emulate_cp15()