Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/kvm/
Dbook3s_64_mmu_host.c32 static u16 kvmppc_sid_hash(struct kvm_vcpu *vcpu, u64 gvsid) in kvmppc_sid_hash() argument
34 return (u16)(((gvsid >> (SID_MAP_BITS * 7)) & SID_MAP_MASK) ^ in kvmppc_sid_hash()
35 ((gvsid >> (SID_MAP_BITS * 6)) & SID_MAP_MASK) ^ in kvmppc_sid_hash()
36 ((gvsid >> (SID_MAP_BITS * 5)) & SID_MAP_MASK) ^ in kvmppc_sid_hash()
37 ((gvsid >> (SID_MAP_BITS * 4)) & SID_MAP_MASK) ^ in kvmppc_sid_hash()
38 ((gvsid >> (SID_MAP_BITS * 3)) & SID_MAP_MASK) ^ in kvmppc_sid_hash()
39 ((gvsid >> (SID_MAP_BITS * 2)) & SID_MAP_MASK) ^ in kvmppc_sid_hash()
40 ((gvsid >> (SID_MAP_BITS * 1)) & SID_MAP_MASK) ^ in kvmppc_sid_hash()
41 ((gvsid >> (SID_MAP_BITS * 0)) & SID_MAP_MASK)); in kvmppc_sid_hash()
45 static struct kvmppc_sid_map *find_sid_vsid(struct kvm_vcpu *vcpu, u64 gvsid) in find_sid_vsid() argument
[all …]
Dbook3s_32_mmu_host.c66 static u16 kvmppc_sid_hash(struct kvm_vcpu *vcpu, u64 gvsid) in kvmppc_sid_hash() argument
68 return (u16)(((gvsid >> (SID_MAP_BITS * 7)) & SID_MAP_MASK) ^ in kvmppc_sid_hash()
69 ((gvsid >> (SID_MAP_BITS * 6)) & SID_MAP_MASK) ^ in kvmppc_sid_hash()
70 ((gvsid >> (SID_MAP_BITS * 5)) & SID_MAP_MASK) ^ in kvmppc_sid_hash()
71 ((gvsid >> (SID_MAP_BITS * 4)) & SID_MAP_MASK) ^ in kvmppc_sid_hash()
72 ((gvsid >> (SID_MAP_BITS * 3)) & SID_MAP_MASK) ^ in kvmppc_sid_hash()
73 ((gvsid >> (SID_MAP_BITS * 2)) & SID_MAP_MASK) ^ in kvmppc_sid_hash()
74 ((gvsid >> (SID_MAP_BITS * 1)) & SID_MAP_MASK) ^ in kvmppc_sid_hash()
75 ((gvsid >> (SID_MAP_BITS * 0)) & SID_MAP_MASK)); in kvmppc_sid_hash()
79 static struct kvmppc_sid_map *find_sid_vsid(struct kvm_vcpu *vcpu, u64 gvsid) in find_sid_vsid() argument
[all …]
Dtrace_pr.h145 TP_PROTO(unsigned long long gvsid, unsigned long long hvsid),
146 TP_ARGS(gvsid, hvsid),
149 __field( unsigned long long, gvsid )
154 __entry->gvsid = gvsid;
158 TP_printk("%llx -> %llx", __entry->gvsid, __entry->hvsid)
162 TP_PROTO(u16 sid_map_mask, unsigned long long gvsid),
163 TP_ARGS(sid_map_mask, gvsid),
167 __field( unsigned long long, gvsid )
172 __entry->gvsid = gvsid;
176 SID_MAP_MASK - __entry->sid_map_mask, __entry->gvsid)
[all …]
Dbook3s_64_mmu.c578 u64 gvsid = esid; in kvmppc_mmu_book3s_64_esid_to_vsid() local
586 gvsid = slb->vsid; in kvmppc_mmu_book3s_64_esid_to_vsid()
589 gvsid <<= SID_SHIFT_1T - SID_SHIFT; in kvmppc_mmu_book3s_64_esid_to_vsid()
590 gvsid |= esid & ((1ul << (SID_SHIFT_1T - SID_SHIFT)) - 1); in kvmppc_mmu_book3s_64_esid_to_vsid()
591 gvsid |= VSID_1T; in kvmppc_mmu_book3s_64_esid_to_vsid()
598 gvsid = VSID_REAL | esid; in kvmppc_mmu_book3s_64_esid_to_vsid()
601 gvsid |= VSID_REAL_IR; in kvmppc_mmu_book3s_64_esid_to_vsid()
604 gvsid |= VSID_REAL_DR; in kvmppc_mmu_book3s_64_esid_to_vsid()
626 gvsid |= VSID_64K; in kvmppc_mmu_book3s_64_esid_to_vsid()
630 gvsid |= VSID_PR; in kvmppc_mmu_book3s_64_esid_to_vsid()
[all …]
Dbook3s_32_mmu.c353 u64 gvsid = esid; in kvmppc_mmu_book3s_32_esid_to_vsid() local
359 gvsid = sr_vsid(sr); in kvmppc_mmu_book3s_32_esid_to_vsid()
370 *vsid = VSID_REAL_IR | gvsid; in kvmppc_mmu_book3s_32_esid_to_vsid()
373 *vsid = VSID_REAL_DR | gvsid; in kvmppc_mmu_book3s_32_esid_to_vsid()
379 *vsid = VSID_BAT | gvsid; in kvmppc_mmu_book3s_32_esid_to_vsid()