Home
last modified time | relevance | path

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

/Linux-v4.19/tools/power/cpupower/utils/idle_monitor/
Dmperf_monitor.c238 unsigned long long hwcr; in init_maxfreq_mode() local
255 ret = read_msr(0, MSR_AMD_HWCR, &hwcr); in init_maxfreq_mode()
264 } else if (1 & (hwcr >> 24)) { in init_maxfreq_mode()
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/
Dmce.c1618 u64 hwcr; in __mcheck_cpu_apply_quirks() local
1625 rdmsrl(MSR_K7_HWCR, hwcr); in __mcheck_cpu_apply_quirks()
1628 need_toggle = !(hwcr & BIT(18)); in __mcheck_cpu_apply_quirks()
1631 wrmsrl(MSR_K7_HWCR, hwcr | BIT(18)); in __mcheck_cpu_apply_quirks()
1639 wrmsrl(MSR_K7_HWCR, hwcr); in __mcheck_cpu_apply_quirks()