Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_32_mmu_host.c85 gvsid |= VSID_PR; in find_sid_vsid()
87 sid_map_mask = kvmppc_sid_hash(vcpu, gvsid); in find_sid_vsid()
89 if (map->guest_vsid == gvsid) { in find_sid_vsid()
91 gvsid, map->host_vsid); in find_sid_vsid()
96 if (map->guest_vsid == gvsid) { in find_sid_vsid()
98 gvsid, map->host_vsid); in find_sid_vsid()
271 gvsid |= VSID_PR; in create_sid_map()
296 map->guest_vsid = gvsid; in create_sid_map()
305 u64 gvsid; in kvmppc_mmu_map_segment() local
318 map = find_sid_vsid(vcpu, gvsid); in kvmppc_mmu_map_segment()
[all …]
H A Dbook3s_64_mmu_host.c52 gvsid |= VSID_PR; in find_sid_vsid()
54 sid_map_mask = kvmppc_sid_hash(vcpu, gvsid); in find_sid_vsid()
56 if (map->valid && (map->guest_vsid == gvsid)) { in find_sid_vsid()
62 if (map->valid && (map->guest_vsid == gvsid)) { in find_sid_vsid()
234 gvsid |= VSID_PR; in create_sid_map()
239 sid_map_mask = kvmppc_sid_hash(vcpu, gvsid); in create_sid_map()
263 map->guest_vsid = gvsid; in create_sid_map()
318 u64 gvsid; in kvmppc_mmu_map_segment() local
332 map = find_sid_vsid(vcpu, gvsid); in kvmppc_mmu_map_segment()
334 map = create_sid_map(vcpu, gvsid); in kvmppc_mmu_map_segment()
[all …]
H A Dtrace_pr.h146 TP_ARGS(gvsid, hvsid),
149 __field( unsigned long long, gvsid )
154 __entry->gvsid = gvsid;
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)
180 TP_PROTO(u16 sid_map_mask, unsigned long long gvsid,
182 TP_ARGS(sid_map_mask, gvsid, hvsid),
[all …]
H A Dbook3s_64_mmu.c577 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 …]
H A 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()