Searched refs:gvsid (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/arch/powerpc/kvm/ |
D | book3s_64_mmu_host.c | 33 static u16 kvmppc_sid_hash(struct kvm_vcpu *vcpu, u64 gvsid) in kvmppc_sid_hash() argument 35 return (u16)(((gvsid >> (SID_MAP_BITS * 7)) & SID_MAP_MASK) ^ in kvmppc_sid_hash() 36 ((gvsid >> (SID_MAP_BITS * 6)) & SID_MAP_MASK) ^ in kvmppc_sid_hash() 37 ((gvsid >> (SID_MAP_BITS * 5)) & SID_MAP_MASK) ^ in kvmppc_sid_hash() 38 ((gvsid >> (SID_MAP_BITS * 4)) & SID_MAP_MASK) ^ in kvmppc_sid_hash() 39 ((gvsid >> (SID_MAP_BITS * 3)) & SID_MAP_MASK) ^ in kvmppc_sid_hash() 40 ((gvsid >> (SID_MAP_BITS * 2)) & SID_MAP_MASK) ^ in kvmppc_sid_hash() 41 ((gvsid >> (SID_MAP_BITS * 1)) & SID_MAP_MASK) ^ in kvmppc_sid_hash() 42 ((gvsid >> (SID_MAP_BITS * 0)) & SID_MAP_MASK)); in kvmppc_sid_hash() 46 static struct kvmppc_sid_map *find_sid_vsid(struct kvm_vcpu *vcpu, u64 gvsid) in find_sid_vsid() argument [all …]
|
D | book3s_32_mmu_host.c | 66 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 …]
|
D | trace_pr.h | 145 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 …]
|
D | book3s_64_mmu.c | 577 u64 gvsid = esid; in kvmppc_mmu_book3s_64_esid_to_vsid() local 585 gvsid = slb->vsid; in kvmppc_mmu_book3s_64_esid_to_vsid() 588 gvsid <<= SID_SHIFT_1T - SID_SHIFT; in kvmppc_mmu_book3s_64_esid_to_vsid() 589 gvsid |= esid & ((1ul << (SID_SHIFT_1T - SID_SHIFT)) - 1); in kvmppc_mmu_book3s_64_esid_to_vsid() 590 gvsid |= VSID_1T; in kvmppc_mmu_book3s_64_esid_to_vsid() 597 gvsid = VSID_REAL | esid; in kvmppc_mmu_book3s_64_esid_to_vsid() 600 gvsid |= VSID_REAL_IR; in kvmppc_mmu_book3s_64_esid_to_vsid() 603 gvsid |= VSID_REAL_DR; in kvmppc_mmu_book3s_64_esid_to_vsid() 625 gvsid |= VSID_64K; in kvmppc_mmu_book3s_64_esid_to_vsid() 629 gvsid |= VSID_PR; in kvmppc_mmu_book3s_64_esid_to_vsid() [all …]
|
D | book3s_32_mmu.c | 353 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()
|