hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
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;