MSR_PR 61 arch/powerpc/include/asm/ppc_asm.h andi. r10,r12,MSR_PR; /* Restore cr0 (coming from user) */ \ MSR_PR 163 arch/powerpc/include/asm/ptrace.h #define user_mode(regs) (((regs)->msr & MSR_PR) != 0) MSR_PR 147 arch/powerpc/include/asm/reg.h #define MSR_USER32 (MSR_ | MSR_PR | MSR_EE) MSR_PR 152 arch/powerpc/include/asm/reg.h #define MSR_USER (MSR_KERNEL|MSR_PR|MSR_EE) MSR_PR 43 arch/powerpc/include/asm/reg_booke.h #define MSR_USER32 (MSR_ | MSR_PR | MSR_EE) MSR_PR 47 arch/powerpc/include/asm/reg_booke.h #define MSR_USER (MSR_KERNEL|MSR_PR|MSR_EE) MSR_PR 50 arch/powerpc/include/asm/reg_booke.h #define MSR_USER (MSR_KERNEL|MSR_PR|MSR_EE) MSR_PR 24 arch/powerpc/kernel/head_32.h andi. r11,r11,MSR_PR MSR_PR 55 arch/powerpc/kernel/head_booke.h andi. r11, r11, MSR_PR; /* check whether user or kernel */\ MSR_PR 240 arch/powerpc/kernel/head_booke.h andi. r11,r11,MSR_PR; \ MSR_PR 1313 arch/powerpc/kernel/process.c {MSR_PR, "PR"}, MSR_PR 407 arch/powerpc/kernel/traps.c if (regs->msr & MSR_PR) MSR_PR 1495 arch/powerpc/kernel/traps.c if (!(regs->msr & MSR_PR) && /* not user-mode */ MSR_PR 130 arch/powerpc/kvm/book3s.c crit = crit && !(kvmppc_get_msr(vcpu) & MSR_PR); MSR_PR 146 arch/powerpc/kvm/book3s_32_mmu.c if (kvmppc_get_msr(vcpu) & MSR_PR) { MSR_PR 229 arch/powerpc/kvm/book3s_32_mmu.c if ((sr_kp(sre) && (kvmppc_get_msr(vcpu) & MSR_PR)) || MSR_PR 230 arch/powerpc/kvm/book3s_32_mmu.c (sr_ks(sre) && !(kvmppc_get_msr(vcpu) & MSR_PR))) MSR_PR 308 arch/powerpc/kvm/book3s_32_mmu.c !(kvmppc_get_msr(vcpu) & MSR_PR)) { MSR_PR 390 arch/powerpc/kvm/book3s_32_mmu.c if (msr & MSR_PR) MSR_PR 84 arch/powerpc/kvm/book3s_32_mmu_host.c if (kvmppc_get_msr(vcpu) & MSR_PR) MSR_PR 270 arch/powerpc/kvm/book3s_32_mmu_host.c if (kvmppc_get_msr(vcpu) & MSR_PR) MSR_PR 226 arch/powerpc/kvm/book3s_64_mmu.c !(kvmppc_get_msr(vcpu) & MSR_PR)) { MSR_PR 271 arch/powerpc/kvm/book3s_64_mmu.c if ((kvmppc_get_msr(vcpu) & MSR_PR) && slbe->Kp) MSR_PR 273 arch/powerpc/kvm/book3s_64_mmu.c else if (!(kvmppc_get_msr(vcpu) & MSR_PR) && slbe->Ks) MSR_PR 316 arch/powerpc/kvm/book3s_64_mmu.c !(kvmppc_get_msr(vcpu) & MSR_PR)) MSR_PR 582 arch/powerpc/kvm/book3s_64_mmu.c return mp_ea && !(kvmppc_get_msr(vcpu) & MSR_PR) && MSR_PR 643 arch/powerpc/kvm/book3s_64_mmu.c if (kvmppc_get_msr(vcpu) & MSR_PR) MSR_PR 653 arch/powerpc/kvm/book3s_64_mmu.c !(kvmppc_get_msr(vcpu) & MSR_PR)) { MSR_PR 50 arch/powerpc/kvm/book3s_64_mmu_host.c if (kvmppc_get_msr(vcpu) & MSR_PR) MSR_PR 231 arch/powerpc/kvm/book3s_64_mmu_host.c if (kvmppc_get_msr(vcpu) & MSR_PR) MSR_PR 388 arch/powerpc/kvm/book3s_64_mmu_hv.c key = (vcpu->arch.shregs.msr & MSR_PR) ? SLB_VSID_KP : SLB_VSID_KS; MSR_PR 274 arch/powerpc/kvm/book3s_64_mmu_radix.c if (kvmppc_get_msr(vcpu) & MSR_PR) { MSR_PR 81 arch/powerpc/kvm/book3s_emulate.c if ((kvmppc_get_msr(vcpu) & MSR_PR) && level > PRIV_PROBLEM) MSR_PR 149 arch/powerpc/kvm/book3s_emulate.c if (kvmppc_get_msr(vcpu) & MSR_PR) MSR_PR 224 arch/powerpc/kvm/book3s_emulate.c if (guest_msr & MSR_PR) MSR_PR 365 arch/powerpc/kvm/book3s_emulate.c if ((kvmppc_get_msr(vcpu) & MSR_PR) || MSR_PR 501 arch/powerpc/kvm/book3s_emulate.c if (!(kvmppc_get_msr(vcpu) & MSR_PR)) { MSR_PR 543 arch/powerpc/kvm/book3s_emulate.c WARN_ON(guest_msr & MSR_PR); MSR_PR 566 arch/powerpc/kvm/book3s_emulate.c if (guest_msr & MSR_PR) { MSR_PR 600 arch/powerpc/kvm/book3s_emulate.c if (guest_msr & MSR_PR) { MSR_PR 849 arch/powerpc/kvm/book3s_emulate.c if (kvmppc_get_msr(vcpu) & MSR_PR) { MSR_PR 854 arch/powerpc/kvm/book3s_emulate.c if ((kvmppc_get_msr(vcpu) & MSR_PR) || sprn == 0) { MSR_PR 1014 arch/powerpc/kvm/book3s_emulate.c if (kvmppc_get_msr(vcpu) & MSR_PR) { MSR_PR 1019 arch/powerpc/kvm/book3s_emulate.c if ((kvmppc_get_msr(vcpu) & MSR_PR) || sprn == 0 || MSR_PR 4306 arch/powerpc/kvm/book3s_hv.c !(vcpu->arch.shregs.msr & MSR_PR)) { MSR_PR 1259 arch/powerpc/kvm/book3s_hv_rm_mmu.c key = (vcpu->arch.shregs.msr & MSR_PR) ? SLB_VSID_KP : SLB_VSID_KS; MSR_PR 23 arch/powerpc/kvm/book3s_hv_tm.c if (msr & MSR_PR) { MSR_PR 62 arch/powerpc/kvm/book3s_hv_tm.c if ((msr & MSR_PR) && (vcpu->arch.vcore->pcr & PCR_ARCH_206)) { MSR_PR 73 arch/powerpc/kvm/book3s_hv_tm.c if ((msr & MSR_PR) && !(vcpu->arch.fscr & FSCR_EBB)) { MSR_PR 110 arch/powerpc/kvm/book3s_hv_tm.c if ((msr & MSR_PR) && (vcpu->arch.vcore->pcr & PCR_ARCH_206)) { MSR_PR 42 arch/powerpc/kvm/book3s_hv_tm_builtin.c if ((msr & MSR_PR) && (vcpu->arch.vcore->pcr & PCR_ARCH_206)) MSR_PR 46 arch/powerpc/kvm/book3s_hv_tm_builtin.c ((msr & MSR_PR) && !(mfspr(SPRN_FSCR) & FSCR_EBB))) MSR_PR 80 arch/powerpc/kvm/book3s_hv_tm_builtin.c if ((msr & MSR_PR) && (vcpu->arch.vcore->pcr & PCR_ARCH_206)) MSR_PR 201 arch/powerpc/kvm/book3s_pr.c smsr |= MSR_ME | MSR_RI | MSR_IR | MSR_DR | MSR_PR | MSR_EE; MSR_PR 214 arch/powerpc/kvm/book3s_pr.c if (!(guest_msr & MSR_PR)) MSR_PR 283 arch/powerpc/kvm/book3s_pr.c if (unlikely((old_msr & MSR_PR) && MSR_PR 468 arch/powerpc/kvm/book3s_pr.c if (!(msr & MSR_PR) && MSR_TM_TRANSACTIONAL(msr)) MSR_PR 495 arch/powerpc/kvm/book3s_pr.c if ((kvmppc_get_msr(vcpu) & (MSR_PR|MSR_IR|MSR_DR)) != MSR_PR 496 arch/powerpc/kvm/book3s_pr.c (old_msr & (MSR_PR|MSR_IR|MSR_DR))) { MSR_PR 501 arch/powerpc/kvm/book3s_pr.c if (!(msr & MSR_PR) && vcpu->arch.magic_page_pa) { MSR_PR 520 arch/powerpc/kvm/book3s_pr.c !(old_msr & MSR_PR) && !(old_msr & MSR_SF) && (msr & MSR_SF)) { MSR_PR 958 arch/powerpc/kvm/book3s_pr.c if (!(kvmppc_get_msr(vcpu) & MSR_PR)) MSR_PR 1016 arch/powerpc/kvm/book3s_pr.c if ((fac == FSCR_TM_LG) && !(kvmppc_get_msr(vcpu) & MSR_PR)) MSR_PR 1079 arch/powerpc/kvm/book3s_pr.c if (kvmppc_get_msr(vcpu) & MSR_PR) { MSR_PR 1279 arch/powerpc/kvm/book3s_pr.c !(kvmppc_get_msr(vcpu) & MSR_PR)) { MSR_PR 1311 arch/powerpc/kvm/book3s_pr.c } else if (!(kvmppc_get_msr(vcpu) & MSR_PR) && MSR_PR 409 arch/powerpc/kvm/booke.c crit = crit && !(vcpu->arch.shared->msr & MSR_PR); MSR_PR 1103 arch/powerpc/kvm/booke.c if (vcpu->arch.shared->msr & (MSR_PR | MSR_GS)) { MSR_PR 1207 arch/powerpc/kvm/booke.c if (!(vcpu->arch.shared->msr & MSR_PR)) { MSR_PR 1221 arch/powerpc/kvm/booke.c if (!(vcpu->arch.shared->msr & MSR_PR) && MSR_PR 1242 arch/powerpc/kvm/booke.c if (!(vcpu->arch.shared->msr & MSR_PR) && MSR_PR 1970 arch/powerpc/kvm/booke.c if (!(vcpu->arch.shared->msr & MSR_PR) && MSR_PR 220 arch/powerpc/kvm/e500.h return !!(vcpu->arch.shared->msr & MSR_PR); MSR_PR 311 arch/powerpc/kvm/e500_mmu_host.c u32 pr = vcpu->arch.shared->msr & MSR_PR; MSR_PR 672 arch/powerpc/kvm/e500_mmu_host.c pr = vcpu->arch.shared->msr & MSR_PR; MSR_PR 352 arch/powerpc/kvm/powerpc.c !(kvmppc_get_msr(vcpu) & MSR_PR)) { MSR_PR 398 arch/powerpc/kvm/powerpc.c !(kvmppc_get_msr(vcpu) & MSR_PR)) { MSR_PR 1232 arch/powerpc/lib/sstep.c if (regs->msr & MSR_PR) MSR_PR 1519 arch/powerpc/lib/sstep.c if (regs->msr & MSR_PR) MSR_PR 1525 arch/powerpc/lib/sstep.c if (regs->msr & MSR_PR) MSR_PR 1533 arch/powerpc/lib/sstep.c if (regs->msr & MSR_PR) MSR_PR 2963 arch/powerpc/lib/sstep.c if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_FP)) MSR_PR 2970 arch/powerpc/lib/sstep.c if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_VEC)) MSR_PR 2985 arch/powerpc/lib/sstep.c if (!(regs->msr & MSR_PR) && !(regs->msr & msrbit)) MSR_PR 3022 arch/powerpc/lib/sstep.c !(regs->msr & MSR_PR) && MSR_PR 3034 arch/powerpc/lib/sstep.c if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_FP)) MSR_PR 3041 arch/powerpc/lib/sstep.c if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_VEC)) MSR_PR 3056 arch/powerpc/lib/sstep.c if (!(regs->msr & MSR_PR) && !(regs->msr & msrbit)) MSR_PR 1488 arch/powerpc/mm/book3s64/hash_utils.c if ((msr & MSR_PR) || (region_id == USER_REGION_ID)) MSR_PR 240 arch/powerpc/perf/core-book3s.c if (regs->msr & MSR_PR) MSR_PR 239 arch/powerpc/platforms/powernv/npu-dma.c pnv_npu2_map_lpar_dev(gpdev, 0, MSR_DR | MSR_PR | MSR_HV); MSR_PR 1296 arch/powerpc/platforms/powernv/pci-ioda.c pnv_npu2_map_lpar(pe, MSR_DR | MSR_PR | MSR_HV); MSR_PR 476 arch/powerpc/platforms/pseries/ras.c (MSR_LE|MSR_RI|MSR_DR|MSR_IR|MSR_ME|MSR_PR| MSR_PR 551 arch/powerpc/xmon/xmon.c if ((regs->msr & (MSR_IR|MSR_PR|MSR_64BIT)) == (MSR_IR|MSR_64BIT)) MSR_PR 705 arch/powerpc/xmon/xmon.c if ((regs->msr & (MSR_IR|MSR_PR|MSR_64BIT)) == (MSR_IR|MSR_64BIT)) { MSR_PR 758 arch/powerpc/xmon/xmon.c if ((regs->msr & (MSR_IR|MSR_PR|MSR_64BIT)) != (MSR_IR|MSR_64BIT)) MSR_PR 789 arch/powerpc/xmon/xmon.c if ((regs->msr & (MSR_IR|MSR_PR|MSR_64BIT)) != (MSR_IR|MSR_64BIT)) MSR_PR 799 arch/powerpc/xmon/xmon.c if ((regs->msr & (MSR_IR|MSR_PR|MSR_64BIT)) != (MSR_IR|MSR_64BIT)) MSR_PR 824 arch/powerpc/xmon/xmon.c if ((regs->msr & (MSR_IR|MSR_PR|MSR_64BIT)) == (MSR_IR|MSR_64BIT)) { MSR_PR 1175 arch/powerpc/xmon/xmon.c if ((regs->msr & (MSR_64BIT|MSR_PR|MSR_IR)) == (MSR_64BIT|MSR_IR)) { MSR_PR 1663 arch/powerpc/xmon/xmon.c if (regs->msr & MSR_PR) MSR_PR 203 drivers/misc/cxl/cxl.h #define CXL_PSL_SR_An_PR MSR_PR /* Problem state, GA1: 1 */ MSR_PR 204 drivers/vfio/pci/vfio_pci_nvlink2.c kvm->arch.lpid, MSR_DR | MSR_PR)) MSR_PR 61 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h andi. r10,r12,MSR_PR; /* Restore cr0 (coming from user) */ \