Searched refs:vcpu_cpsr (Results 1 – 9 of 9) sorted by relevance
73 cpsr = *vcpu_cpsr(vcpu); in kvm_condition_valid32()110 unsigned long cpsr = *vcpu_cpsr(vcpu); in kvm_adjust_itstate()130 *vcpu_cpsr(vcpu) = cpsr; in kvm_adjust_itstate()141 is_thumb = !!(*vcpu_cpsr(vcpu) & PSR_AA32_T_BIT); in kvm_skip_instr32()166 unsigned long new_spsr_value = *vcpu_cpsr(vcpu); in prepare_fault32()178 *vcpu_cpsr(vcpu) = cpsr; in prepare_fault32()
47 switch (*vcpu_cpsr(vcpu) & (PSR_MODE_MASK | PSR_MODE32_BIT)) { in get_except_vector()66 unsigned long cpsr = *vcpu_cpsr(vcpu); in inject_abt64()73 *vcpu_cpsr(vcpu) = PSTATE_FAULT_BITS_64; in inject_abt64()102 unsigned long cpsr = *vcpu_cpsr(vcpu); in inject_undef64()108 *vcpu_cpsr(vcpu) = PSTATE_FAULT_BITS_64; in inject_undef64()
115 unsigned long mode = *vcpu_cpsr(vcpu) & PSR_AA32_MODE_MASK; in vcpu_reg32()146 unsigned long mode = *vcpu_cpsr(vcpu) & PSR_AA32_MODE_MASK; in vcpu_spsr32_mode()
159 *vcpu_cpsr(vcpu) |= DBG_SPSR_SS; in kvm_arm_setup_debug()169 trace_kvm_arm_set_dreg32("SPSR_EL2", *vcpu_cpsr(vcpu)); in kvm_arm_setup_debug()
273 if (!(*vcpu_cpsr(vcpu) & DBG_SPSR_SS) in handle_exit()
132 static inline unsigned long *vcpu_cpsr(const struct kvm_vcpu *vcpu) in vcpu_cpsr() function139 return !!(*vcpu_cpsr(vcpu) & PSR_MODE32_BIT); in vcpu_mode_is_32bit()160 *vcpu_cpsr(vcpu) |= PSR_AA32_T_BIT; in vcpu_set_thumb()210 mode = *vcpu_cpsr(vcpu) & PSR_AA32_MODE_MASK; in vcpu_mode_priv()214 mode = *vcpu_cpsr(vcpu) & PSR_MODE_MASK; in vcpu_mode_priv()349 *vcpu_cpsr(vcpu) |= PSR_AA32_E_BIT; in kvm_vcpu_set_be()360 return !!(*vcpu_cpsr(vcpu) & PSR_AA32_E_BIT); in kvm_vcpu_is_be()
130 static inline unsigned long *vcpu_cpsr(const struct kvm_vcpu *vcpu) in vcpu_cpsr() function137 *vcpu_cpsr(vcpu) |= PSR_T_BIT; in vcpu_set_thumb()280 *vcpu_cpsr(vcpu) |= PSR_E_BIT; in kvm_vcpu_set_be()285 return !!(*vcpu_cpsr(vcpu) & PSR_E_BIT); in kvm_vcpu_is_be()
116 unsigned long mode = *vcpu_cpsr(vcpu) & MODE_MASK; in vcpu_reg()147 unsigned long mode = *vcpu_cpsr(vcpu) & MODE_MASK; in __vcpu_spsr()
434 *vcpu_cpsr(vcpu) &= ~DBG_SPSR_SS; in fixup_guest_exit()