Lines Matching refs:mas3
48 static inline u32 e500_shadow_mas3_attrib(u32 mas3, int usermode) in e500_shadow_mas3_attrib() argument
51 mas3 &= MAS3_ATTRIB_MASK; in e500_shadow_mas3_attrib()
58 mas3 &= ~E500_TLB_USER_PERM_MASK; in e500_shadow_mas3_attrib()
59 mas3 |= (mas3 & E500_TLB_SUPER_PERM_MASK) << 1; in e500_shadow_mas3_attrib()
61 mas3 |= E500_TLB_SUPER_PERM_MASK; in e500_shadow_mas3_attrib()
63 return mas3; in e500_shadow_mas3_attrib()
632 u32 mas1, mas2, mas3; in kvmppc_load_last_inst() local
653 mas3 = mfspr(SPRN_MAS3); in kvmppc_load_last_inst()
657 mas7_mas3 = ((u64)mfspr(SPRN_MAS7) << 32) | mas3; in kvmppc_load_last_inst()
673 if (unlikely((pr && !(mas3 & MAS3_UX)) || in kvmppc_load_last_inst()
674 (!pr && !(mas3 & MAS3_SX)))) { in kvmppc_load_last_inst()