| /linux/arch/x86/kernel/ |
| H A D | traps.c | 1146 unsigned long dr6; in debug_read_reset_dr6() local 1148 get_debugreg(dr6, 6); in debug_read_reset_dr6() 1149 dr6 ^= DR6_RESERVED; /* Flip to positive polarity */ in debug_read_reset_dr6() 1171 return dr6; in debug_read_reset_dr6() 1199 static bool notify_debug(struct pt_regs *regs, unsigned long *dr6) in notify_debug() argument 1208 if (notify_die(DIE_DEBUG, "debug", regs, (long)dr6, 0, SIGTRAP) == NOTIFY_STOP) in notify_debug() 1214 static noinstr void exc_debug_kernel(struct pt_regs *regs, unsigned long dr6) in exc_debug_kernel() argument 1261 (dr6 & DR_STEP) && is_sysenter_singlestep(regs)) in exc_debug_kernel() 1262 dr6 &= ~DR_STEP; in exc_debug_kernel() 1267 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 | 783 vcpu->arch.dr6 &= ~DR_TRAP_BITS; in kvm_deliver_exception_payload() 800 vcpu->arch.dr6 |= DR6_ACTIVE_LOW; in kvm_deliver_exception_payload() 801 vcpu->arch.dr6 |= ex->payload; in kvm_deliver_exception_payload() 802 vcpu->arch.dr6 ^= ex->payload & DR6_ACTIVE_LOW; in kvm_deliver_exception_payload() 810 vcpu->arch.dr6 &= ~BIT(12); in kvm_deliver_exception_payload() 1569 vcpu->arch.dr6 = (val & DR6_VOLATILE) | kvm_dr6_fixed(vcpu); in kvm_set_dr() 1593 return vcpu->arch.dr6; in kvm_get_dr() 5755 dbgregs->dr6 = vcpu->arch.dr6; in kvm_vcpu_ioctl_x86_get_debugregs() 5772 if (!kvm_dr6_valid(dbgregs->dr6)) in kvm_vcpu_ioctl_x86_set_debugregs() 5781 vcpu->arch.dr6 = dbgregs->dr6; in kvm_vcpu_ioctl_x86_set_debugregs() [all …]
|
| H A D | emulate.c | 3838 ulong dr6; in check_dr_read() local 3840 dr6 = ctxt->ops->get_dr(ctxt, 6); in check_dr_read() 3841 dr6 &= ~DR_TRAP_BITS; in check_dr_read() 3842 dr6 |= DR6_BD | DR6_ACTIVE_LOW; in check_dr_read() 3843 ctxt->ops->set_dr(ctxt, 6, dr6); in check_dr_read()
|
| /linux/arch/x86/kvm/svm/ |
| H A D | nested.c | 380 if (CC(!kvm_dr6_valid(save->dr6)) || CC(!kvm_dr7_valid(save->dr7))) in __nested_vmcb_check_save() 505 to->dr6 = from->dr6; in __nested_copy_vmcb_save_to_cache() 702 svm->vcpu.arch.dr6 = svm->nested.save.dr6 | DR6_ACTIVE_LOW; in nested_vmcb02_prepare_save() 1166 vmcb12->save.dr6 = svm->vcpu.arch.dr6; in nested_svm_vmexit()
|
| H A D | svm.c | 1865 if (unlikely(value != vmcb->save.dr6)) { in svm_set_dr6() 1866 vmcb->save.dr6 = value; in svm_set_dr6() 1886 vcpu->arch.dr6 = svm->vmcb->save.dr6; in svm_sync_dirty_debug_regs() 1977 u32 payload = svm->vmcb->save.dr6 ^ DR6_ACTIVE_LOW; in db_interception() 1991 kvm_run->debug.arch.dr6 = svm->vmcb->save.dr6; in db_interception() 3427 "dr6:", save->dr6, "dr7:", save->dr7); in dump_vmcb() 4345 svm_set_dr6(vcpu, vcpu->arch.dr6); in svm_vcpu_run()
|
| H A D | svm.h | 148 u64 dr6; member
|
| H A D | sev.c | 922 save->dr6 = svm->vcpu.arch.dr6; in sev_es_sync_vmsa()
|
| /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 | 5482 unsigned long dr6; in handle_exception_nmi() local 5567 dr6 = vmx_get_exit_qual(vcpu); in handle_exception_nmi() 5600 kvm_queue_exception_p(vcpu, DB_VECTOR, dr6); in handle_exception_nmi() 5603 kvm_run->debug.arch.dr6 = dr6 | DR6_ACTIVE_LOW; in handle_exception_nmi() 5845 vcpu->run->debug.arch.dr6 = DR6_BD | DR6_ACTIVE_LOW; in handle_dr() 5887 get_debugreg(vcpu->arch.dr6, 6); in vmx_sync_dirty_debug_regs() 7653 set_debugreg(vcpu->arch.dr6, 6); in vmx_vcpu_run()
|
| H A D | nested.c | 4047 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/Documentation/virt/kvm/ |
| H A D | api.rst | 1334 __u64 dr6;
|