Home
last modified time | relevance | path

Searched refs:debugctlmsr (Results 1 – 3 of 3) sorted by relevance

/arch/x86/kernel/cpu/
Dperf_event_intel_ds.c458 unsigned long debugctlmsr; in intel_pmu_enable_bts() local
460 debugctlmsr = get_debugctlmsr(); in intel_pmu_enable_bts()
462 debugctlmsr |= DEBUGCTLMSR_TR; in intel_pmu_enable_bts()
463 debugctlmsr |= DEBUGCTLMSR_BTS; in intel_pmu_enable_bts()
464 debugctlmsr |= DEBUGCTLMSR_BTINT; in intel_pmu_enable_bts()
467 debugctlmsr |= DEBUGCTLMSR_BTS_OFF_OS; in intel_pmu_enable_bts()
470 debugctlmsr |= DEBUGCTLMSR_BTS_OFF_USR; in intel_pmu_enable_bts()
472 update_debugctlmsr(debugctlmsr); in intel_pmu_enable_bts()
478 unsigned long debugctlmsr; in intel_pmu_disable_bts() local
483 debugctlmsr = get_debugctlmsr(); in intel_pmu_disable_bts()
[all …]
/arch/x86/include/asm/
Dprocessor.h722 unsigned long debugctlmsr = 0; in get_debugctlmsr() local
728 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctlmsr); in get_debugctlmsr()
730 return debugctlmsr; in get_debugctlmsr()
733 static inline void update_debugctlmsr(unsigned long debugctlmsr) in update_debugctlmsr() argument
739 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctlmsr); in update_debugctlmsr()
/arch/x86/kvm/
Dvmx.c7565 unsigned long debugctlmsr, cr4; in vmx_vcpu_run() local
7606 debugctlmsr = get_debugctlmsr(); in vmx_vcpu_run()
7727 if (debugctlmsr) in vmx_vcpu_run()
7728 update_debugctlmsr(debugctlmsr); in vmx_vcpu_run()