Lines Matching +full:re +full:- +full:routed
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2012,2013 - ARM Ltd
7 * Copyright (C) 2012 - Virtual Open Systems and Columbia University
20 #include <asm/debug-monitors.h>
42 vcpu->stat.hvc_exit_stat++; in handle_hvc()
56 * "If an SMC instruction executed at Non-secure EL1 is in handle_smc()
69 * Guest access to FP/ASIMD registers are routed to this handler only
79 * kvm_handle_wfx - handle a wait-for-interrupts or wait-for-event
87 * world-switches and schedule other host processes until there is an
94 vcpu->stat.wfe_exit_stat++; in kvm_handle_wfx()
98 vcpu->stat.wfi_exit_stat++; in kvm_handle_wfx()
109 * kvm_handle_guest_debug - handle a debug exception instruction
115 * userspace to re-inject the correct exception for guest delivery.
117 * @return: 0 (while setting vcpu->run->exit_reason), -1 for error
121 struct kvm_run *run = vcpu->run; in kvm_handle_guest_debug()
125 run->exit_reason = KVM_EXIT_DEBUG; in kvm_handle_guest_debug()
126 run->debug.arch.hsr = esr; in kvm_handle_guest_debug()
130 run->debug.arch.far = vcpu->arch.fault.far_el2; in kvm_handle_guest_debug()
138 kvm_err("%s: un-handled case esr: %#08x\n", in kvm_handle_guest_debug()
140 ret = -1; in kvm_handle_guest_debug()
151 kvm_pr_unimpl("Unknown exception class: esr: %#08x -- %s\n", in kvm_handle_unknown_ec()
210 * We may be single-stepping an emulated instruction. If the emulation
242 struct kvm_run *run = vcpu->run; in handle_exit()
255 *vcpu_pc(vcpu) -= adj; in handle_exit()
272 * EL2 has been reset to the hyp-stub. This happens when a guest in handle_exit()
273 * is pre-empted by kvm_reboot()'s shutdown call. in handle_exit()
275 run->exit_reason = KVM_EXIT_FAIL_ENTRY; in handle_exit()
282 run->exit_reason = KVM_EXIT_FAIL_ENTRY; in handle_exit()
283 return -EINVAL; in handle_exit()
287 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in handle_exit()