Home
last modified time | relevance | path

Searched refs:dr6 (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/arch/x86/kernel/
Dtraps.c725 unsigned long dr6; in do_debug() local
730 get_debugreg(dr6, 6); in do_debug()
745 dr6 &= ~DR6_RESERVED; in do_debug()
754 if (unlikely(!user_mode(regs) && (dr6 & DR_STEP) && in do_debug()
756 dr6 &= ~DR_STEP; in do_debug()
757 if (!dr6) in do_debug()
771 if (!dr6 && user_mode(regs)) in do_debug()
775 tsk->thread.debugreg6 = dr6; in do_debug()
782 if (notify_die(DIE_DEBUG, "debug", regs, (long)&dr6, error_code, in do_debug()
803 if (WARN_ON_ONCE((dr6 & DR_STEP) && !user_mode(regs))) { in do_debug()
Dhw_breakpoint.c456 unsigned long dr7, dr6; in hw_breakpoint_handler() local
461 dr6 = *dr6_p; in hw_breakpoint_handler()
464 if (dr6 & DR_STEP) in hw_breakpoint_handler()
468 if ((dr6 & DR_TRAP_BITS) == 0) in hw_breakpoint_handler()
484 if (likely(!(dr6 & (DR_TRAP0 << i)))) in hw_breakpoint_handler()
527 (dr6 & (~DR_TRAP_BITS))) in hw_breakpoint_handler()
/Linux-v4.19/arch/x86/include/uapi/asm/
Dkvm.h255 __u64 dr6; member
331 __u64 dr6; member
/Linux-v4.19/tools/arch/x86/include/uapi/asm/
Dkvm.h255 __u64 dr6; member
331 __u64 dr6; member
/Linux-v4.19/arch/x86/include/asm/
Dsvm.h180 u64 dr6; member
Dkvm_host.h651 unsigned long dr6; member
/Linux-v4.19/arch/x86/kvm/
Dx86.c919 kvm_x86_ops->set_dr6(vcpu, vcpu->arch.dr6); in kvm_update_dr6()
958 vcpu->arch.dr6 = (val & DR6_VOLATILE) | kvm_dr6_fixed(vcpu); in __kvm_set_dr()
994 *val = vcpu->arch.dr6; in kvm_get_dr()
3485 dbgregs->dr6 = val; in kvm_vcpu_ioctl_x86_get_debugregs()
3497 if (dbgregs->dr6 & ~0xffffffffull) in kvm_vcpu_ioctl_x86_set_debugregs()
3504 vcpu->arch.dr6 = dbgregs->dr6; in kvm_vcpu_ioctl_x86_set_debugregs()
6029 u32 dr6 = 0; in kvm_vcpu_check_hw_bp() local
6037 dr6 |= (1 << i); in kvm_vcpu_check_hw_bp()
6038 return dr6; in kvm_vcpu_check_hw_bp()
6046 kvm_run->debug.arch.dr6 = DR6_BS | DR6_FIXED_1 | DR6_RTM; in kvm_vcpu_do_singlestep()
[all …]
Dsvm.c1570 save->dr6 = 0xffff0ff0; in init_vmcb()
2608 return to_svm(vcpu)->vmcb->save.dr6; in svm_get_dr6()
2615 svm->vmcb->save.dr6 = value; in svm_set_dr6()
2627 vcpu->arch.dr6 = svm_get_dr6(vcpu); in svm_sync_dirty_debug_regs()
3122 unsigned long dr6; in nested_svm_intercept_db() local
3129 if (kvm_get_dr(&svm->vcpu, 6, &dr6)) in nested_svm_intercept_db()
3131 if (!(dr6 & DR6_BS)) in nested_svm_intercept_db()
3308 nested_vmcb->save.dr6 = vmcb->save.dr6; in nested_svm_vmexit()
3483 svm->vmcb->save.dr6 = nested_vmcb->save.dr6; in enter_svm_guest_mode()
4866 "dr6:", save->dr6, "dr7:", save->dr7); in dump_vmcb()
Dvmx.c3298 *exit_qual = vcpu->arch.dr6; in nested_vmx_check_exception()
7044 unsigned long cr2, rip, dr6; in handle_exception() local
7108 dr6 = vmcs_readl(EXIT_QUALIFICATION); in handle_exception()
7111 vcpu->arch.dr6 &= ~15; in handle_exception()
7112 vcpu->arch.dr6 |= dr6 | DR6_RTM; in handle_exception()
7119 kvm_run->debug.arch.dr6 = dr6 | DR6_FIXED_1; in handle_exception()
7349 vcpu->run->debug.arch.dr6 = vcpu->arch.dr6; in handle_dr()
7356 vcpu->arch.dr6 &= ~15; in handle_dr()
7357 vcpu->arch.dr6 |= DR6_BD | DR6_RTM; in handle_dr()
7392 return vcpu->arch.dr6; in vmx_get_dr6()
[all …]
Demulate.c4238 ulong dr6; in check_dr_read() local
4240 ctxt->ops->get_dr(ctxt, 6, &dr6); in check_dr_read()
4241 dr6 &= ~15; in check_dr_read()
4242 dr6 |= DR6_BD | DR6_RTM; in check_dr_read()
4243 ctxt->ops->set_dr(ctxt, 6, dr6); in check_dr_read()
/Linux-v4.19/Documentation/virtual/kvm/
Dapi.txt984 __u64 dr6;