/openbmc/linux/tools/testing/selftests/powerpc/signal/ |
H A D | sigreturn_kernel.c | 17 #define MSR_PR (1ul << 14) macro 112 sigreturn_msr_mask = ~MSR_PR; in test_sigreturn_kernel() 119 sigreturn_msr_mask = ~MSR_PR; in test_sigreturn_kernel()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_tm_builtin.c | 53 if ((msr & MSR_PR) && (vcpu->arch.vcore->pcr & PCR_ARCH_206)) in kvmhv_p9_tm_emulation_early() 57 ((msr & MSR_PR) && !(mfspr(SPRN_FSCR) & FSCR_EBB))) in kvmhv_p9_tm_emulation_early() 92 if ((msr & MSR_PR) && (vcpu->arch.vcore->pcr & PCR_ARCH_206)) in kvmhv_p9_tm_emulation_early()
|
H A D | book3s_emulate.c | 145 if (kvmppc_get_msr(vcpu) & MSR_PR) in kvmppc_emulate_treclaim() 220 if (guest_msr & MSR_PR) in kvmppc_emulate_tabort() 361 if ((kvmppc_get_msr(vcpu) & MSR_PR) || in kvmppc_core_emulate_op_pr() 497 if (!(kvmppc_get_msr(vcpu) & MSR_PR)) { in kvmppc_core_emulate_op_pr() 539 WARN_ON(guest_msr & MSR_PR); in kvmppc_core_emulate_op_pr() 562 if (guest_msr & MSR_PR) { in kvmppc_core_emulate_op_pr() 596 if (guest_msr & MSR_PR) { in kvmppc_core_emulate_op_pr() 848 if (kvmppc_get_msr(vcpu) & MSR_PR) { in kvmppc_core_emulate_mtspr_pr() 853 if ((kvmppc_get_msr(vcpu) & MSR_PR) || sprn == 0) { in kvmppc_core_emulate_mtspr_pr() 1016 if (kvmppc_get_msr(vcpu) & MSR_PR) { in kvmppc_core_emulate_mfspr_pr() [all …]
|
H A D | book3s_hv_tm.c | 25 if (msr & MSR_PR) { in emulate_tx_failure() 84 if ((msr & MSR_PR) && (vcpu->arch.vcore->pcr & PCR_ARCH_206)) { in kvmhv_p9_tm_emulation() 96 if ((msr & MSR_PR) && !(vcpu->arch.fscr & FSCR_EBB)) { in kvmhv_p9_tm_emulation() 135 if ((msr & MSR_PR) && (vcpu->arch.vcore->pcr & PCR_ARCH_206)) { in kvmhv_p9_tm_emulation()
|
H A D | book3s_32_mmu.c | 141 if (kvmppc_get_msr(vcpu) & MSR_PR) { in kvmppc_mmu_book3s_32_xlate_bat() 224 if ((sr_kp(sre) && (kvmppc_get_msr(vcpu) & MSR_PR)) || in kvmppc_mmu_book3s_32_xlate_pte() 225 (sr_ks(sre) && !(kvmppc_get_msr(vcpu) & MSR_PR))) in kvmppc_mmu_book3s_32_xlate_pte() 303 !(kvmppc_get_msr(vcpu) & MSR_PR)) { in kvmppc_mmu_book3s_32_xlate() 385 if (msr & MSR_PR) in kvmppc_mmu_book3s_32_esid_to_vsid()
|
H A D | book3s_64_mmu.c | 212 !(kvmppc_get_msr(vcpu) & MSR_PR)) { in kvmppc_mmu_book3s_64_xlate() 257 if ((kvmppc_get_msr(vcpu) & MSR_PR) && slbe->Kp) in kvmppc_mmu_book3s_64_xlate() 259 else if (!(kvmppc_get_msr(vcpu) & MSR_PR) && slbe->Ks) in kvmppc_mmu_book3s_64_xlate() 301 !(kvmppc_get_msr(vcpu) & MSR_PR)) in kvmppc_mmu_book3s_64_xlate() 567 return mp_ea && !(kvmppc_get_msr(vcpu) & MSR_PR) && in segment_contains_magic_page() 628 if (kvmppc_get_msr(vcpu) & MSR_PR) in kvmppc_mmu_book3s_64_esid_to_vsid() 638 !(kvmppc_get_msr(vcpu) & MSR_PR)) { in kvmppc_mmu_book3s_64_esid_to_vsid()
|
H A D | book3s_pr.c | 244 smsr |= MSR_ME | MSR_RI | MSR_IR | MSR_DR | MSR_PR | MSR_EE; in kvmppc_recalc_shadow_msr() 257 if (!(guest_msr & MSR_PR)) in kvmppc_recalc_shadow_msr() 326 if (unlikely((old_msr & MSR_PR) && in kvmppc_copy_from_svcpu() 489 if (!(msr & MSR_PR) && MSR_TM_TRANSACTIONAL(msr)) in kvmppc_set_msr_pr() 515 if ((kvmppc_get_msr(vcpu) & (MSR_PR|MSR_IR|MSR_DR)) != in kvmppc_set_msr_pr() 516 (old_msr & (MSR_PR|MSR_IR|MSR_DR))) { in kvmppc_set_msr_pr() 521 if (!(msr & MSR_PR) && vcpu->arch.magic_page_pa) { in kvmppc_set_msr_pr() 978 if (!(kvmppc_get_msr(vcpu) & MSR_PR)) in kvmppc_emulate_fac() 1102 if (kvmppc_get_msr(vcpu) & MSR_PR) { in kvmppc_exit_pr_progint() 1302 !(kvmppc_get_msr(vcpu) & MSR_PR)) { in kvmppc_handle_exit_pr() [all …]
|
H A D | book3s_32_mmu_host.c | 84 if (kvmppc_get_msr(vcpu) & MSR_PR) in find_sid_vsid() 270 if (kvmppc_get_msr(vcpu) & MSR_PR) in create_sid_map()
|
H A D | book3s_64_mmu_host.c | 51 if (kvmppc_get_msr(vcpu) & MSR_PR) in find_sid_vsid() 233 if (kvmppc_get_msr(vcpu) & MSR_PR) in create_sid_map()
|
/openbmc/qemu/target/ppc/ |
H A D | helper_regs.c | 53 bool pr = !!(env->msr & (1 << MSR_PR)); in hreg_check_bhrb_enable() 138 QEMU_BUILD_BUG_ON(MSR_PR != HFLAGS_PR); in hreg_compute_hflags_value() 141 msr_mask = ((1 << MSR_LE) | (1 << MSR_PR) | in hreg_compute_hflags_value() 219 dmmu_idx = msr & (1 << MSR_PR) ? 0 : 1; in hreg_compute_hflags_value() 335 if (is_book3s_arch2x(env) && ((value >> MSR_PR) & 1)) { in hreg_store_msr()
|
H A D | cpu_init.c | 2176 (1ull << MSR_PR) | 2247 (1ull << MSR_PR) | 2286 (1ull << MSR_PR) | 2338 (1ull << MSR_PR) | 2408 (1ull << MSR_PR) | 2447 (1ull << MSR_PR) | 2489 (1ull << MSR_PR) | in POWERPC_FAMILY() 2531 (1ull << MSR_PR) | in POWERPC_FAMILY() 2587 (1ull << MSR_PR) | in POWERPC_FAMILY() 2627 (1ull << MSR_PR) | in POWERPC_FAMILY() [all …]
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | ptrace.h | 50 #define user_mode(regs) (((regs)->msr & MSR_PR) != 0)
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | reg_booke.h | 43 #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)
|
H A D | ptrace.h | 226 #define user_mode(regs) (((regs)->msr & MSR_PR) != 0)
|
H A D | reg.h | 96 #define MSR_PR __MASK(MSR_PR_LG) /* Problem State / Privilege Level */ macro 143 #define MSR_USER32 (MSR_ | MSR_PR | MSR_EE) 148 #define MSR_USER (MSR_KERNEL|MSR_PR|MSR_EE)
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | head_32.h | 42 andi. r11, r11, MSR_PR 135 andi. r12,r9,MSR_PR
|
H A D | syscall.c | 34 BUG_ON(!(regs->msr & MSR_PR)); in system_call_exception()
|
H A D | exceptions-64e.S | 76 andi. r3,r3,MSR_PR 139 andi. r3,r3,MSR_PR 261 andi. r10,r11,MSR_PR; /* save stack pointer */ \ 590 andi. r0,r12,MSR_PR; 607 andi. r0,r12,MSR_PR; 728 1: andi. r14,r11,MSR_PR; /* check for userspace again */ 799 1: andi. r14,r11,MSR_PR; /* check for userspace again */
|
H A D | head_booke.h | 56 andi. r11, r11, MSR_PR; /* check whether user or kernel */\ 108 andi. r12,r9,MSR_PR 204 andi. r11,r11,MSR_PR; \
|
H A D | entry_32.S | 258 andi. r0,r4,MSR_PR 413 andi. r3,r3,MSR_PR; \
|
/openbmc/u-boot/arch/powerpc/cpu/mpc8xx/ |
H A D | traps.c | 62 regs->msr & MSR_PR ? 1 : 0, regs->msr & MSR_FP ? 1 : 0, in show_regs()
|
/openbmc/u-boot/arch/powerpc/cpu/mpc86xx/ |
H A D | traps.c | 68 regs->msr & MSR_PR ? 1 : 0, regs->msr & MSR_FP ? 1 : 0, in show_regs()
|
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/ |
H A D | traps.c | 58 regs->msr, regs->msr&MSR_EE ? 1 : 0, regs->msr&MSR_PR ? 1 : 0, in show_regs()
|
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | traps.c | 94 regs->msr, regs->msr&MSR_EE ? 1 : 0, regs->msr&MSR_PR ? 1 : 0, in show_regs()
|
/openbmc/linux/arch/powerpc/lib/ |
H A D | sstep.c | 1432 if (regs->msr & MSR_PR) in analyse_instr() 1745 if (regs->msr & MSR_PR) in analyse_instr() 1751 if (regs->msr & MSR_PR) in analyse_instr() 1759 if (regs->msr & MSR_PR) in analyse_instr() 3440 if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_FP)) in emulate_loadstore() 3447 if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_VEC)) in emulate_loadstore() 3462 if (!(regs->msr & MSR_PR) && !(regs->msr & msrbit)) in emulate_loadstore() 3499 !(regs->msr & MSR_PR) && in emulate_loadstore() 3511 if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_FP)) in emulate_loadstore() 3518 if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_VEC)) in emulate_loadstore() [all …]
|