On Tue, Nov 13, 2018 at 6:26 PM Daniel Eischen <deischen_at_freebsd.org> wrote: > I've attached it. If it gets filtered by the mail list, I'll > make it http accessible. Thanks Daniel. It looks like your hostbridge zero device has a different device id than in my first generation Ryzen system. Would you please try the following patch and see if it attaches on your system? I don't actually have documentation for Ryzen 2, unfortunately, so I'm not totally sure if the SMN is accessed in the same way for the new hostbridge device id. The change below should at least attempt attaching to hostb0 on your system. diff --git a/sys/dev/amdsmn/amdsmn.c b/sys/dev/amdsmn/amdsmn.c index 17792dd922cd..6fe36b4cc4da 100644 --- a/sys/dev/amdsmn/amdsmn.c +++ b/sys/dev/amdsmn/amdsmn.c _at__at_ -60,7 +60,8 _at__at_ struct amdsmn_softc { static struct pciid { uint32_t device_id; } amdsmn_ids[] = { - { 0x14501022 }, + { 0x14501022 }, /* Ryzen */ + { 0x15d01022 }, /* Ryzen 2 */ }; /* diff --git a/sys/dev/amdtemp/amdtemp.c b/sys/dev/amdtemp/amdtemp.c index 2463212c25f5..765e660a8461 100644 --- a/sys/dev/amdtemp/amdtemp.c +++ b/sys/dev/amdtemp/amdtemp.c _at__at_ -102,6 +102,7 _at__at_ static struct amdtemp_product { { VENDORID_AMD, DEVICEID_AMD_MISC16_M30H }, { VENDORID_AMD, DEVICEID_AMD_MISC17 }, { VENDORID_AMD, DEVICEID_AMD_HOSTB17H }, + { VENDORID_AMD, 0x15d0 }, }; /* Thanks, ConradReceived on Wed Nov 14 2018 - 01:42:07 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:19 UTC