Lines Matching refs:mas2
47 tlbsel, i, tlbe->mas1, tlbe->mas2, in kvmppc_dump_tlbs()
58 tlbsel, i, tlbe->mas1, tlbe->mas2, in kvmppc_dump_tlbs()
102 static inline u32 e500_shadow_mas2_attrib(u32 mas2, int usermode) in e500_shadow_mas2_attrib() argument
105 return (mas2 & MAS2_ATTRIB_MASK) | MAS2_M; in e500_shadow_mas2_attrib()
107 return mas2 & MAS2_ATTRIB_MASK; in e500_shadow_mas2_attrib()
117 mtspr(SPRN_MAS2, stlbe->mas2); in __write_host_tlbe()
279 vcpu_e500->mas2 = (eaddr & MAS2_EPN) in kvmppc_e500_deliver_tlb_miss()
315 stlbe->mas2 = (gvaddr & MAS2_EPN) in kvmppc_e500_shadow_map()
316 | e500_shadow_mas2_attrib(gtlbe->mas2, in kvmppc_e500_shadow_map()
323 trace_kvm_stlb_write(index_of(tlbsel, esel), stlbe->mas1, stlbe->mas2, in kvmppc_e500_shadow_map()
458 vcpu_e500->mas2 = gtlbe->mas2; in kvmppc_e500_emul_tlbre()
488 vcpu_e500->mas2 = gtlbe->mas2; in kvmppc_e500_emul_tlbsx()
503 vcpu_e500->mas2 &= MAS2_EPN; in kvmppc_e500_emul_tlbsx()
504 vcpu_e500->mas2 |= vcpu_e500->mas4 & MAS2_ATTRIB_MASK; in kvmppc_e500_emul_tlbsx()
534 gtlbe->mas2 = vcpu_e500->mas2; in kvmppc_e500_emul_tlbwe()
538 trace_kvm_gtlb_write(vcpu_e500->mas0, gtlbe->mas1, gtlbe->mas2, in kvmppc_e500_emul_tlbwe()
682 tlbe->mas2 = 0; in kvmppc_e500_tlb_setup()
689 tlbe->mas2 = (0xe0004500 & 0xFFFFF000) | MAS2_I | MAS2_G; in kvmppc_e500_tlb_setup()