Searched refs:tlbe (Results 1 – 4 of 4) sorted by relevance
153 return (tlbe->mas1 >> 7) & 0x1f; in get_tlb_size()158 return tlbe->mas2 & MAS2_EPN; in get_tlb_eaddr()169 u64 bytes = get_tlb_bytes(tlbe); in get_tlb_end()170 return get_tlb_eaddr(tlbe) + bytes - 1; in get_tlb_end()175 return tlbe->mas7_3 & ~0xfffULL; in get_tlb_raddr()181 return (tlbe->mas1 >> 16) & 0xff; in get_tlb_tid()187 return (tlbe->mas1 >> 12) & 0x1; in get_tlb_ts()193 return (tlbe->mas1 >> 31) & 0x1; in get_tlb_v()199 return (tlbe->mas1 >> 30) & 0x1; in get_tlb_iprot()257 if (!get_tlb_v(tlbe)) in tlbe_is_host_safe()[all …]
331 struct kvm_book3e_206_tlb_entry *tlbe; in kvmppc_e500_tlb_setup() local334 tlbe = get_entry(vcpu_e500, 1, 0); in kvmppc_e500_tlb_setup()335 tlbe->mas1 = MAS1_VALID | MAS1_TSIZE(BOOK3E_PAGESZ_256M); in kvmppc_e500_tlb_setup()336 tlbe->mas2 = 0; in kvmppc_e500_tlb_setup()337 tlbe->mas7_3 = E500_TLB_SUPER_PERM_MASK; in kvmppc_e500_tlb_setup()340 tlbe = get_entry(vcpu_e500, 1, 1); in kvmppc_e500_tlb_setup()341 tlbe->mas1 = MAS1_VALID | MAS1_TSIZE(BOOK3E_PAGESZ_4K); in kvmppc_e500_tlb_setup()342 tlbe->mas2 = (0xe0004500 & 0xFFFFF000) | MAS2_I | MAS2_G; in kvmppc_e500_tlb_setup()343 tlbe->mas7_3 = (0xe0004500 & 0xFFFFF000) | E500_TLB_SUPER_PERM_MASK; in kvmppc_e500_tlb_setup()
100 struct kvm_book3e_206_tlb_entry *tlbe = in kvmppc_e500_tlb_index() local104 if (eaddr < get_tlb_eaddr(tlbe)) in kvmppc_e500_tlb_index()107 if (eaddr > get_tlb_end(tlbe)) in kvmppc_e500_tlb_index()110 tid = get_tlb_tid(tlbe); in kvmppc_e500_tlb_index()114 if (!get_tlb_v(tlbe)) in kvmppc_e500_tlb_index()117 if (get_tlb_ts(tlbe) != as && as != -1) in kvmppc_e500_tlb_index()166 if (!get_tlb_v(tlbe)) in kvmppc_recalc_tlb1map_range()169 eaddr = get_tlb_eaddr(tlbe); in kvmppc_recalc_tlb1map_range()173 eaddr = get_tlb_end(tlbe); in kvmppc_recalc_tlb1map_range()278 struct kvm_book3e_206_tlb_entry *tlbe; in tlbilx_all() local[all …]
240 static inline int tlbe_is_writable(struct kvm_book3e_206_tlb_entry *tlbe) in tlbe_is_writable() argument242 return tlbe->mas7_3 & (MAS3_SW|MAS3_UW); in tlbe_is_writable()
Completed in 9 milliseconds