Searched refs:vcpu_cpsr (Results 1 – 13 of 13) sorted by relevance
50 (*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()
32 switch(*vcpu_cpsr(vcpu) & PSR_MODE_MASK) { in pend_sync_exception()59 unsigned long cpsr = *vcpu_cpsr(vcpu); in inject_abt64()
354 __entry->spsr_el2 = *vcpu_cpsr(vcpu);356 __entry->source_mode = *vcpu_cpsr(vcpu) & (PSR_MODE_MASK | PSR_MODE32_BIT);
277 if (*vcpu_cpsr(vcpu) & PSR_MODE32_BIT) { in set_core_reg()280 switch (*vcpu_cpsr(vcpu) & PSR_AA32_MODE_MASK) { in set_core_reg()
1893 spsr = *vcpu_cpsr(vcpu); in kvm_check_illegal_exception_return()1928 *vcpu_cpsr(vcpu) = spsr; in kvm_emulate_nested_eret()1945 *vcpu_cpsr(vcpu) = spsr; in kvm_emulate_nested_eret()1992 pstate = *vcpu_cpsr(vcpu); in kvm_inject_nested()
2862 cp, *vcpu_pc(vcpu), *vcpu_cpsr(vcpu)); in unhandled_cp_access()3124 *vcpu_pc(vcpu), *vcpu_cpsr(vcpu)); in emulate_sys_reg()
76 cpsr = *vcpu_cpsr(vcpu); in kvm_condition_valid32()113 unsigned long cpsr = *vcpu_cpsr(vcpu); in kvm_adjust_itstate()133 *vcpu_cpsr(vcpu) = cpsr; in kvm_adjust_itstate()145 is_thumb = !!(*vcpu_cpsr(vcpu) & PSR_AA32_T_BIT); in kvm_skip_instr32()
97 mode = *vcpu_cpsr(vcpu) & (PSR_MODE_MASK | PSR_MODE32_BIT); in enter_exception64()126 old = *vcpu_cpsr(vcpu); in enter_exception64()170 *vcpu_cpsr(vcpu) = new; in enter_exception64()197 old = *vcpu_cpsr(vcpu); in get_except32_cpsr()288 unsigned long spsr = *vcpu_cpsr(vcpu); in enter_exception32()293 *vcpu_cpsr(vcpu) = get_except32_cpsr(vcpu, mode); in enter_exception32()
22 *vcpu_cpsr(vcpu) &= ~PSR_BTYPE_MASK; in kvm_skip_instr()26 *vcpu_cpsr(vcpu) &= ~DBG_SPSR_SS; in kvm_skip_instr()
633 *vcpu_cpsr(vcpu) & DBG_SPSR_SS && in synchronize_vcpu_pstate()635 write_sysreg_el2(*vcpu_cpsr(vcpu), SYS_SPSR); in synchronize_vcpu_pstate()
152 static __always_inline unsigned long *vcpu_cpsr(const struct kvm_vcpu *vcpu) in vcpu_cpsr() function159 return !!(*vcpu_cpsr(vcpu) & PSR_MODE32_BIT); in vcpu_mode_is_32bit()172 *vcpu_cpsr(vcpu) |= PSR_AA32_T_BIT; in vcpu_set_thumb()286 mode = *vcpu_cpsr(vcpu) & PSR_AA32_MODE_MASK; in vcpu_mode_priv()290 mode = *vcpu_cpsr(vcpu) & PSR_MODE_MASK; in vcpu_mode_priv()474 *vcpu_cpsr(vcpu) |= PSR_AA32_E_BIT; in kvm_vcpu_set_be()485 return !!(*vcpu_cpsr(vcpu) & PSR_AA32_E_BIT); in kvm_vcpu_is_be()
187 u64 mode = *vcpu_cpsr(vcpu) & (PSR_MODE_MASK | PSR_MODE32_BIT); in early_exit_filter()198 *vcpu_cpsr(vcpu) &= ~(PSR_MODE_MASK | PSR_MODE32_BIT); in early_exit_filter()199 *vcpu_cpsr(vcpu) |= mode; in early_exit_filter()
40 *vcpu_cpsr(vcpu) = read_sysreg_el2(SYS_SPSR); in inject_undef64()49 write_sysreg_el2(*vcpu_cpsr(vcpu), SYS_SPSR); in inject_undef64()