Searched refs:debugctl (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/arch/x86/kernel/ |
D | step.c | 174 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()
|
D | process.c | 665 unsigned long debugctl, msk; in __switch_to_xtra() local 667 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __switch_to_xtra() 668 debugctl &= ~DEBUGCTLMSR_BTF; in __switch_to_xtra() 670 debugctl |= (msk >> TIF_BLOCKSTEP) << DEBUGCTLMSR_BTF_SHIFT; in __switch_to_xtra() 671 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __switch_to_xtra()
|
D | traps.c | 1054 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.1.9/arch/x86/events/intel/ |
D | lbr.c | 123 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.1.9/arch/x86/include/asm/xen/ |
D | interface.h | 296 uint64_t debugctl; member
|
/linux-6.1.9/arch/x86/events/ |
D | perf_event.h | 1451 u64 debugctl; in __intel_pmu_lbr_disable() local 1453 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable() 1454 debugctl &= ~(DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI); in __intel_pmu_lbr_disable() 1455 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
|
D | core.c | 1522 u64 pebs, debugctl; in perf_event_print_debug() local 1552 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in perf_event_print_debug() 1553 pr_info("CPU#%d: debugctl: %016llx\n", cpu, debugctl); in perf_event_print_debug()
|
/linux-6.1.9/arch/x86/kvm/vmx/ |
D | vmx.c | 2026 u64 debugctl = 0; in vmx_get_supported_debugctl() local 2030 debugctl |= DEBUGCTLMSR_BUS_LOCK_DETECT; in vmx_get_supported_debugctl() 2034 debugctl |= DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in vmx_get_supported_debugctl() 2036 return debugctl; in vmx_get_supported_debugctl()
|