Home
last modified time | relevance | path

Searched refs:tlbsel (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/arch/powerpc/kvm/
De500_mmu.c64 static unsigned int get_tlb_esel(struct kvm_vcpu *vcpu, int tlbsel) in get_tlb_esel() argument
69 if (tlbsel == 0) { in get_tlb_esel()
73 esel &= vcpu_e500->gtlb_params[tlbsel].entries - 1; in get_tlb_esel()
81 gva_t eaddr, int tlbsel, unsigned int pid, int as) in kvmppc_e500_tlb_index() argument
83 int size = vcpu_e500->gtlb_params[tlbsel].entries; in kvmppc_e500_tlb_index()
87 if (tlbsel == 0) { in kvmppc_e500_tlb_index()
97 offset = vcpu_e500->gtlb_offset[tlbsel]; in kvmppc_e500_tlb_index()
131 int tlbsel; in kvmppc_e500_deliver_tlb_miss() local
134 tlbsel = (vcpu->arch.shared->mas4 >> 28) & 0x1; in kvmppc_e500_deliver_tlb_miss()
135 victim = (tlbsel == 0) ? gtlb0_get_next_victim(vcpu_e500) : 0; in kvmppc_e500_deliver_tlb_miss()
[all …]
De500_mmu_host.c125 int tlbsel, int sesel, struct kvm_book3e_206_tlb_entry *stlbe) in write_host_tlbe() argument
129 if (tlbsel == 0) { in write_host_tlbe()
184 void inval_gtlbe_on_host(struct kvmppc_vcpu_e500 *vcpu_e500, int tlbsel, in inval_gtlbe_on_host() argument
188 get_entry(vcpu_e500, tlbsel, esel); in inval_gtlbe_on_host()
189 struct tlbe_ref *ref = &vcpu_e500->gtlb_priv[tlbsel][esel].ref; in inval_gtlbe_on_host()
195 WARN_ON(tlbsel == 1 && vcpu_e500->g2h_tlb1_map[esel]); in inval_gtlbe_on_host()
198 if (tlbsel == 1 && ref->flags & E500_TLB_BITMAP) { in inval_gtlbe_on_host()
220 if (tlbsel == 1 && ref->flags & E500_TLB_TLB0) { in inval_gtlbe_on_host()
283 int tlbsel; in clear_tlb_privs() local
286 for (tlbsel = 0; tlbsel <= 1; tlbsel++) { in clear_tlb_privs()
[all …]
De500.h113 #define index_of(tlbsel, esel) (((tlbsel) << 16) | ((esel) & 0xFFFF)) argument
276 struct kvmppc_vcpu_e500 *vcpu_e500, int tlbsel, int entry) in get_entry() argument
278 int offset = vcpu_e500->gtlb_offset[tlbsel]; in get_entry()
De500_mmu_host.h9 void inval_gtlbe_on_host(struct kvmppc_vcpu_e500 *vcpu_e500, int tlbsel,