| /linux/arch/x86/kernel/ |
| H A D | traps.c | 1148 unsigned long dr6; in debug_read_reset_dr6() local 1150 get_debugreg(dr6, 6); in debug_read_reset_dr6() 1151 dr6 ^= DR6_RESERVED; /* Flip to positive polarity */ in debug_read_reset_dr6() 1173 return dr6; in debug_read_reset_dr6() 1201 static bool notify_debug(struct pt_regs *regs, unsigned long *dr6) in notify_debug() argument 1210 if (notify_die(DIE_DEBUG, "debug", regs, (long)dr6, 0, SIGTRAP) == NOTIFY_STOP) in notify_debug() 1216 static noinstr void exc_debug_kernel(struct pt_regs *regs, unsigned long dr6) in exc_debug_kernel() argument 1263 (dr6 & DR_STEP) && is_sysenter_singlestep(regs)) in exc_debug_kernel() 1264 dr6 &= ~DR_STEP; in exc_debug_kernel() 1269 if (!dr6) in exc_debug_kernel() [all …]
|
| /linux/arch/x86/kvm/ |
| H A D | smm.c | 53 CHECK_SMRAM32_OFFSET(dr6, 0xFFCC); in check_smram_offsets() 100 CHECK_SMRAM64_OFFSET(dr6, 0xFF68); in check_smram_offsets() 198 smram->dr6 = (u32)vcpu->arch.dr6; in enter_smm_save_state_32() 240 smram->dr6 = vcpu->arch.dr6; in enter_smm_save_state_64() 477 if (kvm_set_dr(vcpu, 6, smstate->dr6)) in rsm_load_state_32() 529 if (kvm_set_dr(vcpu, 6, smstate->dr6)) in rsm_load_state_64()
|
| H A D | smm.h | 60 u32 dr6; member 131 u64 dr6; member
|
| H A D | x86.c | 788 vcpu->arch.dr6 &= ~DR_TRAP_BITS; in kvm_deliver_exception_payload() 805 vcpu->arch.dr6 |= DR6_ACTIVE_LOW; in kvm_deliver_exception_payload() 806 vcpu->arch.dr6 |= ex->payload; in kvm_deliver_exception_payload() 807 vcpu->arch.dr6 ^= ex->payload & DR6_ACTIVE_LOW; in kvm_deliver_exception_payload() 815 vcpu->arch.dr6 &= ~BIT(12); in kvm_deliver_exception_payload() 1571 vcpu->arch.dr6 = (val & DR6_VOLATILE) | kvm_dr6_fixed(vcpu); in kvm_set_dr() 1595 return vcpu->arch.dr6; in kvm_get_dr() 5774 dbgregs->dr6 = vcpu->arch.dr6; in kvm_vcpu_ioctl_x86_get_debugregs() 5791 if (!kvm_dr6_valid(dbgregs->dr6)) in kvm_vcpu_ioctl_x86_set_debugregs() 5800 vcpu->arch.dr6 = dbgregs->dr6; in kvm_vcpu_ioctl_x86_set_debugregs() [all …]
|
| /linux/arch/x86/kvm/svm/ |
| H A D | nested.c | 422 if (CC(!kvm_dr6_valid(save->dr6)) || CC(!kvm_dr7_valid(save->dr7))) in nested_vmcb_check_save() 553 to->dr6 = from->dr6; in __nested_copy_vmcb_save_to_cache() 771 svm->vcpu.arch.dr6 = svm->nested.save.dr6 | DR6_ACTIVE_LOW; in nested_vmcb02_prepare_save() 1243 vmcb12->save.dr6 = svm->vcpu.arch.dr6; in nested_svm_vmexit_update_vmcb12()
|
| H A D | svm.c | 1900 if (unlikely(value != vmcb->save.dr6)) { in svm_set_dr6() 1901 vmcb->save.dr6 = value; in svm_set_dr6() 1921 vcpu->arch.dr6 = svm->vmcb->save.dr6; in svm_sync_dirty_debug_regs() 2012 u32 payload = svm->vmcb->save.dr6 ^ DR6_ACTIVE_LOW; in db_interception() 2026 kvm_run->debug.arch.dr6 = svm->vmcb->save.dr6; in db_interception() 3471 "dr6:", save->dr6, "dr7:", save->dr7); in dump_vmcb() 4473 svm_set_dr6(vcpu, vcpu->arch.dr6); in svm_vcpu_run()
|
| H A D | svm.h | 159 u64 dr6; member
|
| /linux/arch/x86/include/uapi/asm/ |
| H A D | kvm.h | 294 __u64 dr6; member 379 __u64 dr6; member
|
| /linux/tools/arch/x86/include/uapi/asm/ |
| H A D | kvm.h | 294 __u64 dr6; member 379 __u64 dr6; member
|
| /linux/Documentation/arch/x86/x86_64/ |
| H A D | fred.rst | 58 transient states due to %cr2 and/or %dr6, and it is no longer needed
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | vmx.c | 5373 unsigned long dr6; in handle_exception_nmi() local 5458 dr6 = vmx_get_exit_qual(vcpu); in handle_exception_nmi() 5491 kvm_queue_exception_p(vcpu, DB_VECTOR, dr6); in handle_exception_nmi() 5494 kvm_run->debug.arch.dr6 = dr6 | DR6_ACTIVE_LOW; in handle_exception_nmi() 5736 vcpu->run->debug.arch.dr6 = DR6_BD | DR6_ACTIVE_LOW; in handle_dr() 5778 get_debugreg(vcpu->arch.dr6, 6); in vmx_sync_dirty_debug_regs() 7544 set_debugreg(vcpu->arch.dr6, 6); in vmx_vcpu_run()
|
| H A D | nested.c | 4061 exit_qual = vcpu->arch.dr6; in nested_vmx_inject_exception_vmexit()
|
| /linux/arch/x86/coco/sev/ |
| H A D | core.c | 834 vmsa->dr6 = AP_INIT_DR6_DEFAULT; in wakeup_cpu_via_vmgexit()
|
| /linux/arch/x86/include/asm/ |
| H A D | kvm_host.h | 995 unsigned long dr6; member
|
| /linux/Documentation/virt/kvm/ |
| H A D | api.rst | 1336 __u64 dr6;
|