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

/linux-master/tools/power/cpupower/utils/idle_monitor/
H A Dmperf_monitor.c270 unsigned long long hwcr; local
280 * A test whether hwcr is accessable/available would be:
288 ret = read_msr(0, MSR_AMD_HWCR, &hwcr);
297 } else if (1 & (hwcr >> 24)) {
/linux-master/arch/x86/kernel/cpu/mce/
H A Damd.c635 u64 hwcr; local
655 rdmsrl(MSR_K7_HWCR, hwcr);
658 need_toggle = !(hwcr & BIT(18));
660 wrmsrl(MSR_K7_HWCR, hwcr | BIT(18));
668 wrmsrl(MSR_K7_HWCR, hwcr);

Completed in 99 milliseconds