Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/x86/kernel/
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()
A Dprocess.c666 unsigned long debugctl, msk; in __switch_to_xtra() local
668 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __switch_to_xtra()
669 debugctl &= ~DEBUGCTLMSR_BTF; in __switch_to_xtra()
671 debugctl |= (msk >> TIF_BLOCKSTEP) << DEBUGCTLMSR_BTF_SHIFT; in __switch_to_xtra()
672 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __switch_to_xtra()
A Dtraps.c1054 unsigned long debugctl; in exc_debug_kernel() local
1056 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel()
1057 debugctl |= DEBUGCTLMSR_BTF; in exc_debug_kernel()
1058 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel()
/linux-6.3-rc2/arch/x86/events/intel/
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()
/linux-6.3-rc2/arch/x86/include/asm/xen/
A Dinterface.h296 uint64_t debugctl; member
/linux-6.3-rc2/arch/x86/events/
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()
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()
/linux-6.3-rc2/arch/x86/kvm/vmx/
A Dvmx.c2123 u64 debugctl = 0; in vmx_get_supported_debugctl() local
2127 debugctl |= DEBUGCTLMSR_BUS_LOCK_DETECT; in vmx_get_supported_debugctl()
2131 debugctl |= DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in vmx_get_supported_debugctl()
2133 return debugctl; in vmx_get_supported_debugctl()

Completed in 34 milliseconds