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()
/linux/arch/x86/events/intel/
H A Dlbr.c126 u64 debugctl, lbr_select = 0, orig_debugctl; in __intel_pmu_lbr_enable() local
144 rdmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
145 orig_debugctl = debugctl; in __intel_pmu_lbr_enable()
148 debugctl |= DEBUGCTLMSR_LBR; in __intel_pmu_lbr_enable()
155 debugctl &= ~DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in __intel_pmu_lbr_enable()
157 debugctl |= DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in __intel_pmu_lbr_enable()
159 if (orig_debugctl != debugctl) in __intel_pmu_lbr_enable()
160 wrmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
/linux/arch/x86/events/
H A Dperf_event.h1837 u64 debugctl; in __intel_pmu_lbr_disable() local
1839 rdmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
1840 debugctl &= ~(DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI); in __intel_pmu_lbr_disable()
1841 wrmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
H A Dcore.c1722 u64 pebs, debugctl; in perf_event_print_debug() local
1752 rdmsrq(MSR_IA32_DEBUGCTLMSR, debugctl); in perf_event_print_debug()
1753 pr_info("CPU#%d: debugctl: %016llx\n", cpu, debugctl); in perf_event_print_debug()
/linux/arch/x86/kvm/vmx/
H A Dvmx.c2301 u64 debugctl = 0; in vmx_get_supported_debugctl() local
2305 debugctl |= DEBUGCTLMSR_BUS_LOCK_DETECT; in vmx_get_supported_debugctl()
2309 debugctl |= DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in vmx_get_supported_debugctl()
2313 debugctl |= DEBUGCTLMSR_RTM_DEBUG; in vmx_get_supported_debugctl()
2315 return debugctl; in vmx_get_supported_debugctl()
H A Dnested.c3341 u64 debugctl = vmcs12->guest_ia32_debugctl; in nested_vmx_check_guest_state()
3352 debugctl &= ~DEBUGCTLMSR_FREEZE_IN_SMM; in nested_vmx_check_guest_state()
3355 CC(!vmx_is_valid_debugctl(vcpu, debugctl, false))) in nested_vmx_check_guest_state()
3333 u64 debugctl = vmcs12->guest_ia32_debugctl; nested_vmx_check_guest_state() local