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
19 #include <asm/debug-monitors.h>
41 vcpu->stat.hvc_exit_stat++; in handle_hvc()
55 * "If an SMC instruction executed at Non-secure EL1 is in handle_smc()
68 * Guest access to FP/ASIMD registers are routed to this handler only
78 * kvm_handle_wfx - handle a wait-for-interrupts or wait-for-event
86 * world-switches and schedule other host processes until there is an
93 vcpu->stat.wfe_exit_stat++; in kvm_handle_wfx()
97 vcpu->stat.wfi_exit_stat++; in kvm_handle_wfx()
108 * kvm_handle_guest_debug - handle a debug exception instruction
114 * userspace to re-inject the correct exception for guest delivery.
116 * @return: 0 (while setting vcpu->run->exit_reason), -1 for error
120 struct kvm_run *run = vcpu->run; in kvm_handle_guest_debug()
124 run->exit_reason = KVM_EXIT_DEBUG; in kvm_handle_guest_debug()
125 run->debug.arch.hsr = esr; in kvm_handle_guest_debug()
129 run->debug.arch.far = vcpu->arch.fault.far_el2; in kvm_handle_guest_debug()
137 kvm_err("%s: un-handled case esr: %#08x\n", in kvm_handle_guest_debug()
139 ret = -1; in kvm_handle_guest_debug()
150 kvm_pr_unimpl("Unknown exception class: esr: %#08x -- %s\n", in kvm_handle_unknown_ec()
209 * We may be single-stepping an emulated instruction. If the emulation
241 struct kvm_run *run = vcpu->run; in handle_exit()
246 * survives it will re-execute the original instruction. in handle_exit()
262 * EL2 has been reset to the hyp-stub. This happens when a guest in handle_exit()
263 * is pre-empted by kvm_reboot()'s shutdown call. in handle_exit()
265 run->exit_reason = KVM_EXIT_FAIL_ENTRY; in handle_exit()
272 run->exit_reason = KVM_EXIT_FAIL_ENTRY; in handle_exit()
273 return -EINVAL; in handle_exit()
277 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in handle_exit()