Home
last modified time | relevance | path

Searched refs:to_book3s (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_mmu_hpte.c59 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_hpte_cache_map()
103 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in invalidate_pte()
134 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_pte_flush_all()
152 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_pte_flush_page()
171 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_pte_flush_long()
214 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_pte_vflush_short()
235 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_pte_vflush_64k()
257 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_pte_vflush_long()
300 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_pte_pflush()
322 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_hpte_cache_next()
[all …]
Dbook3s_emulate.c659 struct kvmppc_vcpu_book3s *vcpu_book3s = to_book3s(vcpu); in kvmppc_find_bat()
690 to_book3s(vcpu)->sdr1 = spr_val; in kvmppc_core_emulate_mtspr_pr()
699 to_book3s(vcpu)->hior = spr_val; in kvmppc_core_emulate_mtspr_pr()
716 to_book3s(vcpu)->hid[0] = spr_val; in kvmppc_core_emulate_mtspr_pr()
719 to_book3s(vcpu)->hid[1] = spr_val; in kvmppc_core_emulate_mtspr_pr()
722 to_book3s(vcpu)->hid[2] = spr_val; in kvmppc_core_emulate_mtspr_pr()
725 to_book3s(vcpu)->hid[2] = spr_val; in kvmppc_core_emulate_mtspr_pr()
750 to_book3s(vcpu)->hid[4] = spr_val; in kvmppc_core_emulate_mtspr_pr()
753 to_book3s(vcpu)->hid[5] = spr_val; in kvmppc_core_emulate_mtspr_pr()
767 to_book3s(vcpu)->gqr[sprn - SPRN_GQR0] = spr_val; in kvmppc_core_emulate_mtspr_pr()
[all …]
Dbook3s_32_mmu_host.c88 map = &to_book3s(vcpu)->sid_map[sid_map_mask]; in find_sid_vsid()
95 map = &to_book3s(vcpu)->sid_map[SID_MAP_MASK - sid_map_mask]; in find_sid_vsid()
266 struct kvmppc_vcpu_book3s *vcpu_book3s = to_book3s(vcpu); in create_sid_map()
280 map = &to_book3s(vcpu)->sid_map[sid_map_mask]; in create_sid_map()
352 __destroy_context(to_book3s(vcpu)->context_id[i]); in kvmppc_mmu_destroy_pr()
361 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_init_pr()
394 __destroy_context(to_book3s(vcpu)->context_id[j]); in kvmppc_mmu_init_pr()
Dbook3s_64_mmu_host.c54 map = &to_book3s(vcpu)->sid_map[sid_map_mask]; in find_sid_vsid()
60 map = &to_book3s(vcpu)->sid_map[SID_MAP_MASK - sid_map_mask]; in find_sid_vsid()
227 struct kvmppc_vcpu_book3s *vcpu_book3s = to_book3s(vcpu); in create_sid_map()
241 map = &to_book3s(vcpu)->sid_map[sid_map_mask]; in create_sid_map()
384 __destroy_context(to_book3s(vcpu)->context_id[0]); in kvmppc_mmu_destroy_pr()
389 struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); in kvmppc_mmu_init_pr()
Dbook3s_pr.c115 new_pc = to_book3s(vcpu)->hior + vec; in kvmppc_inject_interrupt_pr()
135 memcpy(svcpu->slb, to_book3s(vcpu)->slb_shadow, sizeof(svcpu->slb)); in kvmppc_core_vcpu_load_pr()
136 svcpu->slb_max = to_book3s(vcpu)->slb_shadow_max; in kvmppc_core_vcpu_load_pr()
164 memcpy(to_book3s(vcpu)->slb_shadow, svcpu->slb, sizeof(svcpu->slb)); in kvmppc_core_vcpu_put_pr()
165 to_book3s(vcpu)->slb_shadow_max = svcpu->slb_max; in kvmppc_core_vcpu_put_pr()
302 to_book3s(vcpu)->vtb += get_vtb() - vcpu->arch.entry_vtb; in kvmppc_copy_from_svcpu()
510 msr &= to_book3s(vcpu)->msr_mask; in kvmppc_set_msr_pr()
581 if (!to_book3s(vcpu)->hior_explicit) in kvmppc_set_pvr_pr()
582 to_book3s(vcpu)->hior = 0xfff00000; in kvmppc_set_pvr_pr()
583 to_book3s(vcpu)->msr_mask = 0xffffffffffffffffULL; in kvmppc_set_pvr_pr()
[all …]
Dbook3s_32_mmu.c97 struct kvmppc_vcpu_book3s *vcpu_book3s = to_book3s(vcpu); in kvmppc_mmu_book3s_32_get_pteg()
131 struct kvmppc_vcpu_book3s *vcpu_book3s = to_book3s(vcpu); in kvmppc_mmu_book3s_32_xlate_bat()
279 to_book3s(vcpu)->sdr1, ptegp); in kvmppc_mmu_book3s_32_xlate_pte()
Dbook3s_64_mmu.c120 struct kvmppc_vcpu_book3s *vcpu_book3s = to_book3s(vcpu); in kvmppc_mmu_book3s_64_get_pteg()
649 return (to_book3s(vcpu)->hid[5] & 0x80); in kvmppc_mmu_book3s_64_is_dcbz32()
Dtrace_pr.h134 __entry->count = to_book3s(vcpu)->hpte_cache_count;
Dbook3s_pr_papr.c25 struct kvmppc_vcpu_book3s *vcpu_book3s = to_book3s(vcpu); in get_pteg_addr()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_book3s.h312 static inline struct kvmppc_vcpu_book3s *to_book3s(struct kvm_vcpu *vcpu) in to_book3s() function