Home
last modified time | relevance | path

Searched refs:DR_STEP (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dtraps.c914 * Catch SYSENTER with TF set and clear DR_STEP. If this hit a in exc_debug_kernel()
917 if ((dr6 & DR_STEP) && is_sysenter_singlestep(regs)) in exc_debug_kernel()
918 dr6 &= ~DR_STEP; in exc_debug_kernel()
935 * So if we get here with DR_STEP set, something is wonky. in exc_debug_kernel()
940 if (WARN_ON_ONCE(dr6 & DR_STEP)) in exc_debug_kernel()
973 * Start the virtual/ptrace DR6 value with just the DR_STEP mask in exc_debug_user()
976 * Userspace expects DR_STEP to be visible in ptrace_get_debugreg(6) in exc_debug_user()
979 current->thread.virtual_dr6 = (dr6 & DR_STEP); in exc_debug_user()
1008 if (dr6 & (DR_STEP | DR_TRAP_BITS) || icebp) in exc_debug_user()
H A Dhw_breakpoint.c546 if (bpx && (dr6 & DR_STEP)) in hw_breakpoint_handler()
H A Dkgdb.c489 (*(unsigned long *)ERR_PTR(args->err)) &= ~DR_STEP; in single_step_cont()
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/
H A Ddebugreg.h27 #define DR_STEP (0x4000) /* single-step */ macro
/kernel/linux/linux-6.6/arch/x86/include/uapi/asm/
H A Ddebugreg.h28 #define DR_STEP (0x4000) /* single-step */ macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-x86/asm/
H A Ddebugreg.h31 #define DR_STEP (0x4000) macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
H A Ddebugreg.h31 #define DR_STEP (0x4000) macro
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dtraps.h28 if (condition & DR_STEP) in get_si_code()
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dtraps.h31 if (condition & DR_STEP) in get_si_code()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dtraps.c976 * Catch SYSENTER with TF set and clear DR_STEP. If this hit a in exc_debug_kernel()
979 if ((dr6 & DR_STEP) && is_sysenter_singlestep(regs)) in exc_debug_kernel()
980 dr6 &= ~DR_STEP; in exc_debug_kernel()
997 * So if we get here with DR_STEP set, something is wonky. in exc_debug_kernel()
1002 if (WARN_ON_ONCE(dr6 & DR_STEP)) in exc_debug_kernel()
1035 * Start the virtual/ptrace DR6 value with just the DR_STEP mask in exc_debug_user()
1038 * Userspace expects DR_STEP to be visible in ptrace_get_debugreg(6) in exc_debug_user()
1041 current->thread.virtual_dr6 = (dr6 & DR_STEP); in exc_debug_user()
1074 if (dr6 & (DR_STEP | DR_TRAP_BITS) || icebp) in exc_debug_user()
H A Dhw_breakpoint.c546 if (bpx && (dr6 & DR_STEP)) in hw_breakpoint_handler()
H A Dkgdb.c489 (*(unsigned long *)ERR_PTR(args->err)) &= ~DR_STEP; in single_step_cont()
/kernel/linux/linux-5.10/arch/x86/mm/
H A Dkmmio.c586 if (val == DIE_DEBUG && (*dr6_p & DR_STEP)) in kmmio_die_notifier()
592 *dr6_p &= ~DR_STEP; in kmmio_die_notifier()
/kernel/linux/linux-6.6/arch/x86/mm/
H A Dkmmio.c596 if (val == DIE_DEBUG && (*dr6_p & DR_STEP)) in kmmio_die_notifier()
602 *dr6_p &= ~DR_STEP; in kmmio_die_notifier()

Completed in 9 milliseconds