Bug 284009 - amdsmn(4), amdtemp(4): add support for AMD Ryzen 7 "Cezanne" cpus
Summary: amdsmn(4), amdtemp(4): add support for AMD Ryzen 7 "Cezanne" cpus
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 15.0-CURRENT
Hardware: amd64 Any
: --- Affects Some People
Assignee: Konstantin Belousov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-12 03:43 UTC by Simon Wells
Modified: 2025-01-19 00:26 UTC (History)
5 users (show)

See Also:


Attachments
cezanne patch (1.76 KB, patch)
2025-01-12 03:43 UTC, Simon Wells
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Wells 2025-01-12 03:43:34 UTC
Created attachment 256635 [details]
cezanne patch

CPU: AMD Ryzen 7 5700G with Radeon Graphics          (3793.08-MHz K8-class CPU)
  Origin="AuthenticAMD"  Id=0xa50f00  Family=0x19  Model=0x50  Stepping=0

original
amdtemp0: <AMD CPU On-Die Thermal Sensors> on hostb0
amdtemp0: Unrecognized Family 19h Model: 50h
amdtemp0: detached

patched, used module
amdtemp0: <AMD CPU On-Die Thermal Sensors> on hostb0

dev.amdtemp.0.core0.sensor0: 38.6C

checked 80c temp
dev.amdtemp.0.core0.sensor0: 81.6C
Comment 1 Simon Wells 2025-01-12 04:13:53 UTC
pciconf -lv
hostb0@pci0:0:0:0:      class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1630 subvendor=0x1022 subdevice=0x1630
Comment 2 Dudley Innocent 2025-01-12 05:02:05 UTC
^triage, added last three committers who added identifying device IDs to relevant C file. Unable to set status to new; lack of permission.
Comment 3 commit-hook freebsd_committer freebsd_triage 2025-01-12 12:15:05 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=7aa6eeb220d89a3c29eb4f768f258622c3803f46

commit 7aa6eeb220d89a3c29eb4f768f258622c3803f46
Author:     Simon Wells <swel024@gmail.com>
AuthorDate: 2025-01-12 11:45:05 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-01-12 12:14:01 +0000

    amdsmn(4), amdtemp(4): add support for AMD Ryzen 7 "Cezanne" cpus

    Tested on AMD 5700G

    PR:     284009
    MFC after:      1 week

 sys/dev/amdsmn/amdsmn.c   | 2 +-
 sys/dev/amdtemp/amdtemp.c | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2025-01-19 00:25:57 UTC
A commit in branch stable/14 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=6823172ca2c5a3d2ad1a2937046dd5961919f458

commit 6823172ca2c5a3d2ad1a2937046dd5961919f458
Author:     Simon Wells <swel024@gmail.com>
AuthorDate: 2025-01-12 11:45:05 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-01-19 00:24:57 +0000

    amdsmn(4), amdtemp(4): add support for AMD Ryzen 7 "Cezanne" cpus

    PR:     284009

    (cherry picked from commit 7aa6eeb220d89a3c29eb4f768f258622c3803f46)

 sys/dev/amdsmn/amdsmn.c   | 2 +-
 sys/dev/amdtemp/amdtemp.c | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)