Home
last modified time | relevance | path

Searched refs:gtlbe (Results 1 – 5 of 5) sorted by relevance

/arch/powerpc/kvm/
De500_mmu_host.c145 struct kvm_book3e_206_tlb_entry *gtlbe, in write_stlbe() argument
152 stid = kvmppc_e500_get_tlb_stid(&vcpu_e500->vcpu, gtlbe); in write_stlbe()
190 struct kvm_book3e_206_tlb_entry *gtlbe = in inval_gtlbe_on_host() local
237 kvmppc_e500_tlbil_one(vcpu_e500, gtlbe); in inval_gtlbe_on_host()
249 struct kvm_book3e_206_tlb_entry *gtlbe, in kvmppc_e500_ref_setup() argument
256 ref->flags |= (gtlbe->mas2 & MAS2_ATTRIB_MASK) | wimg; in kvmppc_e500_ref_setup()
261 if (tlbe_is_writable(gtlbe)) in kvmppc_e500_ref_setup()
309 struct kvm_book3e_206_tlb_entry *gtlbe, in kvmppc_e500_setup_stlbe() argument
319 stlbe->mas1 = MAS1_TSIZE(tsize) | get_tlb_sts(gtlbe) | MAS1_VALID; in kvmppc_e500_setup_stlbe()
322 e500_shadow_mas3_attrib(gtlbe->mas7_3, pr); in kvmppc_e500_setup_stlbe()
[all …]
De500_mmu.c183 struct kvm_book3e_206_tlb_entry *gtlbe) in kvmppc_need_recalc_tlb1map_range() argument
187 size = get_tlb_bytes(gtlbe); in kvmppc_need_recalc_tlb1map_range()
188 start = get_tlb_eaddr(gtlbe) & ~(size - 1); in kvmppc_need_recalc_tlb1map_range()
197 struct kvm_book3e_206_tlb_entry *gtlbe) in kvmppc_set_tlb1map_range() argument
202 if (!get_tlb_v(gtlbe)) in kvmppc_set_tlb1map_range()
205 size = get_tlb_bytes(gtlbe); in kvmppc_set_tlb1map_range()
206 start = get_tlb_eaddr(gtlbe) & ~(size - 1); in kvmppc_set_tlb1map_range()
217 struct kvm_book3e_206_tlb_entry *gtlbe = in kvmppc_e500_gtlbe_invalidate() local
220 if (unlikely(get_tlb_iprot(gtlbe))) in kvmppc_e500_gtlbe_invalidate()
223 if (tlbsel == 1 && kvmppc_need_recalc_tlb1map_range(vcpu_e500, gtlbe)) in kvmppc_e500_gtlbe_invalidate()
[all …]
De500.h286 struct kvm_book3e_206_tlb_entry *gtlbe);
290 #define kvmppc_e500_get_tlb_stid(vcpu, gtlbe) get_tlb_tid(gtlbe) argument
292 #define get_tlb_sts(gtlbe) (gtlbe->mas1 & MAS1_TS) argument
314 struct kvm_book3e_206_tlb_entry *gtlbe);
325 #define get_tlb_sts(gtlbe) (MAS1_TS) argument
De500.c219 struct kvm_book3e_206_tlb_entry *gtlbe) in kvmppc_e500_get_tlb_stid() argument
221 return kvmppc_e500_get_sid(to_e500(vcpu), get_tlb_ts(gtlbe), in kvmppc_e500_get_tlb_stid()
222 get_tlb_tid(gtlbe), get_cur_pr(vcpu), 0); in kvmppc_e500_get_tlb_stid()
237 struct kvm_book3e_206_tlb_entry *gtlbe) in kvmppc_e500_tlbil_one() argument
245 ts = get_tlb_ts(gtlbe); in kvmppc_e500_tlbil_one()
246 tid = get_tlb_tid(gtlbe); in kvmppc_e500_tlbil_one()
274 eaddr = get_tlb_eaddr(gtlbe); in kvmppc_e500_tlbil_one()
De500mc.c60 struct kvm_book3e_206_tlb_entry *gtlbe) in kvmppc_e500_tlbil_one() argument
67 ts = get_tlb_ts(gtlbe); in kvmppc_e500_tlbil_one()
68 tid = get_tlb_tid(gtlbe); in kvmppc_e500_tlbil_one()
72 eaddr = get_tlb_eaddr(gtlbe); in kvmppc_e500_tlbil_one()