Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/
A 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()
A Dprocess.c665 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()
A Dtraps.c913 unsigned long debugctl; in exc_debug_kernel() local
915 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel()
916 debugctl |= DEBUGCTLMSR_BTF; in exc_debug_kernel()
917 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel()
/linux/arch/x86/kvm/vmx/
A 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()
A Dvmx.c1922 u64 debugctl = vmx_supported_debugctl(); in vcpu_supported_debugctl() local
1925 debugctl &= ~DEBUGCTLMSR_LBR_MASK; in vcpu_supported_debugctl()
1928 debugctl &= ~DEBUGCTLMSR_BUS_LOCK_DETECT; in vcpu_supported_debugctl()
1930 return debugctl; in vcpu_supported_debugctl()
/linux/arch/x86/events/intel/
A 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()
/linux/arch/x86/events/
A Dperf_event.h1257 u64 debugctl; in __intel_pmu_lbr_disable() local
1259 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
1260 debugctl &= ~(DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI); in __intel_pmu_lbr_disable()
1261 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
A Dcore.c1531 u64 pebs, debugctl; in perf_event_print_debug() local
1561 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in perf_event_print_debug()
1562 pr_info("CPU#%d: debugctl: %016llx\n", cpu, debugctl); in perf_event_print_debug()
/linux/arch/x86/include/asm/xen/
A Dinterface.h296 uint64_t debugctl; member

Completed in 39 milliseconds