/arch/x86/kernel/ |
D | traps.c | 877 unsigned long dr6; in debug_read_clear_dr6() local 890 get_debugreg(dr6, 6); in debug_read_clear_dr6() 892 dr6 ^= DR6_RESERVED; /* Flip to positive polarity */ in debug_read_clear_dr6() 894 return dr6; in debug_read_clear_dr6() 922 static bool notify_debug(struct pt_regs *regs, unsigned long *dr6) in notify_debug() argument 931 if (notify_die(DIE_DEBUG, "debug", regs, (long)dr6, 0, SIGTRAP) == NOTIFY_STOP) in notify_debug() 938 unsigned long dr6) in exc_debug_kernel() argument 979 if ((dr6 & DR_STEP) && is_sysenter_singlestep(regs)) in exc_debug_kernel() 980 dr6 &= ~DR_STEP; in exc_debug_kernel() 985 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()
|
D | sev.c | 1038 vmsa->dr6 = AP_INIT_DR6_DEFAULT; in wakeup_cpu_via_vmgexit()
|
/arch/x86/kvm/ |
D | smm.h | 60 u32 dr6; member 131 u64 dr6; member
|
D | smm.c | 53 CHECK_SMRAM32_OFFSET(dr6, 0xFFCC); in check_smram_offsets() 100 CHECK_SMRAM64_OFFSET(dr6, 0xFF68); in check_smram_offsets() 199 smram->dr6 = (u32)val; in enter_smm_save_state_32() 245 smram->dr6 = val; in enter_smm_save_state_64() 480 if (kvm_set_dr(vcpu, 6, smstate->dr6)) in rsm_load_state_32() 532 if (kvm_set_dr(vcpu, 6, smstate->dr6)) in rsm_load_state_64()
|
D | x86.c | 586 vcpu->arch.dr6 &= ~DR_TRAP_BITS; in kvm_deliver_exception_payload() 603 vcpu->arch.dr6 |= DR6_ACTIVE_LOW; in kvm_deliver_exception_payload() 604 vcpu->arch.dr6 |= ex->payload; in kvm_deliver_exception_payload() 605 vcpu->arch.dr6 ^= ex->payload & DR6_ACTIVE_LOW; in kvm_deliver_exception_payload() 613 vcpu->arch.dr6 &= ~BIT(12); in kvm_deliver_exception_payload() 1387 vcpu->arch.dr6 = (val & DR6_VOLATILE) | kvm_dr6_fixed(vcpu); in kvm_set_dr() 1412 *val = vcpu->arch.dr6; in kvm_get_dr() 5367 dbgregs->dr6 = val; in kvm_vcpu_ioctl_x86_get_debugregs() 5377 if (!kvm_dr6_valid(dbgregs->dr6)) in kvm_vcpu_ioctl_x86_set_debugregs() 5384 vcpu->arch.dr6 = dbgregs->dr6; in kvm_vcpu_ioctl_x86_set_debugregs() [all …]
|
D | emulate.c | 3888 ulong dr6; in check_dr_read() local 3890 ctxt->ops->get_dr(ctxt, 6, &dr6); in check_dr_read() 3891 dr6 &= ~DR_TRAP_BITS; in check_dr_read() 3892 dr6 |= DR6_BD | DR6_ACTIVE_LOW; in check_dr_read() 3893 ctxt->ops->set_dr(ctxt, 6, dr6); in check_dr_read()
|
/arch/x86/include/uapi/asm/ |
D | kvm.h | 288 __u64 dr6; member 373 __u64 dr6; member
|
/arch/x86/kvm/svm/ |
D | nested.c | 288 if (CC(!kvm_dr6_valid(save->dr6)) || CC(!kvm_dr7_valid(save->dr7))) in __nested_vmcb_check_save() 392 to->dr6 = from->dr6; in __nested_copy_vmcb_save_to_cache() 587 svm->vcpu.arch.dr6 = svm->nested.save.dr6 | DR6_ACTIVE_LOW; in nested_vmcb02_prepare_save() 1011 vmcb12->save.dr6 = svm->vcpu.arch.dr6; in nested_svm_vmexit()
|
D | svm.c | 2024 if (unlikely(value != vmcb->save.dr6)) { in svm_set_dr6() 2025 vmcb->save.dr6 = value; in svm_set_dr6() 2045 vcpu->arch.dr6 = svm->vmcb->save.dr6; in svm_sync_dirty_debug_regs() 2097 u32 payload = svm->vmcb->save.dr6 ^ DR6_ACTIVE_LOW; in db_interception() 2111 kvm_run->debug.arch.dr6 = svm->vmcb->save.dr6; in db_interception() 3436 "dr6:", save->dr6, "dr7:", save->dr7); in dump_vmcb() 4191 svm_set_dr6(svm, vcpu->arch.dr6); in svm_vcpu_run()
|
D | svm.h | 123 u64 dr6; member
|
D | sev.c | 620 save->dr6 = svm->vcpu.arch.dr6; in sev_es_sync_vmsa()
|
/arch/x86/include/asm/ |
D | svm.h | 324 u64 dr6; member 381 u64 dr6; member
|
D | kvm_host.h | 906 unsigned long dr6; member
|
/arch/x86/kvm/vmx/ |
D | vmx.c | 5196 unsigned long cr2, dr6; in handle_exception_nmi() local 5281 dr6 = vmx_get_exit_qual(vcpu); in handle_exception_nmi() 5314 kvm_queue_exception_p(vcpu, DB_VECTOR, dr6); in handle_exception_nmi() 5317 kvm_run->debug.arch.dr6 = dr6 | DR6_ACTIVE_LOW; in handle_exception_nmi() 5560 vcpu->run->debug.arch.dr6 = DR6_BD | DR6_ACTIVE_LOW; in handle_dr() 5605 get_debugreg(vcpu->arch.dr6, 6); in vmx_sync_dirty_debug_regs() 7359 set_debugreg(vcpu->arch.dr6, 6); in vmx_vcpu_run()
|
D | nested.c | 3870 exit_qual = vcpu->arch.dr6; in nested_vmx_inject_exception_vmexit()
|