Home
last modified time | relevance | path

Searched refs:PSR_MODE32_BIT (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/arch/arm64/kvm/hyp/vhe/
Dswitch.c279 mode = spsr & (PSR_MODE_MASK | PSR_MODE32_BIT); in kvm_hyp_handle_eret()
304 spsr = (spsr & ~(PSR_MODE_MASK | PSR_MODE32_BIT)) | mode; in kvm_hyp_handle_eret()
446 u64 mode = *vcpu_cpsr(vcpu) & (PSR_MODE_MASK | PSR_MODE32_BIT); in early_exit_filter()
457 *vcpu_cpsr(vcpu) &= ~(PSR_MODE_MASK | PSR_MODE32_BIT); in early_exit_filter()
/linux-6.12.1/arch/arm64/kernel/
Dsdei.c244 mode = regs->pstate & (PSR_MODE32_BIT | PSR_MODE_MASK); in do_sdei_event()
263 else if (mode & PSR_MODE32_BIT) in do_sdei_event()
Dptrace.c2342 if (user_mode(regs) && (regs->pstate & PSR_MODE32_BIT) && in valid_compat_regs()
2358 regs->pstate |= PSR_MODE32_BIT; in valid_compat_regs()
2367 if (user_mode(regs) && !(regs->pstate & PSR_MODE32_BIT) && in valid_native_regs()
Dentry.S367 tst x22, #PSR_MODE32_BIT // native task?
/linux-6.12.1/tools/testing/selftests/arm64/signal/testcases/
Dmangle_pstate_invalid_compat_toggle.c19 uc->uc_mcontext.pstate ^= PSR_MODE32_BIT; in mangle_invalid_pstate_run()
/linux-6.12.1/arch/arm64/kvm/hyp/include/hyp/
Dsysreg-sr.h232 u64 mode = ctxt->regs.pstate & (PSR_MODE_MASK | PSR_MODE32_BIT); in to_hw_pstate()
243 return (ctxt->regs.pstate & ~(PSR_MODE_MASK | PSR_MODE32_BIT)) | mode; in to_hw_pstate()
262 if (!(mode & PSR_MODE32_BIT) && mode >= PSR_MODE_EL2t) in __sysreg_restore_el2_return_state()
/linux-6.12.1/arch/arm64/include/asm/
Dptrace.h208 (((regs)->pstate & (PSR_MODE32_BIT | PSR_MODE_MASK)) == \
209 (PSR_MODE32_BIT | PSR_MODE_EL0t))
Dkvm_emulate.h137 return !!(*vcpu_cpsr(vcpu) & PSR_MODE32_BIT); in vcpu_mode_is_32bit()
173 switch (ctxt->regs.pstate & (PSR_MODE32_BIT | PSR_MODE_MASK)) { in vcpu_is_el2_ctxt()
/linux-6.12.1/arch/arm64/kvm/hyp/
Dexception.c97 mode = *vcpu_cpsr(vcpu) & (PSR_MODE_MASK | PSR_MODE32_BIT); in enter_exception64()
103 else if (!(mode & PSR_MODE32_BIT)) in enter_exception64()
/linux-6.12.1/arch/arm64/kvm/
Dtrace_arm.h351 __entry->target_mode = spsr_el2 & (PSR_MODE_MASK | PSR_MODE32_BIT);
381 __entry->source_mode = *vcpu_cpsr(vcpu) & (PSR_MODE_MASK | PSR_MODE32_BIT);
Dguest.c277 if (*vcpu_cpsr(vcpu) & PSR_MODE32_BIT) { in set_core_reg()
Demulate-nested.c2328 (spsr & PSR_MODE32_BIT) || in kvm_check_illegal_exception_return()
2341 PSR_MODE_MASK | PSR_MODE32_BIT); in kvm_check_illegal_exception_return()
2440 mode = pstate & (PSR_MODE_MASK | PSR_MODE32_BIT); in kvm_inject_nested()
/linux-6.12.1/arch/arm64/include/uapi/asm/
Dptrace.h42 #define PSR_MODE32_BIT 0x00000010 macro