Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/events/amd/
Dlbr.c392 u64 lbr_select, dbg_ctl, dbg_extn_cfg; in amd_pmu_lbr_enable_all() local
403 rdmsrl(MSR_IA32_DEBUGCTLMSR, dbg_ctl); in amd_pmu_lbr_enable_all()
406 wrmsrl(MSR_IA32_DEBUGCTLMSR, dbg_ctl | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI); in amd_pmu_lbr_enable_all()
413 u64 dbg_ctl, dbg_extn_cfg; in amd_pmu_lbr_disable_all() local
419 rdmsrl(MSR_IA32_DEBUGCTLMSR, dbg_ctl); in amd_pmu_lbr_disable_all()
422 wrmsrl(MSR_IA32_DEBUGCTLMSR, dbg_ctl & ~DEBUGCTLMSR_FREEZE_LBRS_ON_PMI); in amd_pmu_lbr_disable_all()