Home
last modified time | relevance | path

Searched refs:MSR_LE (Results 1 – 22 of 22) sorted by relevance

/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv_tm_builtin.c82 newmsr = (newmsr & ~MSR_LE) | (msr & MSR_LE); in kvmhv_p9_tm_emulation_early()
Dbook3s_hv_tm.c126 newmsr = (newmsr & ~MSR_LE) | (msr & MSR_LE); in kvmhv_p9_tm_emulation()
Dbook3s_pr.c238 smsr &= MSR_FE0 | MSR_FE1 | MSR_SF | MSR_SE | MSR_BE | MSR_LE | in kvmppc_recalc_shadow_msr()
241 smsr &= MSR_FE0 | MSR_FE1 | MSR_SF | MSR_SE | MSR_BE | MSR_LE; in kvmppc_recalc_shadow_msr()
1553 if (vcpu->arch.intr_msr & MSR_LE) in kvmppc_get_one_reg_pr()
1636 vcpu->arch.intr_msr |= MSR_LE; in kvmppc_set_lpcr_pr()
1638 vcpu->arch.intr_msr &= ~MSR_LE; in kvmppc_set_lpcr_pr()
1781 vcpu->arch.shadow_msr = MSR_USER64 & ~MSR_LE; in kvmppc_core_vcpu_create_pr()
Dbook3s_emulate.c247 if ((kvmppc_get_msr(vcpu) & MSR_LE) && in kvmppc_core_emulate_op_pr()
Dpowerpc.c187 if (vcpu->arch.intr_msr & MSR_LE) in kvmppc_kvm_pv()
Dbook3s_hv.c2164 vcpu->arch.intr_msr |= MSR_LE; in kvmppc_set_lpcr()
2166 vcpu->arch.intr_msr &= ~MSR_LE; in kvmppc_set_lpcr()
/linux-6.1.9/tools/testing/selftests/powerpc/tm/
Dtm-trap.c48 #define MSR_LE 1UL macro
67 thread_endianness = MSR_LE & ucp->uc_mcontext.gp_regs[PT_MSR]; in trap_signal_handler()
/linux-6.1.9/arch/powerpc/kernel/
Dsignal_32.c488 regs_set_return_msr(regs, (regs->msr & ~MSR_LE) | (msr & MSR_LE)); in restore_user_regs()
593 regs_set_return_msr(regs, (regs->msr & ~MSR_LE) | (msr & MSR_LE)); in restore_tm_user_regs()
816 regs_set_return_msr(regs, (regs->msr & ~MSR_LE) | (MSR_KERNEL & MSR_LE)); in handle_rt_signal32()
904 regs_set_return_msr(regs, (regs->msr & ~MSR_LE) | (MSR_KERNEL & MSR_LE)); in handle_signal32()
Dsignal_64.c362 regs_set_return_msr(regs, (regs->msr & ~MSR_LE) | (msr & MSR_LE)); in __unsafe_restore_sigcontext()
479 regs_set_return_msr(regs, (regs->msr & ~MSR_LE) | (msr & MSR_LE)); in restore_tm_sigcontexts()
955 regs_set_return_msr(regs, (regs->msr & ~MSR_LE) | (MSR_KERNEL & MSR_LE)); in handle_rt_signal64()
Dalign.c314 if ((regs->msr & MSR_LE) != (MSR_KERNEL & MSR_LE)) { in fix_alignment()
Dsyscalls.c116 current->thread.regs->msr ^ MSR_LE); in SYSCALL_DEFINE0()
Dentry_64.S300 LOAD_REG_IMMEDIATE(r12, MSR_SF | MSR_LE)
Dprocess.c1458 {MSR_LE, "LE"},
2038 regs_set_return_msr(regs, regs->msr & ~MSR_LE); in set_endian()
2040 regs_set_return_msr(regs, regs->msr | MSR_LE); in set_endian()
2059 if (regs->msr & MSR_LE) { in get_endian()
Dtraps.c919 swap = (msr & MSR_LE) != (MSR_KERNEL & MSR_LE); in p9_hmi_special_emu()
Dexceptions-64s.S2008 xori r12,r12,MSR_LE
/linux-6.1.9/arch/powerpc/platforms/powernv/
Dopal-wrappers.S27 li r0,MSR_IR|MSR_DR|MSR_LE
/linux-6.1.9/arch/powerpc/boot/
Dppc_asm.h63 #define MSR_LE 0x0000000000000001 macro
Dopal-calls.S43 li r11,MSR_LE
/linux-6.1.9/arch/powerpc/include/asm/
Dkvm_book3s.h398 return (kvmppc_get_msr(vcpu) & MSR_LE) != (MSR_KERNEL & MSR_LE); in kvmppc_need_byteswap()
Dreg.h113 #define MSR_LE __MASK(MSR_LE_LG) /* Little Endian */ macro
139 #define MSR_ (__MSR | MSR_LE)
140 #define MSR_IDLE (MSR_ME | MSR_SF | MSR_HV | MSR_LE)
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dras.c496 (MSR_LE|MSR_RI|MSR_DR|MSR_IR|MSR_ME|MSR_PR| in pSeries_system_reset_exception()
/linux-6.1.9/arch/powerpc/lib/
Dsstep.c1745 op->val = 0xffffffff & ~(MSR_ME | MSR_LE); in analyse_instr()
3325 cross_endian = (regs->msr & MSR_LE) != (MSR_KERNEL & MSR_LE); in emulate_loadstore()