Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/kvm/
De500_mmu_host.c142 struct kvm_book3e_206_tlb_entry *gtlbe, in write_stlbe() argument
149 stid = kvmppc_e500_get_tlb_stid(&vcpu_e500->vcpu, gtlbe); in write_stlbe()
187 struct kvm_book3e_206_tlb_entry *gtlbe = in inval_gtlbe_on_host() local
234 kvmppc_e500_tlbil_one(vcpu_e500, gtlbe); in inval_gtlbe_on_host()
246 struct kvm_book3e_206_tlb_entry *gtlbe, in kvmppc_e500_ref_setup() argument
253 ref->flags |= (gtlbe->mas2 & MAS2_ATTRIB_MASK) | wimg; in kvmppc_e500_ref_setup()
258 if (tlbe_is_writable(gtlbe)) in kvmppc_e500_ref_setup()
306 struct kvm_book3e_206_tlb_entry *gtlbe, in kvmppc_e500_setup_stlbe() argument
316 stlbe->mas1 = MAS1_TSIZE(tsize) | get_tlb_sts(gtlbe) | MAS1_VALID; in kvmppc_e500_setup_stlbe()
319 e500_shadow_mas3_attrib(gtlbe->mas7_3, pr); in kvmppc_e500_setup_stlbe()
[all …]
De500_mmu.c180 struct kvm_book3e_206_tlb_entry *gtlbe) in kvmppc_need_recalc_tlb1map_range() argument
184 size = get_tlb_bytes(gtlbe); in kvmppc_need_recalc_tlb1map_range()
185 start = get_tlb_eaddr(gtlbe) & ~(size - 1); in kvmppc_need_recalc_tlb1map_range()
194 struct kvm_book3e_206_tlb_entry *gtlbe) in kvmppc_set_tlb1map_range() argument
199 if (!get_tlb_v(gtlbe)) in kvmppc_set_tlb1map_range()
202 size = get_tlb_bytes(gtlbe); in kvmppc_set_tlb1map_range()
203 start = get_tlb_eaddr(gtlbe) & ~(size - 1); in kvmppc_set_tlb1map_range()
214 struct kvm_book3e_206_tlb_entry *gtlbe = in kvmppc_e500_gtlbe_invalidate() local
217 if (unlikely(get_tlb_iprot(gtlbe))) in kvmppc_e500_gtlbe_invalidate()
220 if (tlbsel == 1 && kvmppc_need_recalc_tlb1map_range(vcpu_e500, gtlbe)) in kvmppc_e500_gtlbe_invalidate()
[all …]
De500.h283 struct kvm_book3e_206_tlb_entry *gtlbe);
287 #define kvmppc_e500_get_tlb_stid(vcpu, gtlbe) get_tlb_tid(gtlbe) argument
289 #define get_tlb_sts(gtlbe) (gtlbe->mas1 & MAS1_TS) argument
311 struct kvm_book3e_206_tlb_entry *gtlbe);
322 #define get_tlb_sts(gtlbe) (MAS1_TS) argument
De500.c215 struct kvm_book3e_206_tlb_entry *gtlbe) in kvmppc_e500_get_tlb_stid() argument
217 return kvmppc_e500_get_sid(to_e500(vcpu), get_tlb_ts(gtlbe), in kvmppc_e500_get_tlb_stid()
218 get_tlb_tid(gtlbe), get_cur_pr(vcpu), 0); in kvmppc_e500_get_tlb_stid()
233 struct kvm_book3e_206_tlb_entry *gtlbe) in kvmppc_e500_tlbil_one() argument
241 ts = get_tlb_ts(gtlbe); in kvmppc_e500_tlbil_one()
242 tid = get_tlb_tid(gtlbe); in kvmppc_e500_tlbil_one()
270 eaddr = get_tlb_eaddr(gtlbe); in kvmppc_e500_tlbil_one()
De500mc.c56 struct kvm_book3e_206_tlb_entry *gtlbe) in kvmppc_e500_tlbil_one() argument
63 ts = get_tlb_ts(gtlbe); in kvmppc_e500_tlbil_one()
64 tid = get_tlb_tid(gtlbe); in kvmppc_e500_tlbil_one()
68 eaddr = get_tlb_eaddr(gtlbe); in kvmppc_e500_tlbil_one()