Home
last modified time | relevance | path

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

/Linux-v6.1/arch/x86/kernel/
Dtraps.c963 unsigned long dr6; in debug_read_clear_dr6() local
976 get_debugreg(dr6, 6); in debug_read_clear_dr6()
978 dr6 ^= DR6_RESERVED; /* Flip to positive polarity */ in debug_read_clear_dr6()
980 return dr6; in debug_read_clear_dr6()
1008 static bool notify_debug(struct pt_regs *regs, unsigned long *dr6) in notify_debug() argument
1017 if (notify_die(DIE_DEBUG, "debug", regs, (long)dr6, 0, SIGTRAP) == NOTIFY_STOP) in notify_debug()
1024 unsigned long dr6) in exc_debug_kernel() argument
1065 if ((dr6 & DR_STEP) && is_sysenter_singlestep(regs)) in exc_debug_kernel()
1066 dr6 &= ~DR_STEP; in exc_debug_kernel()
1071 if (!dr6) in exc_debug_kernel()
[all …]
Dhw_breakpoint.c515 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()
Dsev.c1066 vmsa->dr6 = AP_INIT_DR6_DEFAULT; in wakeup_cpu_via_vmgexit()
/Linux-v6.1/tools/testing/selftests/kvm/x86_64/
Ddebug_regs.c128 run->debug.arch.dr6 == target_dr6, in main()
133 run->debug.arch.dr6, target_dr6); in main()
151 run->debug.arch.dr6 == target_dr6, in main()
156 run->debug.arch.dr6, target_dr6); in main()
177 run->debug.arch.dr6 == target_dr6, in main()
181 run->debug.arch.pc, target_rip, run->debug.arch.dr6, in main()
195 run->debug.arch.dr6 == target_dr6, in main()
199 run->debug.arch.pc, target_rip, run->debug.arch.dr6, in main()
/Linux-v6.1/arch/x86/include/uapi/asm/
Dkvm.h290 __u64 dr6; member
375 __u64 dr6; member
/Linux-v6.1/tools/arch/x86/include/uapi/asm/
Dkvm.h290 __u64 dr6; member
375 __u64 dr6; member
/Linux-v6.1/arch/x86/kvm/svm/
Dnested.c291 if (CC(!kvm_dr6_valid(save->dr6)) || CC(!kvm_dr7_valid(save->dr7))) in __nested_vmcb_check_save()
395 to->dr6 = from->dr6; in __nested_copy_vmcb_save_to_cache()
578 svm->vcpu.arch.dr6 = svm->nested.save.dr6 | DR6_ACTIVE_LOW; in nested_vmcb02_prepare_save()
975 vmcb12->save.dr6 = svm->vcpu.arch.dr6; in nested_svm_vmexit()
Dsvm.c1912 if (unlikely(value != vmcb->save.dr6)) { in svm_set_dr6()
1913 vmcb->save.dr6 = value; in svm_set_dr6()
1933 vcpu->arch.dr6 = svm->vmcb->save.dr6; in svm_sync_dirty_debug_regs()
1985 u32 payload = svm->vmcb->save.dr6 ^ DR6_ACTIVE_LOW; in db_interception()
1999 kvm_run->debug.arch.dr6 = svm->vmcb->save.dr6; in db_interception()
3305 "dr6:", save->dr6, "dr7:", save->dr7); in dump_vmcb()
3957 svm_set_dr6(svm, vcpu->arch.dr6); in svm_vcpu_run()
Dsvm.h126 u64 dr6; member
Dsev.c605 save->dr6 = svm->vcpu.arch.dr6; in sev_es_sync_vmsa()
/Linux-v6.1/tools/testing/selftests/kvm/lib/x86_64/
Dsvm.c95 asm volatile ("mov %%dr6, %0" : "=r"(save->dr6) : : "memory"); in generic_svm_setup()
/Linux-v6.1/arch/x86/include/asm/
Dsvm.h306 u64 dr6; member
363 u64 dr6; member
Dkvm_host.h830 unsigned long dr6; member
/Linux-v6.1/tools/testing/selftests/kvm/include/x86_64/
Dsvm.h191 u64 dr6; member
/Linux-v6.1/arch/x86/kvm/
Dx86.c577 vcpu->arch.dr6 &= ~DR_TRAP_BITS; in kvm_deliver_exception_payload()
594 vcpu->arch.dr6 |= DR6_ACTIVE_LOW; in kvm_deliver_exception_payload()
595 vcpu->arch.dr6 |= ex->payload; in kvm_deliver_exception_payload()
596 vcpu->arch.dr6 ^= ex->payload & DR6_ACTIVE_LOW; in kvm_deliver_exception_payload()
604 vcpu->arch.dr6 &= ~BIT(12); in kvm_deliver_exception_payload()
1363 vcpu->arch.dr6 = (val & DR6_VOLATILE) | kvm_dr6_fixed(vcpu); in kvm_set_dr()
1388 *val = vcpu->arch.dr6; in kvm_get_dr()
5246 dbgregs->dr6 = val; in kvm_vcpu_ioctl_x86_get_debugregs()
5258 if (!kvm_dr6_valid(dbgregs->dr6)) in kvm_vcpu_ioctl_x86_set_debugregs()
5265 vcpu->arch.dr6 = dbgregs->dr6; in kvm_vcpu_ioctl_x86_set_debugregs()
[all …]
Demulate.c4232 ulong dr6; in check_dr_read() local
4234 ctxt->ops->get_dr(ctxt, 6, &dr6); in check_dr_read()
4235 dr6 &= ~DR_TRAP_BITS; in check_dr_read()
4236 dr6 |= DR6_BD | DR6_ACTIVE_LOW; in check_dr_read()
4237 ctxt->ops->set_dr(ctxt, 6, dr6); in check_dr_read()
/Linux-v6.1/arch/x86/kvm/vmx/
Dvmx.c5064 unsigned long cr2, dr6; in handle_exception_nmi() local
5144 dr6 = vmx_get_exit_qual(vcpu); in handle_exception_nmi()
5177 kvm_queue_exception_p(vcpu, DB_VECTOR, dr6); in handle_exception_nmi()
5180 kvm_run->debug.arch.dr6 = dr6 | DR6_ACTIVE_LOW; in handle_exception_nmi()
5424 vcpu->run->debug.arch.dr6 = DR6_BD | DR6_ACTIVE_LOW; in handle_dr()
5469 get_debugreg(vcpu->arch.dr6, 6); in vmx_sync_dirty_debug_regs()
7165 set_debugreg(vcpu->arch.dr6, 6); in vmx_vcpu_run()
Dnested.c3835 exit_qual = vcpu->arch.dr6; in nested_vmx_inject_exception_vmexit()
/Linux-v6.1/Documentation/virt/kvm/
Dapi.rst1294 __u64 dr6;