Lines Matching refs:debug
12 #include <asm/debug-monitors.h>
29 * For some debug operations we need to tweak some guest registers. As
69 * kvm_arm_init_debug - grab what we need for debug
112 /* Route all software debug exceptions to EL2 */
116 * Trap debug register access when one of the following is true:
117 * - Userspace is using the hardware to debug the guest
119 * - The guest is not using debug (DEBUG_DIRTY clear).
120 * - The guest has enabled the OS Lock (debug exceptions are blocked).
131 * kvm_arm_vcpu_init_debug - setup vcpu debug traps
145 * kvm_arm_reset_debug_ptr - reset the debug ptr to point to the vcpu state
154 * kvm_arm_setup_debug - set up debug related stuff
159 * debug related registers.
161 * Additionally, KVM only traps guest accesses to the debug registers if
166 * debug registers.
177 /* Check if we need to use the debug registers. */
179 /* Save guest debug state */
189 * debug exception and we return to userspace.
231 * debug ioctl. The existing DEBUG_DIRTY mechanism ensures
252 * The OS Lock blocks debug exceptions in all ELs when it is
255 * MDSCR_EL1.MDE. In so doing, we ensure that host debug
285 * Restore the guest's debug registers if we were using them.
300 * If we were using HW debug we need to restore the
301 * debug_ptr to the guest debug state.