Home
last modified time | relevance | path

Searched refs:PSR_MODE_MASK (Results 1 – 9 of 9) sorted by relevance

/linux/arch/arm64/kvm/hyp/vhe/
H A Dswitch.c357 mode = spsr & (PSR_MODE_MASK | PSR_MODE32_BIT); in kvm_hyp_handle_eret()
382 spsr = (spsr & ~(PSR_MODE_MASK | PSR_MODE32_BIT)) | mode; in kvm_hyp_handle_eret()
549 u64 mode = *vcpu_cpsr(vcpu) & (PSR_MODE_MASK | PSR_MODE32_BIT); in fixup_guest_exit()
560 *vcpu_cpsr(vcpu) &= ~(PSR_MODE_MASK | PSR_MODE32_BIT); in fixup_guest_exit()
/linux/tools/testing/selftests/arm64/signal/testcases/
H A Dmangle_pstate_invalid_mode_template.h15 uc->uc_mcontext.pstate &= ~PSR_MODE_MASK; \
/linux/drivers/soc/apple/
H A Drtkit-crashlog.c25 #define PSR_MODE_MASK 0x0000000f macro
140 switch (regs->psr & PSR_MODE_MASK) { in apple_rtkit_crashlog_dump_regs()
/linux/arch/arm64/kvm/
H A 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);
H A Dhandle_exit.c530 u64 mode = spsr & PSR_MODE_MASK; in nvhe_hyp_panic_handler()
H A Demulate-nested.c2638 u64 mode = spsr & PSR_MODE_MASK; in kvm_check_illegal_exception_return()
2662 PSR_MODE_MASK | PSR_MODE32_BIT); in kvm_check_illegal_exception_return()
2762 mode = pstate & (PSR_MODE_MASK | PSR_MODE32_BIT); in kvm_inject_nested()
/linux/arch/arm64/kvm/hyp/include/hyp/
H A Dsysreg-sr.h293 u64 mode = ctxt->regs.pstate & (PSR_MODE_MASK | PSR_MODE32_BIT); in to_hw_pstate()
304 return (ctxt->regs.pstate & ~(PSR_MODE_MASK | PSR_MODE32_BIT)) | mode; in to_hw_pstate()
/linux/arch/arm64/kernel/
H A Dhyp-stub.S157 and x0, x0, #~PSR_MODE_MASK
/linux/arch/arm64/kvm/hyp/
H A Dexception.c91 mode = *vcpu_cpsr(vcpu) & (PSR_MODE_MASK | PSR_MODE32_BIT); in enter_exception64()