Searched refs:dr6 (Results 1 – 12 of 12) sorted by relevance
/arch/x86/kernel/ |
D | traps.c | 818 unsigned long dr6; in debug_read_clear_dr6() local 831 get_debugreg(dr6, 6); in debug_read_clear_dr6() 833 dr6 ^= DR6_RESERVED; /* Flip to positive polarity */ in debug_read_clear_dr6() 835 return dr6; in debug_read_clear_dr6() 863 static bool notify_debug(struct pt_regs *regs, unsigned long *dr6) in notify_debug() argument 872 if (notify_die(DIE_DEBUG, "debug", regs, (long)dr6, 0, SIGTRAP) == NOTIFY_STOP) in notify_debug() 879 unsigned long dr6) in exc_debug_kernel() argument 920 if ((dr6 & DR_STEP) && is_sysenter_singlestep(regs)) in exc_debug_kernel() 921 dr6 &= ~DR_STEP; in exc_debug_kernel() 926 if (!dr6) in exc_debug_kernel() [all …]
|
D | hw_breakpoint.c | 515 unsigned long dr6; in hw_breakpoint_handler() local 520 dr6 = *dr6_p; in hw_breakpoint_handler() 523 if ((dr6 & DR_TRAP_BITS) == 0) in hw_breakpoint_handler() 528 if (likely(!(dr6 & (DR_TRAP0 << i)))) in hw_breakpoint_handler() 546 if (bpx && (dr6 & DR_STEP)) in hw_breakpoint_handler() 571 (dr6 & (~DR_TRAP_BITS))) in hw_breakpoint_handler()
|
/arch/x86/include/uapi/asm/ |
D | kvm.h | 290 __u64 dr6; member 370 __u64 dr6; member
|
/arch/x86/kvm/svm/ |
D | nested.c | 303 if (CC(!kvm_dr6_valid(save->dr6)) || CC(!kvm_dr7_valid(save->dr7))) in nested_vmcb_valid_sregs() 503 svm->vcpu.arch.dr6 = vmcb12->save.dr6 | DR6_ACTIVE_LOW; in nested_vmcb02_prepare_save() 791 vmcb12->save.dr6 = svm->vcpu.arch.dr6; in nested_svm_vmexit()
|
D | svm.c | 1894 if (unlikely(value != vmcb->save.dr6)) { in svm_set_dr6() 1895 vmcb->save.dr6 = value; in svm_set_dr6() 1915 vcpu->arch.dr6 = svm->vmcb->save.dr6; in svm_sync_dirty_debug_regs() 1967 u32 payload = svm->vmcb->save.dr6 ^ DR6_ACTIVE_LOW; in db_interception() 1981 kvm_run->debug.arch.dr6 = svm->vmcb->save.dr6; in db_interception() 3264 "dr6:", save->dr6, "dr7:", save->dr7); in dump_vmcb() 3840 svm_set_dr6(svm, vcpu->arch.dr6); in svm_vcpu_run()
|
D | sev.c | 585 save->dr6 = svm->vcpu.arch.dr6; in sev_es_sync_vmsa()
|
/arch/x86/include/asm/ |
D | svm.h | 251 u64 dr6; member
|
D | kvm_host.h | 790 unsigned long dr6; member
|
/arch/x86/kvm/ |
D | x86.c | 576 vcpu->arch.dr6 &= ~DR_TRAP_BITS; in kvm_deliver_exception_payload() 593 vcpu->arch.dr6 |= DR6_ACTIVE_LOW; in kvm_deliver_exception_payload() 594 vcpu->arch.dr6 |= payload; in kvm_deliver_exception_payload() 595 vcpu->arch.dr6 ^= payload & DR6_ACTIVE_LOW; in kvm_deliver_exception_payload() 603 vcpu->arch.dr6 &= ~BIT(12); in kvm_deliver_exception_payload() 1281 vcpu->arch.dr6 = (val & DR6_VOLATILE) | kvm_dr6_fixed(vcpu); in kvm_set_dr() 1306 *val = vcpu->arch.dr6; in kvm_get_dr() 4840 dbgregs->dr6 = val; in kvm_vcpu_ioctl_x86_get_debugregs() 4850 if (!kvm_dr6_valid(dbgregs->dr6)) in kvm_vcpu_ioctl_x86_set_debugregs() 4857 vcpu->arch.dr6 = dbgregs->dr6; in kvm_vcpu_ioctl_x86_set_debugregs() [all …]
|
D | emulate.c | 4225 ulong dr6; in check_dr_read() local 4227 ctxt->ops->get_dr(ctxt, 6, &dr6); in check_dr_read() 4228 dr6 &= ~DR_TRAP_BITS; in check_dr_read() 4229 dr6 |= DR6_BD | DR6_ACTIVE_LOW; in check_dr_read() 4230 ctxt->ops->set_dr(ctxt, 6, dr6); in check_dr_read()
|
/arch/x86/kvm/vmx/ |
D | vmx.c | 4846 unsigned long cr2, dr6; in handle_exception_nmi() local 4915 dr6 = vmx_get_exit_qual(vcpu); in handle_exception_nmi() 4946 kvm_queue_exception_p(vcpu, DB_VECTOR, dr6); in handle_exception_nmi() 4949 kvm_run->debug.arch.dr6 = dr6 | DR6_ACTIVE_LOW; in handle_exception_nmi() 5186 vcpu->run->debug.arch.dr6 = DR6_BD | DR6_ACTIVE_LOW; in handle_dr() 5231 get_debugreg(vcpu->arch.dr6, 6); in vmx_sync_dirty_debug_regs() 6835 set_debugreg(vcpu->arch.dr6, 6); in vmx_vcpu_run()
|
D | nested.c | 456 payload = vcpu->arch.dr6; in nested_vmx_check_exception()
|