/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | debug_regs.c | 128 run->debug.arch.dr6 == target_dr6, 130 "(should be 0x%llx) dr6 0x%llx (should be 0x%llx)", 133 run->debug.arch.dr6, target_dr6); 151 run->debug.arch.dr6 == target_dr6, 153 "(should be 0x%llx) dr6 0x%llx (should be 0x%llx)", 156 run->debug.arch.dr6, target_dr6); 177 run->debug.arch.dr6 == target_dr6, 179 "(should be 0x%llx) dr6 0x%llx (should be 0x%llx)", 181 run->debug.arch.pc, target_rip, run->debug.arch.dr6, 195 run->debug.arch.dr6 [all...] |
/linux-master/arch/x86/kernel/ |
H A D | traps.c | 879 unsigned long dr6; local 892 get_debugreg(dr6, 6); 894 dr6 ^= DR6_RESERVED; /* Flip to positive polarity */ 896 return dr6; 924 static bool notify_debug(struct pt_regs *regs, unsigned long *dr6) argument 927 * Notifiers will clear bits in @dr6 to indicate the event has been 933 if (notify_die(DIE_DEBUG, "debug", regs, (long)dr6, 0, SIGTRAP) == NOTIFY_STOP) 939 static noinstr void exc_debug_kernel(struct pt_regs *regs, unsigned long dr6) argument 986 (dr6 & DR_STEP) && is_sysenter_singlestep(regs)) 987 dr6 1018 exc_debug_user(struct pt_regs *regs, unsigned long dr6) argument 1121 unsigned long dr6 = fred_event_data(regs); local 1134 unsigned long dr6 = debug_read_clear_dr6(); local [all...] |
H A D | hw_breakpoint.c | 515 unsigned long dr6; local 520 dr6 = *dr6_p; 523 if ((dr6 & DR_TRAP_BITS) == 0) 528 if (likely(!(dr6 & (DR_TRAP0 << i)))) 546 if (bpx && (dr6 & DR_STEP)) 550 * Reset the 'i'th TRAP bit in dr6 to denote completion of 571 (dr6 & (~DR_TRAP_BITS)))
|
H A D | sev.c | 1057 vmsa->dr6 = AP_INIT_DR6_DEFAULT;
|
/linux-master/arch/x86/kvm/ |
H A D | smm.h | 60 u32 dr6; member in struct:kvm_smram_state_32 131 u64 dr6; member in struct:kvm_smram_state_64
|
H A D | smm.c | 53 CHECK_SMRAM32_OFFSET(dr6, 0xFFCC); 100 CHECK_SMRAM64_OFFSET(dr6, 0xFF68); 197 smram->dr6 = (u32)vcpu->arch.dr6; 239 smram->dr6 = vcpu->arch.dr6; 472 if (kvm_set_dr(vcpu, 6, smstate->dr6)) 524 if (kvm_set_dr(vcpu, 6, smstate->dr6))
|
H A D | x86.c | 586 vcpu->arch.dr6 &= ~DR_TRAP_BITS; 589 * dr6, three components need to be considered: active low 593 * In the target guest dr6: 603 vcpu->arch.dr6 |= DR6_ACTIVE_LOW; 604 vcpu->arch.dr6 |= ex->payload; 605 vcpu->arch.dr6 ^= ex->payload & DR6_ACTIVE_LOW; 613 vcpu->arch.dr6 &= ~BIT(12); 1387 vcpu->arch.dr6 = (val & DR6_VOLATILE) | kvm_dr6_fixed(vcpu); 1411 return vcpu->arch.dr6; 5571 dbgregs->dr6 8933 u32 dr6 = 0; local 9029 u32 dr6 = kvm_vcpu_check_hw_bp(eip, 0, local 9046 u32 dr6 = kvm_vcpu_check_hw_bp(eip, 0, local [all...] |
H A D | emulate.c | 3884 ulong dr6; local 3886 dr6 = ctxt->ops->get_dr(ctxt, 6); 3887 dr6 &= ~DR_TRAP_BITS; 3888 dr6 |= DR6_BD | DR6_ACTIVE_LOW; 3889 ctxt->ops->set_dr(ctxt, 6, dr6);
|
/linux-master/tools/testing/selftests/kvm/lib/x86_64/ |
H A D | svm.c | 95 asm volatile ("mov %%dr6, %0" : "=r"(save->dr6) : : "memory");
|
/linux-master/tools/testing/selftests/kvm/include/x86_64/ |
H A D | svm.h | 215 u64 dr6; member in struct:vmcb_save_area
|
/linux-master/arch/x86/kvm/svm/ |
H A D | nested.c | 294 if (CC(!kvm_dr6_valid(save->dr6)) || CC(!kvm_dr7_valid(save->dr7))) 400 to->dr6 = from->dr6; 589 svm->vcpu.arch.dr6 = svm->nested.save.dr6 | DR6_ACTIVE_LOW; 1013 vmcb12->save.dr6 = svm->vcpu.arch.dr6;
|
H A D | svm.c | 2001 if (unlikely(value != vmcb->save.dr6)) { 2002 vmcb->save.dr6 = value; 2019 * We cannot reset svm->vmcb->save.dr6 to DR6_ACTIVE_LOW here, 2022 vcpu->arch.dr6 = svm->vmcb->save.dr6; 2074 u32 payload = svm->vmcb->save.dr6 ^ DR6_ACTIVE_LOW; 2088 kvm_run->debug.arch.dr6 = svm->vmcb->save.dr6; 3409 "dr6:", save->dr6, "dr [all...] |
H A D | svm.h | 122 u64 dr6; member in struct:vmcb_save_area_cached
|
H A D | sev.c | 622 save->dr6 = svm->vcpu.arch.dr6;
|
/linux-master/arch/x86/include/asm/ |
H A D | svm.h | 320 u64 dr6; member in struct:vmcb_save_area 377 u64 dr6; member in struct:sev_es_save_area
|
H A D | kvm_host.h | 933 unsigned long dr6; member in struct:kvm_vcpu_arch
|
/linux-master/arch/x86/include/uapi/asm/ |
H A D | kvm.h | 288 __u64 dr6; member in struct:kvm_debug_exit_arch 373 __u64 dr6; member in struct:kvm_debugregs
|
/linux-master/tools/arch/x86/include/uapi/asm/ |
H A D | kvm.h | 288 __u64 dr6; member in struct:kvm_debug_exit_arch 373 __u64 dr6; member in struct:kvm_debugregs
|
/linux-master/arch/x86/kvm/vmx/ |
H A D | vmx.c | 5181 unsigned long cr2, dr6; local 5266 dr6 = vmx_get_exit_qual(vcpu); 5299 kvm_queue_exception_p(vcpu, DB_VECTOR, dr6); 5302 kvm_run->debug.arch.dr6 = dr6 | DR6_ACTIVE_LOW; 5545 vcpu->run->debug.arch.dr6 = DR6_BD | DR6_ACTIVE_LOW; 5587 get_debugreg(vcpu->arch.dr6, 6); 5594 * exc_debug expects dr6 to be cleared after it runs, avoid that it sees 5595 * a stale dr6 from the guest. 5728 * Are we supposed to inject them and update dr6 [all...] |
H A D | nested.c | 3913 exit_qual = vcpu->arch.dr6;
|