Lines Matching +full:re +full:- +full:routed
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2015 - ARM Ltd
9 #include <linux/arm-smccc.h>
26 #include <asm/debug-monitors.h>
41 * - TGE: we want the guest to use EL1, which is incompatible with
44 * - API/APK: they are already accounted for by vcpu_load(), and can
51 u64 hcr = vcpu->arch.hcr_el2; in __compute_hcr()
62 write_sysreg_s(vcpu->arch.ctxt.vncr_array, SYS_VNCR_EL2); in __compute_hcr()
73 * With VHE (HCR.E2H == 1), accesses to CPACR_EL1 are routed to in __activate_cptr_traps()
104 * we're in a nested context. in __activate_cptr_traps()
117 * - CPTR_EL2.xEN = x0, traps are enabled in __activate_cptr_traps()
118 * - CPTR_EL2.xEN = x1, traps are disabled in __activate_cptr_traps()
130 if (kvm_has_feat(vcpu->kvm, ID_AA64MMFR3_EL1, S2POE, IMP)) in __activate_cptr_traps()
151 * We're entrering the guest. Reload the correct in __activate_traps()
186 * We're exiting the guest. Save the latest CVAL value in __deactivate_traps()
244 host_data_ptr(host_ctxt)->__hyp_running_vcpu = vcpu; in kvm_vcpu_load_vhe()
248 __load_stage2(vcpu->arch.hw_mmu, vcpu->arch.hw_mmu->arch); in kvm_vcpu_load_vhe()
256 host_data_ptr(host_ctxt)->__hyp_running_vcpu = NULL; in kvm_vcpu_put_vhe()
316 if (kvm_has_fpmr(vcpu->kvm)) in kvm_hyp_save_fpsimd_host()
322 int ret = -EINVAL; in kvm_hyp_handle_tlbi_el2()
470 guest_ctxt = &vcpu->arch.ctxt; in __kvm_vcpu_run_vhe()
491 /* And we're baaack! */ in __kvm_vcpu_run_vhe()
549 vcpu = host_ctxt->__hyp_running_vcpu; in __hyp_call_panic()