Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/
A Dtraps.c928 unsigned long dr6; in debug_read_clear_dr6() local
941 get_debugreg(dr6, 6); in debug_read_clear_dr6()
945 return dr6; in debug_read_clear_dr6()
1036 dr6 &= ~DR_STEP; in exc_debug_kernel()
1041 if (!dr6) in exc_debug_kernel()
1044 if (notify_debug(regs, &dr6)) in exc_debug_kernel()
1110 icebp = !dr6; in exc_debug_user()
1112 if (notify_debug(regs, &dr6)) in exc_debug_user()
1124 if (dr6 & DR_BUS_LOCK) in exc_debug_user()
1173 exc_debug_user(regs, dr6); in DEFINE_FREDENTRY_DEBUG()
[all …]
A 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()
/linux/tools/testing/selftests/kvm/x86_64/
A Ddebug_regs.c131 run->debug.arch.dr6 == target_dr6, in main()
136 run->debug.arch.dr6, target_dr6); in main()
154 run->debug.arch.dr6 == target_dr6, in main()
159 run->debug.arch.dr6, target_dr6); in main()
180 run->debug.arch.dr6 == target_dr6, in main()
184 run->debug.arch.pc, target_rip, run->debug.arch.dr6, in main()
198 run->debug.arch.dr6 == target_dr6, in main()
202 run->debug.arch.pc, target_rip, run->debug.arch.dr6, in main()
/linux/arch/x86/kvm/
A Dsmm.c53 CHECK_SMRAM32_OFFSET(dr6, 0xFFCC); in check_smram_offsets()
100 CHECK_SMRAM64_OFFSET(dr6, 0xFF68); in check_smram_offsets()
197 smram->dr6 = (u32)vcpu->arch.dr6; in enter_smm_save_state_32()
239 smram->dr6 = vcpu->arch.dr6; in enter_smm_save_state_64()
472 if (kvm_set_dr(vcpu, 6, smstate->dr6)) in rsm_load_state_32()
524 if (kvm_set_dr(vcpu, 6, smstate->dr6)) in rsm_load_state_64()
A Dsmm.h60 u32 dr6; member
131 u64 dr6; member
A Dx86.c800 vcpu->arch.dr6 |= ex->payload; in kvm_deliver_exception_payload()
809 vcpu->arch.dr6 &= ~BIT(12); in kvm_deliver_exception_payload()
1596 return vcpu->arch.dr6; in kvm_get_dr()
5556 dbgregs->dr6 = vcpu->arch.dr6; in kvm_vcpu_ioctl_x86_get_debugregs()
5582 vcpu->arch.dr6 = dbgregs->dr6; in kvm_vcpu_ioctl_x86_set_debugregs()
8903 u32 dr6 = 0; in kvm_vcpu_check_hw_bp() local
8911 dr6 |= (1 << i); in kvm_vcpu_check_hw_bp()
8912 return dr6; in kvm_vcpu_check_hw_bp()
9001 if (dr6 != 0) { in kvm_vcpu_check_code_breakpoint()
9002 kvm_run->debug.arch.dr6 = dr6 | DR6_ACTIVE_LOW; in kvm_vcpu_check_code_breakpoint()
[all …]
A Demulate.c3855 ulong dr6; in check_dr_read() local
3857 dr6 = ctxt->ops->get_dr(ctxt, 6); in check_dr_read()
3858 dr6 &= ~DR_TRAP_BITS; in check_dr_read()
3859 dr6 |= DR6_BD | DR6_ACTIVE_LOW; in check_dr_read()
3860 ctxt->ops->set_dr(ctxt, 6, dr6); in check_dr_read()
/linux/tools/testing/selftests/kvm/lib/x86_64/
A Dsvm.c95 asm volatile ("mov %%dr6, %0" : "=r"(save->dr6) : : "memory"); in generic_svm_setup()
/linux/arch/x86/kvm/svm/
A Dnested.c298 if (CC(!kvm_dr6_valid(save->dr6)) || CC(!kvm_dr7_valid(save->dr7))) in __nested_vmcb_check_save()
404 to->dr6 = from->dr6; in __nested_copy_vmcb_save_to_cache()
593 svm->vcpu.arch.dr6 = svm->nested.save.dr6 | DR6_ACTIVE_LOW; in nested_vmcb02_prepare_save()
1017 vmcb12->save.dr6 = svm->vcpu.arch.dr6; in nested_svm_vmexit()
A Dsvm.c2003 if (unlikely(value != vmcb->save.dr6)) { in svm_set_dr6()
2004 vmcb->save.dr6 = value; in svm_set_dr6()
2024 vcpu->arch.dr6 = svm->vmcb->save.dr6; in svm_sync_dirty_debug_regs()
2094 u32 payload = svm->vmcb->save.dr6 ^ DR6_ACTIVE_LOW; in db_interception()
2108 kvm_run->debug.arch.dr6 = svm->vmcb->save.dr6; in db_interception()
3464 "dr6:", save->dr6, "dr7:", save->dr7); in dump_vmcb()
4247 svm_set_dr6(svm, vcpu->arch.dr6); in svm_vcpu_run()
A Dsvm.h144 u64 dr6; member
A Dsev.c854 save->dr6 = svm->vcpu.arch.dr6; in sev_es_sync_vmsa()
/linux/arch/x86/include/asm/
A Dsvm.h327 u64 dr6; member
384 u64 dr6; member
A Dkvm_host.h932 unsigned long dr6; member
/linux/tools/testing/selftests/kvm/include/x86_64/
A Dsvm.h215 u64 dr6; member
/linux/tools/arch/x86/include/uapi/asm/
A Dkvm.h289 __u64 dr6; member
374 __u64 dr6; member
/linux/arch/x86/include/uapi/asm/
A Dkvm.h289 __u64 dr6; member
374 __u64 dr6; member
/linux/Documentation/arch/x86/x86_64/
A Dfred.rst58 transient states due to %cr2 and/or %dr6, and it is no longer needed
/linux/arch/x86/kvm/vmx/
A Dvmx.c5214 unsigned long cr2, dr6; in handle_exception_nmi() local
5309 dr6 = vmx_get_exit_qual(vcpu); in handle_exception_nmi()
5342 kvm_queue_exception_p(vcpu, DB_VECTOR, dr6); in handle_exception_nmi()
5345 kvm_run->debug.arch.dr6 = dr6 | DR6_ACTIVE_LOW; in handle_exception_nmi()
5587 vcpu->run->debug.arch.dr6 = DR6_BD | DR6_ACTIVE_LOW; in handle_dr()
5629 get_debugreg(vcpu->arch.dr6, 6); in vmx_sync_dirty_debug_regs()
7405 set_debugreg(vcpu->arch.dr6, 6); in vmx_vcpu_run()
A Dnested.c3980 exit_qual = vcpu->arch.dr6; in nested_vmx_inject_exception_vmexit()
/linux/arch/x86/coco/sev/
A Dcore.c1185 vmsa->dr6 = AP_INIT_DR6_DEFAULT; in wakeup_cpu_via_vmgexit()
/linux/Documentation/virt/kvm/
A Dapi.rst1311 __u64 dr6;

Completed in 132 milliseconds