Home
last modified time | relevance | path

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

/arch/x86/kernel/
Dhw_breakpoint.c442 unsigned long dr7, dr6; in hw_breakpoint_handler() local
447 dr6 = *dr6_p; in hw_breakpoint_handler()
450 if (dr6 & DR_STEP) in hw_breakpoint_handler()
454 if ((dr6 & DR_TRAP_BITS) == 0) in hw_breakpoint_handler()
470 if (likely(!(dr6 & (DR_TRAP0 << i)))) in hw_breakpoint_handler()
513 (dr6 & (~DR_TRAP_BITS))) in hw_breakpoint_handler()
Dtraps.c713 unsigned long dr6; in do_debug() local
718 get_debugreg(dr6, 6); in do_debug()
733 dr6 &= ~DR6_RESERVED; in do_debug()
742 if (unlikely(!user_mode(regs) && (dr6 & DR_STEP) && in do_debug()
744 dr6 &= ~DR_STEP; in do_debug()
745 if (!dr6) in do_debug()
759 if (!dr6 && user_mode(regs)) in do_debug()
763 tsk->thread.debugreg6 = dr6; in do_debug()
770 if (notify_die(DIE_DEBUG, "debug", regs, (long)&dr6, error_code, in do_debug()
791 if (WARN_ON_ONCE((dr6 & DR_STEP) && !user_mode(regs))) { in do_debug()
/arch/x86/include/uapi/asm/
Dkvm.h255 __u64 dr6; member
334 __u64 dr6; member
/arch/x86/include/asm/
Dsvm.h183 u64 dr6; member
Dkvm_host.h702 unsigned long dr6; member
/arch/x86/kvm/
Dx86.c436 vcpu->arch.dr6 &= ~DR_TRAP_BITS; in kvm_deliver_exception_payload()
440 vcpu->arch.dr6 |= DR6_RTM; in kvm_deliver_exception_payload()
441 vcpu->arch.dr6 |= payload; in kvm_deliver_exception_payload()
450 vcpu->arch.dr6 ^= payload & DR6_RTM; in kvm_deliver_exception_payload()
458 vcpu->arch.dr6 &= ~BIT(12); in kvm_deliver_exception_payload()
1086 kvm_x86_ops->set_dr6(vcpu, vcpu->arch.dr6); in kvm_update_dr6()
1127 vcpu->arch.dr6 = (val & DR6_VOLATILE) | kvm_dr6_fixed(vcpu); in __kvm_set_dr()
1165 *val = vcpu->arch.dr6; in kvm_get_dr()
3974 dbgregs->dr6 = val; in kvm_vcpu_ioctl_x86_get_debugregs()
3984 if (dbgregs->dr6 & ~0xffffffffull) in kvm_vcpu_ioctl_x86_set_debugregs()
[all …]
Dsvm.c1627 save->dr6 = 0xffff0ff0; in init_vmcb()
2726 return to_svm(vcpu)->vmcb->save.dr6; in svm_get_dr6()
2733 svm->vmcb->save.dr6 = value; in svm_set_dr6()
2745 vcpu->arch.dr6 = svm_get_dr6(vcpu); in svm_sync_dirty_debug_regs()
3216 unsigned long dr6; in nested_svm_intercept_db() local
3223 if (kvm_get_dr(&svm->vcpu, 6, &dr6)) in nested_svm_intercept_db()
3225 if (!(dr6 & DR6_BS)) in nested_svm_intercept_db()
3410 nested_vmcb->save.dr6 = vmcb->save.dr6; in nested_svm_vmexit()
3597 svm->vmcb->save.dr6 = nested_vmcb->save.dr6; in enter_svm_guest_mode()
4962 "dr6:", save->dr6, "dr7:", save->dr7); in dump_vmcb()
Demulate.c4382 ulong dr6; in check_dr_read() local
4384 ctxt->ops->get_dr(ctxt, 6, &dr6); in check_dr_read()
4385 dr6 &= ~DR_TRAP_BITS; in check_dr_read()
4386 dr6 |= DR6_BD | DR6_RTM; in check_dr_read()
4387 ctxt->ops->set_dr(ctxt, 6, dr6); in check_dr_read()
/arch/x86/kvm/vmx/
Dvmx.c4704 unsigned long cr2, rip, dr6; in handle_exception_nmi() local
4768 dr6 = vmcs_readl(EXIT_QUALIFICATION); in handle_exception_nmi()
4771 vcpu->arch.dr6 &= ~DR_TRAP_BITS; in handle_exception_nmi()
4772 vcpu->arch.dr6 |= dr6 | DR6_RTM; in handle_exception_nmi()
4779 kvm_run->debug.arch.dr6 = dr6 | DR6_FIXED_1; in handle_exception_nmi()
5009 vcpu->run->debug.arch.dr6 = vcpu->arch.dr6; in handle_dr()
5016 vcpu->arch.dr6 &= ~DR_TRAP_BITS; in handle_dr()
5017 vcpu->arch.dr6 |= DR6_BD | DR6_RTM; in handle_dr()
5051 return vcpu->arch.dr6; in vmx_get_dr6()
5064 get_debugreg(vcpu->arch.dr6, 6); in vmx_sync_dirty_debug_regs()
Dnested.c408 payload = vcpu->arch.dr6; in nested_vmx_check_exception()