Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/
A Dstep.c176 unsigned long debugctl; in set_task_blockstep() local
188 debugctl = get_debugctlmsr(); in set_task_blockstep()
190 debugctl |= DEBUGCTLMSR_BTF; in set_task_blockstep()
193 debugctl &= ~DEBUGCTLMSR_BTF; in set_task_blockstep()
197 update_debugctlmsr(debugctl); in set_task_blockstep()
A Dprocess.c705 unsigned long debugctl, msk; in __switch_to_xtra() local
707 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __switch_to_xtra()
708 debugctl &= ~DEBUGCTLMSR_BTF; in __switch_to_xtra()
710 debugctl |= (msk >> TIF_BLOCKSTEP) << DEBUGCTLMSR_BTF_SHIFT; in __switch_to_xtra()
711 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __switch_to_xtra()
A Dtraps.c1023 unsigned long debugctl; in exc_debug_kernel() local
1025 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel()
1026 debugctl |= DEBUGCTLMSR_BTF; in exc_debug_kernel()
1027 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel()
/linux/arch/x86/events/intel/
A Dlbr.c124 u64 debugctl, lbr_select = 0, orig_debugctl; in __intel_pmu_lbr_enable() local
142 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
143 orig_debugctl = debugctl; in __intel_pmu_lbr_enable()
146 debugctl |= DEBUGCTLMSR_LBR; in __intel_pmu_lbr_enable()
153 debugctl &= ~DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in __intel_pmu_lbr_enable()
155 debugctl |= DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in __intel_pmu_lbr_enable()
157 if (orig_debugctl != debugctl) in __intel_pmu_lbr_enable()
158 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
/linux/arch/x86/include/asm/xen/
A Dinterface.h296 uint64_t debugctl; member
/linux/arch/x86/events/
A Dperf_event.h1536 u64 debugctl; in __intel_pmu_lbr_disable() local
1538 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
1539 debugctl &= ~(DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI); in __intel_pmu_lbr_disable()
1540 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
A Dcore.c1528 u64 pebs, debugctl; in perf_event_print_debug() local
1558 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in perf_event_print_debug()
1559 pr_info("CPU#%d: debugctl: %016llx\n", cpu, debugctl); in perf_event_print_debug()
/linux/arch/x86/kvm/vmx/
A Dvmx.c2179 u64 debugctl = 0; in vmx_get_supported_debugctl() local
2183 debugctl |= DEBUGCTLMSR_BUS_LOCK_DETECT; in vmx_get_supported_debugctl()
2187 debugctl |= DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in vmx_get_supported_debugctl()
2189 return debugctl; in vmx_get_supported_debugctl()

Completed in 53 milliseconds