Home
last modified time | relevance | path

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

/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.c720 unsigned long debugctl, msk; in __switch_to_xtra() local
722 rdmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in __switch_to_xtra()
723 debugctl &= ~DEBUGCTLMSR_BTF; in __switch_to_xtra()
725 debugctl |= (msk >> TIF_BLOCKSTEP) << DEBUGCTLMSR_BTF_SHIFT; in __switch_to_xtra()
726 wrmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in __switch_to_xtra()
A Dtraps.c1130 unsigned long debugctl; in exc_debug_kernel() local
1132 rdmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel()
1133 debugctl |= DEBUGCTLMSR_BTF; in exc_debug_kernel()
1134 wrmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel()
/arch/x86/events/intel/
A Dlbr.c124 u64 debugctl, lbr_select = 0, orig_debugctl; in __intel_pmu_lbr_enable() local
142 rdmsrq(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 wrmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
/arch/x86/include/asm/xen/
A Dinterface.h296 uint64_t debugctl; member
/arch/x86/events/
A Dperf_event.h1589 u64 debugctl; in __intel_pmu_lbr_disable() local
1591 rdmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
1592 debugctl &= ~(DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI); in __intel_pmu_lbr_disable()
1593 wrmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
A Dcore.c1546 u64 pebs, debugctl; in perf_event_print_debug() local
1576 rdmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in perf_event_print_debug()
1577 pr_info("CPU#%d: debugctl: %016llx\n", cpu, debugctl); in perf_event_print_debug()
/arch/x86/kvm/vmx/
A Dvmx.c2124 u64 debugctl = 0; in vmx_get_supported_debugctl() local
2128 debugctl |= DEBUGCTLMSR_BUS_LOCK_DETECT; in vmx_get_supported_debugctl()
2132 debugctl |= DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in vmx_get_supported_debugctl()
2136 debugctl |= DEBUGCTLMSR_RTM_DEBUG; in vmx_get_supported_debugctl()
2138 return debugctl; in vmx_get_supported_debugctl()

Completed in 36 milliseconds