/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_tm_builtin.c | 82 newmsr = (newmsr & ~MSR_LE) | (msr & MSR_LE); in kvmhv_p9_tm_emulation_early()
|
H A D | book3s_hv_tm.c | 126 newmsr = (newmsr & ~MSR_LE) | (msr & MSR_LE); in kvmhv_p9_tm_emulation()
|
H A D | book3s_pr.c | 238 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 D | book3s_emulate.c | 247 if ((kvmppc_get_msr(vcpu) & MSR_LE) && in kvmppc_core_emulate_op_pr()
|
/openbmc/linux/tools/testing/selftests/powerpc/tm/ |
H A D | tm-trap.c | 48 #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 D | signal.c | 361 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 D | signal_32.c | 491 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 D | signal_64.c | 362 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 D | prom_entry_64.S | 58 LOAD_REG_IMMEDIATE(r12, MSR_SF | MSR_LE)
|
H A D | syscalls.c | 116 current->thread.regs->msr ^ MSR_LE); in SYSCALL_DEFINE0()
|
H A D | align.c | 314 if ((regs->msr & MSR_LE) != (MSR_KERNEL & MSR_LE)) { in fix_alignment()
|
H A D | process.c | 1493 {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 D | traps.c | 919 swap = (msr & MSR_LE) != (MSR_KERNEL & MSR_LE); in p9_hmi_special_emu()
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-wrappers.S | 27 li r0,MSR_IR|MSR_DR|MSR_LE
|
/openbmc/linux/arch/powerpc/boot/ |
H A D | ppc_asm.h | 63 #define MSR_LE 0x0000000000000001 macro
|
H A D | opal-calls.S | 43 li r11,MSR_LE
|
/openbmc/qemu/target/ppc/ |
H A D | cpu_init.c | 2498 (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 D | helper_regs.c | 137 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 D | excp_helper.c | 144 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 D | cpu.h | 465 #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 D | kvm_book3s.h | 398 return (kvmppc_get_msr(vcpu) & MSR_LE) != (MSR_KERNEL & MSR_LE); in kvmppc_need_byteswap()
|
H A D | reg.h | 113 #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 D | ras.c | 496 (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 D | processor.h | 47 #define MSR_LE (1<<0) /* Little Endian */ macro
|
/openbmc/linux/arch/powerpc/lib/ |
H A D | sstep.c | 1755 op->val = 0xffffffff & ~(MSR_ME | MSR_LE); in analyse_instr() 3336 cross_endian = (regs->msr & MSR_LE) != (MSR_KERNEL & MSR_LE); in emulate_loadstore()
|