Home
last modified time | relevance | path

Searched refs:kern_hyp_va (Results 1 – 19 of 19) sorted by relevance

/linux-6.6.21/arch/arm64/kvm/hyp/nvhe/
Dhyp-main.c32 hyp_vcpu->vcpu.arch.sve_state = kern_hyp_va(host_vcpu->arch.sve_state); in flush_hyp_vcpu()
44 hyp_vcpu->vcpu.arch.debug_ptr = kern_hyp_va(host_vcpu->arch.debug_ptr); in flush_hyp_vcpu()
79 host_vcpu = kern_hyp_va(host_vcpu); in handle___kvm_vcpu_run()
85 host_kvm = kern_hyp_va(host_vcpu->kvm); in handle___kvm_vcpu_run()
112 __kvm_adjust_pc(kern_hyp_va(vcpu)); in handle___kvm_adjust_pc()
126 __kvm_tlb_flush_vmid_ipa(kern_hyp_va(mmu), ipa, level); in handle___kvm_tlb_flush_vmid_ipa()
135 __kvm_tlb_flush_vmid_ipa_nsh(kern_hyp_va(mmu), ipa, level); in handle___kvm_tlb_flush_vmid_ipa_nsh()
145 __kvm_tlb_flush_vmid_range(kern_hyp_va(mmu), start, pages); in handle___kvm_tlb_flush_vmid_range()
152 __kvm_tlb_flush_vmid(kern_hyp_va(mmu)); in handle___kvm_tlb_flush_vmid()
159 __kvm_flush_cpu_context(kern_hyp_va(mmu)); in handle___kvm_flush_cpu_context()
[all …]
Dswitch.c210 if (unlikely(kvm_vm_is_protected(kern_hyp_va(vcpu->kvm)))) in kvm_get_exit_handler_array()
229 struct kvm *kvm = kern_hyp_va(vcpu->kvm); in early_exit_filter()
305 mmu = kern_hyp_va(vcpu->arch.hw_mmu); in __kvm_vcpu_run()
306 __load_stage2(mmu, kern_hyp_va(mmu->arch)); in __kvm_vcpu_run()
Dhyp-smp.c37 this_cpu_base = kern_hyp_va(cpu_base_array[cpu]); in __hyp_per_cpu_offset()
Dtimer-sr.c51 !kern_hyp_va(vcpu->kvm)->arch.timer_data.poffset) in __timer_enable_traps()
Dtlb.c65 __load_stage2(mmu, kern_hyp_va(mmu->arch)); in __tlb_switch_to_guest()
Dsetup.c117 start = (void *)kern_hyp_va(per_cpu_base[i]); in recreate_hyp_mappings()
Dsys_regs.c99 const struct kvm *kvm = (const struct kvm *)kern_hyp_va(vcpu->kvm); in get_pvm_id_aa64pfr1()
Dpkvm.c405 void *va = (void *)kern_hyp_va(host_va); in map_donated_memory_noclear()
/linux-6.6.21/arch/arm64/kvm/hyp/include/hyp/
Ddebug-sr.h141 guest_dbg = kern_hyp_va(vcpu->arch.debug_ptr); in __debug_switch_to_guest_common()
160 guest_dbg = kern_hyp_va(vcpu->arch.debug_ptr); in __debug_switch_to_host_common()
Dswitch.h492 val -= *kern_hyp_va(ctxt->offset.vm_offset); in kvm_hyp_handle_cntpct()
494 val -= *kern_hyp_va(ctxt->offset.vcpu_offset); in kvm_hyp_handle_cntpct()
Dsysreg-sr.h37 return kvm_has_mte(kern_hyp_va(vcpu->kvm)); in ctxt_has_mte()
/linux-6.6.21/arch/arm64/include/asm/
Dkvm_mmu.h65 .macro kern_hyp_va reg
145 #define kern_hyp_va(v) ((typeof(v))(__kern_hyp_va((unsigned long)(v)))) macro
Dkvm_host.h743 #define vcpu_sve_pffr(vcpu) (kern_hyp_va((vcpu)->arch.sve_state) + \
/linux-6.6.21/arch/arm64/kvm/hyp/
Dvgic-v2-cpuif-proxy.c39 struct kvm *kvm = kern_hyp_va(vcpu->kvm); in __vgic_v2_perform_cpuif_access()
Dexception.c134 if (kvm_has_mte(kern_hyp_va(vcpu->kvm))) in enter_exception64()
/linux-6.6.21/arch/arm64/kvm/
Dfpsimd.c52 vcpu->arch.host_fpsimd_state = kern_hyp_va(fpsimd); in kvm_arch_vcpu_run_map_fp()
Dmmu.c578 unsigned long start = kern_hyp_va((unsigned long)from); in create_hyp_mappings()
579 unsigned long end = kern_hyp_va((unsigned long)to); in create_hyp_mappings()
1922 kern_hyp_va(PAGE_OFFSET), in kvm_mmu_init()
1923 kern_hyp_va((unsigned long)high_memory - 1)); in kvm_mmu_init()
1925 if (hyp_idmap_start >= kern_hyp_va(PAGE_OFFSET) && in kvm_mmu_init()
1926 hyp_idmap_start < kern_hyp_va((unsigned long)high_memory - 1) && in kvm_mmu_init()
Darm.c1706 base = kern_hyp_va(kvm_ksym_ref(__kvm_hyp_vector)); in kvm_init_vector_slots()
1709 base = kern_hyp_va(kvm_ksym_ref(__bp_harden_hyp_vecs)); in kvm_init_vector_slots()
2084 num_possible_cpus(), kern_hyp_va(per_cpu_base), in do_pkvm_init()
/linux-6.6.21/Documentation/arch/arm64/
Dmemory.rst95 random) offset from the linear mapping. See the kern_hyp_va macro and