git: 621569254cd0 - main - hwpstate_amd: add amd pstate for zen4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Jan 2025 14:25:52 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=621569254cd0b0639488aa5d7b8143cef7c90a18
commit 621569254cd0b0639488aa5d7b8143cef7c90a18
Author: SHENGYI HONG <aokblast@FreeBSD.org>
AuthorDate: 2025-01-15 11:18:34 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-01-16 14:25:45 +0000
hwpstate_amd: add amd pstate for zen4
Co-authored-by: Daniel Schaefer <dhs@frame.work>
Reviewed by: markj
MFC after: 2 weeks
Sponsored by: Framework Computer Inc
Differential Revision: https://reviews.freebsd.org/D48461
---
sys/x86/cpufreq/hwpstate_amd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/x86/cpufreq/hwpstate_amd.c b/sys/x86/cpufreq/hwpstate_amd.c
index 59a3a64e6495..5a2ff7611228 100644
--- a/sys/x86/cpufreq/hwpstate_amd.c
+++ b/sys/x86/cpufreq/hwpstate_amd.c
@@ -461,6 +461,7 @@ hwpstate_get_info_from_msr(device_t dev)
break;
case 0x17:
case 0x18:
+ case 0x19:
did = AMD_17H_CUR_DID(msr);
if (did == 0) {
HWPSTATE_DEBUG(dev, "unexpected did: 0\n");