The branch main has been updated by markj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=621569254cd0b0639488aa5d7b8143cef7c90a18

commit 621569254cd0b0639488aa5d7b8143cef7c90a18
Author:     SHENGYI HONG <aokbl...@freebsd.org>
AuthorDate: 2025-01-15 11:18:34 +0000
Commit:     Mark Johnston <ma...@freebsd.org>
CommitDate: 2025-01-16 14:25:45 +0000

    hwpstate_amd: add amd pstate for zen4
    
    Co-authored-by: Daniel Schaefer <d...@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");

Reply via email to