Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_tm_builtin.c82 newmsr = (newmsr & ~MSR_LE) | (msr & MSR_LE); in kvmhv_p9_tm_emulation_early()
H A Dbook3s_hv_tm.c126 newmsr = (newmsr & ~MSR_LE) | (msr & MSR_LE); in kvmhv_p9_tm_emulation()
H A 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()
1555 if (vcpu->arch.intr_msr & MSR_LE) in kvmppc_get_one_reg_pr()
1638 vcpu->arch.intr_msr |= MSR_LE; in kvmppc_set_lpcr_pr()
1640 vcpu->arch.intr_msr &= ~MSR_LE; in kvmppc_set_lpcr_pr()
1783 vcpu->arch.shadow_msr = MSR_USER64 & ~MSR_LE; in kvmppc_core_vcpu_create_pr()
H A Dbook3s_emulate.c247 if ((kvmppc_get_msr(vcpu) & MSR_LE) && in kvmppc_core_emulate_op_pr()
/openbmc/linux/tools/testing/selftests/powerpc/tm/
H A Dtm-trap.c48 #define MSR_LE 1UL macro
67 thread_endianness = MSR_LE & ucp->uc_mcontext.gp_regs[PT_MSR]; in trap_signal_handler()
/openbmc/qemu/linux-user/ppc/
H A Dsignal.c361 ppc_store_msr(env, ((env->msr & ~(1ull << MSR_LE)) | in restore_user_regs()
362 (msr & (1ull << MSR_LE)))); in restore_user_regs()
469 ppc_store_msr(env, env->msr & ~(1ull << MSR_LE)); in setup_frame()
558 ppc_store_msr(env, env->msr & ~(1ull << MSR_LE)); in setup_rt_frame()
561 ppc_store_msr(env, env->msr | (1ull << MSR_LE)); in setup_rt_frame()
/openbmc/linux/arch/powerpc/kernel/
H A Dsignal_32.c491 regs_set_return_msr(regs, (regs->msr & ~MSR_LE) | (msr & MSR_LE)); in restore_user_regs()
596 regs_set_return_msr(regs, (regs->msr & ~MSR_LE) | (msr & MSR_LE)); in restore_tm_user_regs()
819 regs_set_return_msr(regs, (regs->msr & ~MSR_LE) | (MSR_KERNEL & MSR_LE)); in handle_rt_signal32()
907 regs_set_return_msr(regs, (regs->msr & ~MSR_LE) | (MSR_KERNEL & MSR_LE)); in handle_signal32()
H A 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()
H A Dprom_entry_64.S58 LOAD_REG_IMMEDIATE(r12, MSR_SF | MSR_LE)
H A Dsyscalls.c116 current->thread.regs->msr ^ MSR_LE); in SYSCALL_DEFINE0()
H A Dalign.c314 if ((regs->msr & MSR_LE) != (MSR_KERNEL & MSR_LE)) { in fix_alignment()
H A Dprocess.c1493 {MSR_LE, "LE"},
2100 regs_set_return_msr(regs, regs->msr & ~MSR_LE); in set_endian()
2102 regs_set_return_msr(regs, regs->msr | MSR_LE); in set_endian()
2121 if (regs->msr & MSR_LE) { in get_endian()
H A Dtraps.c919 swap = (msr & MSR_LE) != (MSR_KERNEL & MSR_LE); in p9_hmi_special_emu()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-wrappers.S27 li r0,MSR_IR|MSR_DR|MSR_LE
/openbmc/linux/arch/powerpc/boot/
H A Dppc_asm.h63 #define MSR_LE 0x0000000000000001 macro
H A Dopal-calls.S43 li r11,MSR_LE
/openbmc/qemu/target/ppc/
H A Dcpu_init.c2498 (1ull << MSR_LE); in POWERPC_FAMILY()
2540 (1ull << MSR_LE); in POWERPC_FAMILY()
2639 (1ull << MSR_LE); in POWERPC_FAMILY()
3316 (1ull << MSR_LE);
3356 (1ull << MSR_LE);
3403 (1ull << MSR_LE); in POWERPC_FAMILY()
3458 (1ull << MSR_LE);
3504 (1ull << MSR_LE);
3561 (1ull << MSR_LE);
3627 (1ull << MSR_LE);
[all …]
H A Dhelper_regs.c137 QEMU_BUILD_BUG_ON(MSR_LE != HFLAGS_LE); in hreg_compute_hflags_value()
141 msr_mask = ((1 << MSR_LE) | (1 << MSR_PR) | in hreg_compute_hflags_value()
H A Dexcp_helper.c144 return !!(env->msr & ((target_ulong)1 << MSR_LE)); in insn_need_byteswap()
726 new_msr |= (target_ulong)1 << MSR_LE; in powerpc_excp_6xx()
876 new_msr |= (target_ulong)1 << MSR_LE; in powerpc_excp_7xx()
1020 new_msr |= (target_ulong)1 << MSR_LE; in powerpc_excp_74xx()
1598 new_msr |= (target_ulong)1 << MSR_LE; in powerpc_excp_books()
2502 msr |= (1ULL << MSR_LE); in ppc_cpu_do_fwnmi_machine_check()
H A Dcpu.h465 #define MSR_LE PPC_BIT_NR(63) /* Little-endian mode 1 hflags */ macro
515 FIELD(MSR, LE, MSR_LE, 1)
/openbmc/linux/arch/powerpc/include/asm/
H A Dkvm_book3s.h398 return (kvmppc_get_msr(vcpu) & MSR_LE) != (MSR_KERNEL & MSR_LE); in kvmppc_need_byteswap()
H A 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)
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dras.c496 (MSR_LE|MSR_RI|MSR_DR|MSR_IR|MSR_ME|MSR_PR| in pSeries_system_reset_exception()
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dprocessor.h47 #define MSR_LE (1<<0) /* Little Endian */ macro
/openbmc/linux/arch/powerpc/lib/
H A Dsstep.c1755 op->val = 0xffffffff & ~(MSR_ME | MSR_LE); in analyse_instr()
3336 cross_endian = (regs->msr & MSR_LE) != (MSR_KERNEL & MSR_LE); in emulate_loadstore()

12