Home
last modified time | relevance | path

Searched refs:MSR_PR (Results 1 – 25 of 32) sorted by relevance

12

/linux-3.4.99/arch/powerpc/kvm/
Dbook3s_32_mmu.c160 if (vcpu->arch.shared->msr & MSR_PR) { in kvmppc_mmu_book3s_32_xlate_bat()
241 if ((sr_kp(sre) && (vcpu->arch.shared->msr & MSR_PR)) || in kvmppc_mmu_book3s_32_xlate_pte()
242 (sr_ks(sre) && !(vcpu->arch.shared->msr & MSR_PR))) in kvmppc_mmu_book3s_32_xlate_pte()
315 !(vcpu->arch.shared->msr & MSR_PR)) { in kvmppc_mmu_book3s_32_xlate()
389 if (vcpu->arch.shared->msr & MSR_PR) in kvmppc_mmu_book3s_32_esid_to_vsid()
Dbook3s_64_mmu.c177 !(vcpu->arch.shared->msr & MSR_PR)) { in kvmppc_mmu_book3s_64_xlate()
205 if ((vcpu->arch.shared->msr & MSR_PR) && slbe->Kp) in kvmppc_mmu_book3s_64_xlate()
207 else if (!(vcpu->arch.shared->msr & MSR_PR) && slbe->Ks) in kvmppc_mmu_book3s_64_xlate()
495 if (vcpu->arch.shared->msr & MSR_PR) in kvmppc_mmu_book3s_64_esid_to_vsid()
504 !(vcpu->arch.shared->msr & MSR_PR)) { in kvmppc_mmu_book3s_64_esid_to_vsid()
Dbook3s_pr.c98 smsr |= MSR_ME | MSR_RI | MSR_IR | MSR_DR | MSR_PR | MSR_EE; in kvmppc_recalc_shadow_msr()
131 if ((vcpu->arch.shared->msr & (MSR_PR|MSR_IR|MSR_DR)) != in kvmppc_set_msr()
132 (old_msr & (MSR_PR|MSR_IR|MSR_DR))) { in kvmppc_set_msr()
137 if (!(msr & MSR_PR) && vcpu->arch.magic_page_pa) { in kvmppc_set_msr()
641 if (vcpu->arch.shared->msr & MSR_PR) { in kvmppc_handle_exit()
680 !(vcpu->arch.shared->msr & MSR_PR)) { in kvmppc_handle_exit()
712 } else if (!(vcpu->arch.shared->msr & MSR_PR) && in kvmppc_handle_exit()
Dbook3s_64_mmu_host.c61 if (vcpu->arch.shared->msr & MSR_PR) in find_sid_vsid()
181 if (vcpu->arch.shared->msr & MSR_PR) in create_sid_map()
De500_tlb.h121 return !!(vcpu->arch.shared->msr & MSR_PR); in get_cur_pr()
Dbook3s_32_mmu_host.c95 if (vcpu->arch.shared->msr & MSR_PR) in find_sid_vsid()
265 if (vcpu->arch.shared->msr & MSR_PR) in create_sid_map()
D44x_tlb.c358 vcpu->arch.shared->msr & MSR_PR); in kvmppc_mmu_map()
392 int usermode = vcpu->arch.shared->msr & MSR_PR; in kvmppc_mmu_msr_notify()
Dbooke.c219 crit = crit && !(vcpu->arch.shared->msr & MSR_PR); in kvmppc_booke_irqprio_deliver()
410 if (vcpu->arch.shared->msr & MSR_PR) { in kvmppc_handle_exit()
510 if (!(vcpu->arch.shared->msr & MSR_PR) && in kvmppc_handle_exit()
530 if (!(vcpu->arch.shared->msr & MSR_PR) && in kvmppc_handle_exit()
Dbook3s_emulate.c80 if ((vcpu->arch.shared->msr & MSR_PR) && level > PRIV_PROBLEM) in spr_allowed()
De500_tlb.c602 vcpu_e500->vcpu.arch.shared->msr & MSR_PR); in kvmppc_e500_setup_stlbe()
605 vcpu_e500->vcpu.arch.shared->msr & MSR_PR); in kvmppc_e500_setup_stlbe()
Dbook3s_hv.c314 if (vcpu->arch.shregs.msr & MSR_PR) { in kvmppc_handle_exit()
912 !(vcpu->arch.shregs.msr & MSR_PR)) { in kvmppc_vcpu_run()
Dbook3s_hv_rm_mmu.c783 key = (vcpu->arch.shregs.msr & MSR_PR) ? SLB_VSID_KP : SLB_VSID_KS; in kvmppc_hpte_hv_fault()
/linux-3.4.99/arch/powerpc/include/asm/
Dreg_booke.h34 #define MSR_USER32 MSR_ | MSR_PR | MSR_EE
38 #define MSR_USER (MSR_KERNEL|MSR_PR|MSR_EE)
41 #define MSR_USER (MSR_KERNEL|MSR_PR|MSR_EE)
Dreg.h82 #define MSR_PR __MASK(MSR_PR_LG) /* Problem State / Privilege Level */ macro
107 #define MSR_USER32 MSR_ | MSR_PR | MSR_EE
112 #define MSR_USER (MSR_KERNEL|MSR_PR|MSR_EE)
Dptrace.h115 #define user_mode(regs) (((regs)->msr & MSR_PR) != 0)
Dexception-64s.h161 andi. r10,r12,MSR_PR; /* See if coming from user */ \
Dkvm_book3s.h350 crit = crit && !(vcpu->arch.shared->msr & MSR_PR); in kvmppc_critical_section()
/linux-3.4.99/arch/powerpc/kernel/
Dentry_64.S55 andi. r10,r12,MSR_PR
219 andi. r6,r8,MSR_PR
588 andi. r3,r3,MSR_PR
686 andi. r0,r3,MSR_PR
782 andi. r0,r3,MSR_PR /* Returning to user mode? */
Dexceptions-64e.S49 andi. r10,r11,MSR_PR; /* save stack pointer */ \
354 andi. r0,r12,MSR_PR;
441 1: andi. r14,r11,MSR_PR; /* check for userspace again */
506 1: andi. r14,r11,MSR_PR; /* check for userspace again */
710 andi. r6,r10,MSR_PR
Dhead_booke.h38 andi. r11,r11,MSR_PR; \
125 andi. r10,r10,MSR_PR; \
Dhead_40x.S113 andi. r11,r11,MSR_PR; \
152 andi. r11,r11,MSR_PR; \
708 andi. r10,r9,MSR_IR|MSR_PR /* check supervisor + MMU off */
Dentry_32.S137 andi. r2,r9,MSR_PR
229 andi. r12,r12,MSR_PR
813 andi. r0,r3,MSR_PR
1023 andi. r3,r3,MSR_PR; \
Dprocess.c599 {MSR_PR, "PR"},
746 if ((childregs->msr & MSR_PR) == 0) { in copy_thread()
/linux-3.4.99/arch/powerpc/xmon/
Dxmon.c400 if ((regs->msr & (MSR_IR|MSR_PR|MSR_64BIT)) == (MSR_IR|MSR_64BIT)) in xmon_core()
530 if ((regs->msr & (MSR_IR|MSR_PR|MSR_64BIT)) == (MSR_IR|MSR_64BIT)) { in xmon_core()
579 if ((regs->msr & (MSR_IR|MSR_PR|MSR_64BIT)) != (MSR_IR|MSR_64BIT)) in xmon_bpt()
610 if ((regs->msr & (MSR_IR|MSR_PR|MSR_64BIT)) != (MSR_IR|MSR_64BIT)) in xmon_dabr_match()
620 if ((regs->msr & (MSR_IR|MSR_PR|MSR_64BIT)) != (MSR_IR|MSR_64BIT)) in xmon_iabr_match()
645 if ((regs->msr & (MSR_IR|MSR_PR|MSR_64BIT)) == (MSR_IR|MSR_64BIT)) { in xmon_fault_handler()
928 if ((regs->msr & (MSR_64BIT|MSR_PR|MSR_IR)) == (MSR_64BIT|MSR_IR)) { in do_step()
1393 if (regs->msr & MSR_PR) in print_bug_trap()
/linux-3.4.99/arch/powerpc/lib/
Dsstep.c837 if (regs->msr & MSR_PR) in emulate_step()
842 if (regs->msr & MSR_PR) in emulate_step()
854 if (regs->msr & MSR_PR) in emulate_step()

12