Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/
H A Dstep.c176 unsigned long debugctl; in set_task_blockstep() local
188 debugctl = get_debugctlmsr(); in set_task_blockstep()
190 debugctl |= DEBUGCTLMSR_BTF; in set_task_blockstep()
193 debugctl &= ~DEBUGCTLMSR_BTF; in set_task_blockstep()
197 update_debugctlmsr(debugctl); in set_task_blockstep()
H A Dtraps.c1251 unsigned long debugctl; in exc_debug_kernel() local
1253 rdmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel()
1254 debugctl |= DEBUGCTLMSR_BTF; in exc_debug_kernel()
1255 wrmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel()
/linux/arch/x86/events/
H A Dperf_event.h1642 u64 debugctl; in __intel_pmu_lbr_disable() local
1644 rdmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
1645 debugctl &= ~(DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI); in __intel_pmu_lbr_disable()
1646 wrmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
H A Dcore.c1566 u64 pebs, debugctl; in perf_event_print_debug() local
1596 rdmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in perf_event_print_debug()
1597 pr_info("CPU#%d: debugctl: %016llx\n", cpu, debugctl); in perf_event_print_debug()
/linux/arch/x86/kvm/vmx/
H A Dvmx.c2263 u64 debugctl = 0; in vmx_get_supported_debugctl() local
2267 debugctl |= DEBUGCTLMSR_BUS_LOCK_DETECT; in vmx_get_supported_debugctl()
2271 debugctl |= DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in vmx_get_supported_debugctl()
2275 debugctl |= DEBUGCTLMSR_RTM_DEBUG; in vmx_get_supported_debugctl()
2277 return debugctl; in vmx_get_supported_debugctl()
H A Dnested.c3304 u64 debugctl = vmcs12->guest_ia32_debugctl; in nested_vmx_check_guest_state() local
3315 debugctl &= ~DEBUGCTLMSR_FREEZE_IN_SMM; in nested_vmx_check_guest_state()
3318 CC(!vmx_is_valid_debugctl(vcpu, debugctl, false))) in nested_vmx_check_guest_state()