FreeBSD Bugzilla – Attachment 256635 Details for
Bug 284009
amdsmn(4), amdtemp(4): add support for AMD Ryzen 7 "Cezanne" cpus
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
cezanne patch
cezanne.patch (text/plain), 1.76 KB, created by
Simon Wells
on 2025-01-12 03:43:34 UTC
(
hide
)
Description:
cezanne patch
Filename:
MIME Type:
Creator:
Simon Wells
Created:
2025-01-12 03:43:34 UTC
Size:
1.76 KB
patch
obsolete
>commit fc7e7c9c1f28718cdff519c62cb742db0d0432d7 >Author: Simon Wells <swel024@gmail.com> >Date: Sun Jan 12 16:30:48 2025 +1300 > > amdsmn(4), amdtemp(4): add support for AMD Ryzen 7 "Cezanne" cpus > > Tested on AMD 5700G > >diff --git a/sys/dev/amdsmn/amdsmn.c b/sys/dev/amdsmn/amdsmn.c >index 111c3cc8e7c1..9f5c55b1abd6 100644 >--- a/sys/dev/amdsmn/amdsmn.c >+++ b/sys/dev/amdsmn/amdsmn.c >@@ -57,7 +57,7 @@ > #define PCI_DEVICE_ID_AMD_17H_ROOT 0x1450 > #define PCI_DEVICE_ID_AMD_17H_M10H_ROOT 0x15d0 > #define PCI_DEVICE_ID_AMD_17H_M30H_ROOT 0x1480 /* Also M70H, F19H M00H/M20H */ >-#define PCI_DEVICE_ID_AMD_17H_M60H_ROOT 0x1630 >+#define PCI_DEVICE_ID_AMD_17H_M60H_ROOT 0x1630 /* Also F19H M50H */ > #define PCI_DEVICE_ID_AMD_19H_M10H_ROOT 0x14a4 > #define PCI_DEVICE_ID_AMD_19H_M40H_ROOT 0x14b5 > #define PCI_DEVICE_ID_AMD_19H_M60H_ROOT 0x14d8 >diff --git a/sys/dev/amdtemp/amdtemp.c b/sys/dev/amdtemp/amdtemp.c >index 431890dfce20..0c423e0b2502 100644 >--- a/sys/dev/amdtemp/amdtemp.c >+++ b/sys/dev/amdtemp/amdtemp.c >@@ -112,7 +112,7 @@ struct amdtemp_softc { > #define DEVICEID_AMD_HOSTB17H_ROOT 0x1450 > #define DEVICEID_AMD_HOSTB17H_M10H_ROOT 0x15d0 > #define DEVICEID_AMD_HOSTB17H_M30H_ROOT 0x1480 /* Also M70H, F19H M00H/M20H */ >-#define DEVICEID_AMD_HOSTB17H_M60H_ROOT 0x1630 >+#define DEVICEID_AMD_HOSTB17H_M60H_ROOT 0x1630 /* Also F19H M50H */ > #define DEVICEID_AMD_HOSTB19H_M10H_ROOT 0x14a4 > #define DEVICEID_AMD_HOSTB19H_M40H_ROOT 0x14b5 > #define DEVICEID_AMD_HOSTB19H_M60H_ROOT 0x14d8 >@@ -868,6 +868,7 @@ amdtemp_probe_ccd_sensors19h(device_t dev, uint32_t model) > switch (model) { > case 0x00 ... 0x0f: /* Zen3 EPYC "Milan" */ > case 0x20 ... 0x2f: /* Zen3 Ryzen "Vermeer" */ >+ case 0x50 ... 0x5f: /* Zen3 Ryzen "Cezanne" */ > maxreg = 8; > _Static_assert((int)NUM_CCDS >= 8, ""); > break;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 284009
: 256635