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.c1249 unsigned long debugctl; in exc_debug_kernel() local
1251 rdmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel()
1252 debugctl |= DEBUGCTLMSR_BTF; in exc_debug_kernel()
1253 wrmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel()
/linux/arch/x86/events/
H A Dperf_event.h1632 u64 debugctl; in __intel_pmu_lbr_disable() local
1634 rdmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
1635 debugctl &= ~(DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI); in __intel_pmu_lbr_disable()
1636 wrmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
H A Dcore.c1560 u64 pebs, debugctl; in perf_event_print_debug() local
1590 rdmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in perf_event_print_debug()
1591 pr_info("CPU#%d: debugctl: %016llx\n", cpu, debugctl); in perf_event_print_debug()
/linux/arch/x86/kvm/vmx/
H A Dvmx.c2296 u64 debugctl = 0; in vmx_get_supported_debugctl() local
2300 debugctl |= DEBUGCTLMSR_BUS_LOCK_DETECT; in vmx_get_supported_debugctl()
2304 debugctl |= DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in vmx_get_supported_debugctl()
2308 debugctl |= DEBUGCTLMSR_RTM_DEBUG; in vmx_get_supported_debugctl()
2310 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()