Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm64/include/asm/
Dptrace.h205 (((regs)->pstate & PSR_MODE_MASK) == PSR_MODE_EL0t)
208 (((regs)->pstate & (PSR_MODE32_BIT | PSR_MODE_MASK)) == \
212 ((regs)->pstate & PSR_MODE_MASK)
Dkvm_emulate.h173 switch (ctxt->regs.pstate & (PSR_MODE32_BIT | PSR_MODE_MASK)) { in vcpu_is_el2_ctxt()
269 mode = *vcpu_cpsr(vcpu) & PSR_MODE_MASK; in vcpu_mode_priv()
/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/kvm/
Dinject_fault.c32 switch(*vcpu_cpsr(vcpu) & PSR_MODE_MASK) { in pend_sync_exception()
76 if (is_aarch32 || (cpsr & PSR_MODE_MASK) == PSR_MODE_EL0t) in inject_abt64()
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);
Dhandle_exit.c445 u64 mode = spsr & PSR_MODE_MASK; in nvhe_hyp_panic_handler()
Demulate-nested.c2317 u64 mode = spsr & PSR_MODE_MASK; 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/tools/testing/selftests/arm64/signal/testcases/
Dmangle_pstate_invalid_mode_template.h15 uc->uc_mcontext.pstate &= ~PSR_MODE_MASK; \
/linux-6.12.1/drivers/soc/apple/
Drtkit-crashlog.c25 #define PSR_MODE_MASK 0x0000000f macro
140 switch (regs->psr & PSR_MODE_MASK) { in apple_rtkit_crashlog_dump_regs()
/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()
/linux-6.12.1/arch/arm64/kernel/
Dsdei.c244 mode = regs->pstate & (PSR_MODE32_BIT | PSR_MODE_MASK); in do_sdei_event()
Dhyp-stub.S152 and x0, x0, #~PSR_MODE_MASK
/linux-6.12.1/arch/arm64/include/uapi/asm/
Dptrace.h39 #define PSR_MODE_MASK 0x0000000f macro
/linux-6.12.1/arch/arm64/kvm/hyp/
Dexception.c97 mode = *vcpu_cpsr(vcpu) & (PSR_MODE_MASK | PSR_MODE32_BIT); in enter_exception64()