/linux/arch/x86/kernel/ |
A D | traps.c | 822 unsigned long dr6; in debug_read_clear_dr6() local 835 get_debugreg(dr6, 6); in debug_read_clear_dr6() 839 return dr6; in debug_read_clear_dr6() 883 unsigned long dr6) in exc_debug_kernel() argument 925 dr6 &= ~DR_STEP; in exc_debug_kernel() 930 if (!dr6) in exc_debug_kernel() 933 if (notify_debug(regs, &dr6)) in exc_debug_kernel() 957 unsigned long dr6) in exc_debug_user() argument 1000 icebp = !dr6; in exc_debug_user() 1014 if (dr6 & DR_BUS_LOCK) in exc_debug_user() [all …]
|
A 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()
|
/linux/tools/testing/selftests/kvm/x86_64/ |
A D | debug_regs.c | 132 run->debug.arch.dr6 == target_dr6, in main() 137 run->debug.arch.dr6, target_dr6); in main() 155 run->debug.arch.dr6 == target_dr6, in main() 160 run->debug.arch.dr6, target_dr6); in main() 182 run->debug.arch.dr6 == target_dr6, in main() 186 run->debug.arch.pc, target_rip, run->debug.arch.dr6, in main() 200 run->debug.arch.dr6 == target_dr6, in main() 204 run->debug.arch.pc, target_rip, run->debug.arch.dr6, in main()
|
/linux/arch/x86/include/uapi/asm/ |
A D | kvm.h | 290 __u64 dr6; member 370 __u64 dr6; member
|
/linux/tools/arch/x86/include/uapi/asm/ |
A D | kvm.h | 290 __u64 dr6; member 370 __u64 dr6; member
|
/linux/tools/testing/selftests/kvm/lib/x86_64/ |
A D | svm.c | 103 asm volatile ("mov %%dr6, %0" : "=r"(save->dr6) : : "memory"); in generic_svm_setup()
|
/linux/arch/x86/kvm/svm/ |
A D | nested.c | 317 if (CC(!kvm_dr6_valid(save->dr6)) || CC(!kvm_dr7_valid(save->dr7))) in nested_vmcb_valid_sregs() 517 svm->vcpu.arch.dr6 = vmcb12->save.dr6 | DR6_ACTIVE_LOW; in nested_vmcb02_prepare_save() 814 vmcb12->save.dr6 = svm->vcpu.arch.dr6; in nested_svm_vmexit()
|
A D | svm.c | 1927 if (unlikely(value != vmcb->save.dr6)) { in svm_set_dr6() 1928 vmcb->save.dr6 = value; in svm_set_dr6() 1948 vcpu->arch.dr6 = svm->vmcb->save.dr6; in svm_sync_dirty_debug_regs() 2000 u32 payload = svm->vmcb->save.dr6 ^ DR6_ACTIVE_LOW; in db_interception() 2014 kvm_run->debug.arch.dr6 = svm->vmcb->save.dr6; in db_interception() 3309 "dr6:", save->dr6, "dr7:", save->dr7); in dump_vmcb() 3883 svm_set_dr6(svm, vcpu->arch.dr6); in svm_vcpu_run()
|
A D | sev.c | 592 save->dr6 = svm->vcpu.arch.dr6; in sev_es_sync_vmsa()
|
/linux/tools/testing/selftests/kvm/include/x86_64/ |
A D | svm.h | 184 u64 dr6; member
|
/linux/arch/x86/kvm/ |
A D | x86.c | 581 vcpu->arch.dr6 |= payload; in kvm_deliver_exception_payload() 590 vcpu->arch.dr6 &= ~BIT(12); in kvm_deliver_exception_payload() 1278 *val = vcpu->arch.dr6; in kvm_get_dr() 4818 dbgregs->dr6 = val; in kvm_vcpu_ioctl_x86_get_debugregs() 4837 vcpu->arch.dr6 = dbgregs->dr6; in kvm_vcpu_ioctl_x86_set_debugregs() 7928 u32 dr6 = 0; in kvm_vcpu_check_hw_bp() local 7936 dr6 |= (1 << i); in kvm_vcpu_check_hw_bp() 7937 return dr6; in kvm_vcpu_check_hw_bp() 7988 if (dr6 != 0) { in kvm_vcpu_check_breakpoint() 7989 kvm_run->debug.arch.dr6 = dr6 | DR6_ACTIVE_LOW; in kvm_vcpu_check_breakpoint() [all …]
|
A D | emulate.c | 4157 ulong dr6; in check_dr_read() local 4159 ctxt->ops->get_dr(ctxt, 6, &dr6); in check_dr_read() 4160 dr6 &= ~DR_TRAP_BITS; in check_dr_read() 4161 dr6 |= DR6_BD | DR6_ACTIVE_LOW; in check_dr_read() 4162 ctxt->ops->set_dr(ctxt, 6, dr6); in check_dr_read()
|
/linux/arch/x86/include/asm/ |
A D | svm.h | 251 u64 dr6; member
|
A D | kvm_host.h | 783 unsigned long dr6; member
|
/linux/arch/x86/kvm/vmx/ |
A D | vmx.c | 4742 unsigned long cr2, dr6; in handle_exception_nmi() local 4811 dr6 = vmx_get_exit_qual(vcpu); in handle_exception_nmi() 4817 kvm_queue_exception_p(vcpu, DB_VECTOR, dr6); in handle_exception_nmi() 4820 kvm_run->debug.arch.dr6 = dr6 | DR6_ACTIVE_LOW; in handle_exception_nmi() 5064 vcpu->run->debug.arch.dr6 = DR6_BD | DR6_ACTIVE_LOW; in handle_dr() 5109 get_debugreg(vcpu->arch.dr6, 6); in vmx_sync_dirty_debug_regs() 6674 set_debugreg(vcpu->arch.dr6, 6); in vmx_vcpu_run()
|
A D | nested.c | 457 payload = vcpu->arch.dr6; in nested_vmx_check_exception()
|
/linux/Documentation/virt/kvm/ |
A D | api.rst | 1279 __u64 dr6;
|