Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/kernel/
H A Dstep.c174 unsigned long debugctl; in set_task_blockstep() local
186 debugctl = get_debugctlmsr(); in set_task_blockstep()
188 debugctl |= DEBUGCTLMSR_BTF; in set_task_blockstep()
191 debugctl &= ~DEBUGCTLMSR_BTF; in set_task_blockstep()
195 update_debugctlmsr(debugctl); in set_task_blockstep()
H 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()
H A Dtraps.c1017 unsigned long debugctl; in exc_debug_kernel() local
1019 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel()
1020 debugctl |= DEBUGCTLMSR_BTF; in exc_debug_kernel()
1021 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel()
/openbmc/linux/arch/x86/events/intel/
H A Dlbr.c123 u64 debugctl, lbr_select = 0, orig_debugctl; in __intel_pmu_lbr_enable() local
141 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
142 orig_debugctl = debugctl; in __intel_pmu_lbr_enable()
145 debugctl |= DEBUGCTLMSR_LBR; in __intel_pmu_lbr_enable()
152 debugctl &= ~DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in __intel_pmu_lbr_enable()
154 debugctl |= DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in __intel_pmu_lbr_enable()
156 if (orig_debugctl != debugctl) in __intel_pmu_lbr_enable()
157 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
/openbmc/linux/arch/x86/events/
H A Dperf_event.h1453 u64 debugctl; in __intel_pmu_lbr_disable() local
1455 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
1456 debugctl &= ~(DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI); in __intel_pmu_lbr_disable()
1457 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
H A Dcore.c1524 u64 pebs, debugctl; in perf_event_print_debug() local
1554 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in perf_event_print_debug()
1555 pr_info("CPU#%d: debugctl: %016llx\n", cpu, debugctl); in perf_event_print_debug()
/openbmc/linux/arch/x86/include/asm/xen/
H A Dinterface.h296 uint64_t debugctl; member
/openbmc/linux/arch/x86/kvm/vmx/
H A Dvmx.c2155 u64 debugctl = 0; in vmx_get_supported_debugctl() local
2159 debugctl |= DEBUGCTLMSR_BUS_LOCK_DETECT; in vmx_get_supported_debugctl()
2163 debugctl |= DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in vmx_get_supported_debugctl()
2165 return debugctl; in vmx_get_supported_debugctl()