Searched refs:debugctl (Results 1 – 8 of 8) sorted by relevance
/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 | 649 unsigned long debugctl, msk; in __switch_to_xtra() local 651 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __switch_to_xtra() 652 debugctl &= ~DEBUGCTLMSR_BTF; in __switch_to_xtra() 654 debugctl |= (msk >> TIF_BLOCKSTEP) << DEBUGCTLMSR_BTF_SHIFT; in __switch_to_xtra() 655 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __switch_to_xtra()
|
D | traps.c | 909 unsigned long debugctl; in exc_debug_kernel() local 911 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel() 912 debugctl |= DEBUGCTLMSR_BTF; in exc_debug_kernel() 913 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel()
|
/arch/x86/kvm/vmx/ |
D | capabilities.h | 397 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()
|
D | vmx.c | 2010 u64 debugctl = vmx_supported_debugctl(); in vcpu_supported_debugctl() local 2013 debugctl &= ~DEBUGCTLMSR_LBR_MASK; in vcpu_supported_debugctl() 2016 debugctl &= ~DEBUGCTLMSR_BUS_LOCK_DETECT; in vcpu_supported_debugctl() 2018 return debugctl; in vcpu_supported_debugctl()
|
/arch/x86/events/intel/ |
D | lbr.c | 131 u64 debugctl, lbr_select = 0, orig_debugctl; in __intel_pmu_lbr_enable() local 149 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable() 150 orig_debugctl = debugctl; in __intel_pmu_lbr_enable() 153 debugctl |= DEBUGCTLMSR_LBR; in __intel_pmu_lbr_enable() 160 debugctl &= ~DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in __intel_pmu_lbr_enable() 162 debugctl |= DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in __intel_pmu_lbr_enable() 164 if (orig_debugctl != debugctl) in __intel_pmu_lbr_enable() 165 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable() 173 u64 debugctl; in __intel_pmu_lbr_disable() local 180 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable() [all …]
|
/arch/x86/include/asm/xen/ |
D | interface.h | 296 uint64_t debugctl; member
|
/arch/x86/events/ |
D | core.c | 1527 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()
|