hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/tools/power/cpupower/utils/helpers/misc.c
....@@ -26,7 +26,7 @@
2626 * has Hardware determined variable increments instead.
2727 */
2828
29
- if (cpu_info.family == 0x17) {
29
+ if (cpu_info.family == 0x17 || cpu_info.family == 0x18) {
3030 if (!read_msr(cpu, MSR_AMD_HWCR, &val)) {
3131 if (!(val & CPUPOWER_AMD_CPBDIS))
3232 *active = 1;