Home
last modified time | relevance | path

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

/linux-6.1.9/arch/arm64/kvm/
Ddebug.c50 (*vcpu_cpsr(vcpu) & DBG_SPSR_SS); in save_guest_debug_regs()
63 *vcpu_cpsr(vcpu) |= DBG_SPSR_SS; in restore_guest_debug_regs()
65 *vcpu_cpsr(vcpu) &= ~DBG_SPSR_SS; in restore_guest_debug_regs()
211 *vcpu_cpsr(vcpu) |= DBG_SPSR_SS; in kvm_arm_setup_debug()
213 *vcpu_cpsr(vcpu) &= ~DBG_SPSR_SS; in kvm_arm_setup_debug()
224 trace_kvm_arm_set_dreg32("SPSR_EL2", *vcpu_cpsr(vcpu)); in kvm_arm_setup_debug()
289 if (!(*vcpu_cpsr(vcpu) & DBG_SPSR_SS)) in kvm_arm_clear_debug()
Dinject_fault.c19 unsigned long cpsr = *vcpu_cpsr(vcpu); in inject_abt64()
Dguest.c270 if (*vcpu_cpsr(vcpu) & PSR_MODE32_BIT) { in set_core_reg()
273 switch (*vcpu_cpsr(vcpu)) { in set_core_reg()
Dsys_regs.c2224 cp, *vcpu_pc(vcpu), *vcpu_cpsr(vcpu)); in unhandled_cp_access()
2486 *vcpu_pc(vcpu), *vcpu_cpsr(vcpu)); in emulate_sys_reg()
/linux-6.1.9/arch/arm64/kvm/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()
131 is_thumb = !!(*vcpu_cpsr(vcpu) & PSR_AA32_T_BIT); in kvm_skip_instr32()
Dexception.c87 mode = *vcpu_cpsr(vcpu) & (PSR_MODE_MASK | PSR_MODE32_BIT); in enter_exception64()
111 old = *vcpu_cpsr(vcpu); in enter_exception64()
155 *vcpu_cpsr(vcpu) = new; in enter_exception64()
182 old = *vcpu_cpsr(vcpu); in get_except32_cpsr()
273 unsigned long spsr = *vcpu_cpsr(vcpu); in enter_exception32()
278 *vcpu_cpsr(vcpu) = get_except32_cpsr(vcpu, mode); in enter_exception32()
/linux-6.1.9/arch/arm64/include/asm/
Dkvm_emulate.h145 static __always_inline unsigned long *vcpu_cpsr(const struct kvm_vcpu *vcpu) in vcpu_cpsr() function
152 return !!(*vcpu_cpsr(vcpu) & PSR_MODE32_BIT); in vcpu_mode_is_32bit()
165 *vcpu_cpsr(vcpu) |= PSR_AA32_T_BIT; in vcpu_set_thumb()
223 mode = *vcpu_cpsr(vcpu) & PSR_AA32_MODE_MASK; in vcpu_mode_priv()
227 mode = *vcpu_cpsr(vcpu) & PSR_MODE_MASK; in vcpu_mode_priv()
411 *vcpu_cpsr(vcpu) |= PSR_AA32_E_BIT; in kvm_vcpu_set_be()
422 return !!(*vcpu_cpsr(vcpu) & PSR_AA32_E_BIT); in kvm_vcpu_is_be()
/linux-6.1.9/arch/arm64/kvm/hyp/include/hyp/
Dadjust_pc.h22 *vcpu_cpsr(vcpu) &= ~PSR_BTYPE_MASK; in kvm_skip_instr()
26 *vcpu_cpsr(vcpu) &= ~DBG_SPSR_SS; in kvm_skip_instr()
Dswitch.h426 *vcpu_cpsr(vcpu) & DBG_SPSR_SS && in synchronize_vcpu_pstate()
428 write_sysreg_el2(*vcpu_cpsr(vcpu), SYS_SPSR); in synchronize_vcpu_pstate()
/linux-6.1.9/arch/arm64/kvm/hyp/nvhe/
Dsys_regs.c39 *vcpu_cpsr(vcpu) = read_sysreg_el2(SYS_SPSR); in inject_undef64()
48 write_sysreg_el2(*vcpu_cpsr(vcpu), SYS_SPSR); in inject_undef64()