Lines Matching refs:debugctl
191 u64 debugctl, lbr_select = 0, orig_debugctl;
209 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl);
210 orig_debugctl = debugctl;
213 debugctl |= DEBUGCTLMSR_LBR;
220 debugctl &= ~DEBUGCTLMSR_FREEZE_LBRS_ON_PMI;
222 debugctl |= DEBUGCTLMSR_FREEZE_LBRS_ON_PMI;
224 if (orig_debugctl != debugctl)
225 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl);
233 u64 debugctl;
240 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl);
241 debugctl &= ~(DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI);
242 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl);