Home
last modified time | relevance | path

Searched refs:MSR_EE (Results 1 – 25 of 75) sorted by relevance

123

/openbmc/linux/arch/powerpc/include/asm/
H A Dhw_irq.h67 wrtee(MSR_EE); in __hard_irq_enable()
71 __mtmsrd(MSR_EE | MSR_RI, 1); in __hard_irq_enable()
73 mtmsr(mfmsr() | MSR_EE); in __hard_irq_enable()
85 mtmsr(mfmsr() & ~MSR_EE); in __hard_irq_disable()
226 WARN_ON_ONCE(mfmsr() & MSR_EE); in set_pmi_irq_pending()
238 WARN_ON_ONCE(mfmsr() & MSR_EE); in clear_pmi_irq_pending()
350 WARN_ON(mfmsr() & MSR_EE); in should_hard_irq_enable()
442 mtmsr(flags & ~MSR_EE); in arch_local_irq_save()
459 return (flags & MSR_EE) == 0; in arch_irqs_disabled_flags()
471 return !(regs->msr & MSR_EE); in arch_irq_disabled_regs()
[all …]
H A Dinterrupt.h167 INT_SOFT_MASK_BUG_ON(regs, !(regs->msr & MSR_EE)); in interrupt_enter_prepare()
199 !(regs->msr & MSR_EE)); in interrupt_enter_prepare()
296 if (!(regs->msr & MSR_EE) || is_implicit_soft_masked(regs)) { in interrupt_nmi_enter_prepare()
H A Dreg_booke.h43 #define MSR_USER32 (MSR_ | MSR_PR | MSR_EE)
47 #define MSR_USER (MSR_KERNEL|MSR_PR|MSR_EE)
50 #define MSR_USER (MSR_KERNEL|MSR_PR|MSR_EE)
/openbmc/u-boot/arch/powerpc/lib/
H A Dinterrupts.c52 set_msr (get_msr () | MSR_EE); in enable_interrupts()
60 set_msr (msr & ~MSR_EE); in disable_interrupts()
61 return ((msr & MSR_EE) != 0); in disable_interrupts()
72 set_msr (get_msr () | MSR_EE); in interrupt_init()
/openbmc/linux/arch/powerpc/kernel/
H A Dkvm_emul.S59 lis r30, (~(MSR_EE | MSR_RI))@h
60 ori r30, r30, (~(MSR_EE | MSR_RI))@l
66 andi. r30, r30, (MSR_EE|MSR_RI)
78 andi. r30, r30, MSR_EE
115 #define MSR_SAFE_BITS (MSR_EE | MSR_RI)
163 andi. r31, r30, MSR_EE
209 rlwimi r31, r30, 0, MSR_EE
216 andi. r30, r30, MSR_EE
270 rlwinm r31, r31, 0, ~MSR_EE
H A Dirq_64.c107 WARN_ON_ONCE(mfmsr() & MSR_EE); in __replay_soft_interrupts()
121 regs.msr |= MSR_EE; in __replay_soft_interrupts()
247 WARN_ON_ONCE(!(mfmsr() & MSR_EE)); in arch_local_irq_restore()
264 WARN_ON_ONCE(mfmsr() & MSR_EE); in arch_local_irq_restore()
275 if (!(mfmsr() & MSR_EE)) { in arch_local_irq_restore()
290 if (WARN_ON_ONCE(mfmsr() & MSR_EE)) in arch_local_irq_restore()
H A Dmisc_64.S191 ori r0,r4,MSR_EE
192 xori r0,r0,MSR_EE
225 ori r0,r5,MSR_EE
226 xori r0,r0,MSR_EE
H A Depapr_hcalls.S28 ori r4, r4, MSR_EE
H A Didle_85xx.S68 ori r7,r7,MSR_EE
/openbmc/linux/arch/microblaze/include/asm/
H A Dregisters.h19 #define MSR_EE (1<<8) /* 0x100 */ macro
36 # define MSR_KERNEL (MSR_EE | MSR_VM)
38 # define MSR_KERNEL_VMS (MSR_EE | MSR_VMS)
/openbmc/qemu/target/microblaze/
H A Dcpu.h64 #define MSR_EE (1<<8) /* 0x100 */ macro
75 #define MSR_KERNEL MSR_EE|MSR_VM
77 #define MSR_KERNEL_VMS MSR_EE|MSR_VMS
281 #define MSR_TB_MASK (MSR_UM | MSR_VM | MSR_EE)
H A Dop_helper.c78 if ((env->msr & MSR_EE) && in check_divz()
139 && (env->msr & MSR_EE)) { in update_fpu_flags()
411 if (!(env->msr & MSR_EE)) { in mb_cpu_transaction_failed()
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dcpu.c138 msr &= ~( MSR_EE | MSR_IR | MSR_DR); in do_reset()
161 msr &= ~(MSR_ME | MSR_EE | MSR_IR | MSR_DR); in do_reset()
/openbmc/linux/arch/powerpc/kvm/
H A Dbooke_emulate.c90 vcpu->arch.shared->msr = (vcpu->arch.shared->msr & ~MSR_EE) in kvmppc_booke_emulate_op()
91 | (kvmppc_get_gpr(vcpu, rs) & MSR_EE); in kvmppc_booke_emulate_op()
96 vcpu->arch.shared->msr = (vcpu->arch.shared->msr & ~MSR_EE) in kvmppc_booke_emulate_op()
97 | (inst & MSR_EE); in kvmppc_booke_emulate_op()
H A Dbook3s_rmhandlers.S158 ori r5, r5, MSR_EE
/openbmc/linux/arch/powerpc/platforms/82xx/
H A Dpq2.c29 mtmsr(mfmsr() & ~(MSR_ME | MSR_EE | MSR_IR | MSR_DR)); in pq2_restart()
/openbmc/linux/arch/powerpc/platforms/44x/
H A Didle.c23 mtmsr(msr_save|MSR_WE|MSR_EE|MSR_CE|MSR_DE); in ppc44x_idle()
/openbmc/linux/arch/powerpc/sysdev/
H A D6xx-suspend.S34 ori r5, r5, MSR_EE
/openbmc/linux/arch/powerpc/platforms/pasemi/
H A Dpowersave.S62 LOAD_REG_IMMEDIATE(r6,MSR_DR|MSR_IR|MSR_ME|MSR_EE)
/openbmc/qemu/target/ppc/
H A Dcpu_init.c2175 (1ull << MSR_EE) |
2246 (1ull << MSR_EE) |
2285 (1ull << MSR_EE) |
2337 (1ull << MSR_EE) |
2407 (1ull << MSR_EE) |
2446 (1ull << MSR_EE) |
2488 (1ull << MSR_EE) | in POWERPC_FAMILY()
2530 (1ull << MSR_EE) | in POWERPC_FAMILY()
2586 (1ull << MSR_EE) | in POWERPC_FAMILY()
2626 (1ull << MSR_EE) | in POWERPC_FAMILY()
[all …]
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dsubcore-asm.S25 ori r4,r4,MSR_EE|MSR_SE|MSR_BE|MSR_RI
/openbmc/u-boot/arch/powerpc/cpu/mpc8xx/
H A Dtraps.c61 regs->msr, regs->msr & MSR_EE ? 1 : 0, in show_regs()
/openbmc/linux/arch/powerpc/platforms/powermac/
H A Dcache.S43 rlwinm r0,r11,0,~MSR_EE
193 rlwinm r0,r11,0,~MSR_EE
/openbmc/u-boot/drivers/timer/
H A Dmpc83xx_timer.c137 set_msr(get_msr() | MSR_EE); in interrupt_init()
/openbmc/u-boot/arch/powerpc/cpu/mpc86xx/
H A Dtraps.c67 regs->msr, regs->msr & MSR_EE ? 1 : 0, in show_regs()

123