Searched refs:debugctl (Results 1 - 8 of 8) sorted by relevance

/linux-master/arch/x86/kernel/
H A Dstep.c176 unsigned long debugctl; local
179 * Ensure irq/preemption can't change debugctl in between.
180 * Note also that both TIF_BLOCKSTEP and debugctl should
188 debugctl = get_debugctlmsr();
190 debugctl |= DEBUGCTLMSR_BTF;
193 debugctl &= ~DEBUGCTLMSR_BTF;
197 update_debugctlmsr(debugctl);
H A Dprocess.c705 unsigned long debugctl, msk; local
707 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl);
708 debugctl &= ~DEBUGCTLMSR_BTF;
710 debugctl |= (msk >> TIF_BLOCKSTEP) << DEBUGCTLMSR_BTF_SHIFT;
711 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl);
H A Dtraps.c974 unsigned long debugctl; local
976 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl);
977 debugctl |= DEBUGCTLMSR_BTF;
978 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl);
/linux-master/arch/x86/include/asm/xen/
H A Dinterface.h296 uint64_t debugctl; member in struct:xen_pmu_intel_ctxt
/linux-master/arch/x86/events/intel/
H A Dlbr.c123 u64 debugctl, lbr_select = 0, orig_debugctl; local
141 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl);
142 orig_debugctl = debugctl;
145 debugctl |= DEBUGCTLMSR_LBR;
152 debugctl &= ~DEBUGCTLMSR_FREEZE_LBRS_ON_PMI;
154 debugctl |= DEBUGCTLMSR_FREEZE_LBRS_ON_PMI;
156 if (orig_debugctl != debugctl)
157 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl);
/linux-master/arch/x86/events/
H A Dperf_event.h1468 u64 debugctl; local
1470 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl);
1471 debugctl &= ~(DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI);
1472 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl);
H A Dcore.c1522 u64 pebs, debugctl; local
1552 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl);
1553 pr_info("CPU#%d: debugctl: %016llx\n", cpu, debugctl);
/linux-master/arch/x86/kvm/vmx/
H A Dvmx.c2140 u64 debugctl = 0; local
2144 debugctl |= DEBUGCTLMSR_BUS_LOCK_DETECT;
2148 debugctl |= DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI;
2150 return debugctl;

Completed in 163 milliseconds