Home
last modified time | relevance | path

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

/Linux-v5.15/arch/x86/kernel/
Dstep.c174 unsigned long debugctl; in set_task_blockstep() local
187 debugctl = get_debugctlmsr(); in set_task_blockstep()
189 debugctl |= DEBUGCTLMSR_BTF; in set_task_blockstep()
192 debugctl &= ~DEBUGCTLMSR_BTF; in set_task_blockstep()
196 update_debugctlmsr(debugctl); in set_task_blockstep()
Dprocess.c648 unsigned long debugctl, msk; in __switch_to_xtra() local
650 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __switch_to_xtra()
651 debugctl &= ~DEBUGCTLMSR_BTF; in __switch_to_xtra()
653 debugctl |= (msk >> TIF_BLOCKSTEP) << DEBUGCTLMSR_BTF_SHIFT; in __switch_to_xtra()
654 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __switch_to_xtra()
Dtraps.c879 unsigned long debugctl; in exc_debug_kernel() local
881 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel()
882 debugctl |= DEBUGCTLMSR_BTF; in exc_debug_kernel()
883 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel()
/Linux-v5.15/arch/x86/kvm/vmx/
Dcapabilities.h397 u64 debugctl = 0; in vmx_supported_debugctl() local
400 debugctl |= DEBUGCTLMSR_BUS_LOCK_DETECT; in vmx_supported_debugctl()
403 debugctl |= DEBUGCTLMSR_LBR_MASK; in vmx_supported_debugctl()
405 return debugctl; in vmx_supported_debugctl()
Dvmx.c1925 u64 debugctl = vmx_supported_debugctl(); in vcpu_supported_debugctl() local
1928 debugctl &= ~DEBUGCTLMSR_LBR_MASK; in vcpu_supported_debugctl()
1931 debugctl &= ~DEBUGCTLMSR_BUS_LOCK_DETECT; in vcpu_supported_debugctl()
1933 return debugctl; in vcpu_supported_debugctl()
/Linux-v5.15/arch/x86/events/intel/
Dlbr.c191 u64 debugctl, lbr_select = 0, orig_debugctl; in __intel_pmu_lbr_enable() local
209 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
210 orig_debugctl = debugctl; in __intel_pmu_lbr_enable()
213 debugctl |= DEBUGCTLMSR_LBR; in __intel_pmu_lbr_enable()
220 debugctl &= ~DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in __intel_pmu_lbr_enable()
222 debugctl |= DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in __intel_pmu_lbr_enable()
224 if (orig_debugctl != debugctl) in __intel_pmu_lbr_enable()
225 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
233 u64 debugctl; in __intel_pmu_lbr_disable() local
240 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
[all …]
/Linux-v5.15/arch/x86/include/asm/xen/
Dinterface.h296 uint64_t debugctl; member
/Linux-v5.15/arch/x86/events/
Dcore.c1527 u64 pebs, debugctl; in perf_event_print_debug() local
1557 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in perf_event_print_debug()
1558 pr_info("CPU#%d: debugctl: %016llx\n", cpu, debugctl); in perf_event_print_debug()