[Bug 271882] amdtemp measures bogus core temperature on AMD EPYC 7313P

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 21 Jul 2023 08:22:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271882

--- Comment #3 from Robert Schulze <rs@bytecamp.net> ---
(In reply to Mark Johnston from comment #1)
Sorry for the delay, I now can comfirm that the mentioned patch fixes the
problem:

# sysctl dev.amdtemp
dev.amdtemp.3.ccd6: 40.5C
dev.amdtemp.3.ccd4: 37.6C
dev.amdtemp.3.ccd2: 40.5C
dev.amdtemp.3.ccd0: 39.5C
dev.amdtemp.3.core0.sensor0: 43.2C
dev.amdtemp.3.sensor_offset: 0
dev.amdtemp.3.%parent: hostb32
dev.amdtemp.3.%pnpinfo: 
dev.amdtemp.3.%location: 
dev.amdtemp.3.%driver: amdtemp
dev.amdtemp.3.%desc: AMD CPU On-Die Thermal Sensors
dev.amdtemp.2.ccd6: 40.5C
dev.amdtemp.2.ccd4: 37.6C
dev.amdtemp.2.ccd2: 40.5C
dev.amdtemp.2.ccd0: 39.5C
dev.amdtemp.2.core0.sensor0: 43.2C
dev.amdtemp.2.sensor_offset: 0
dev.amdtemp.2.%parent: hostb16
dev.amdtemp.2.%pnpinfo: 
dev.amdtemp.2.%location: 
dev.amdtemp.2.%driver: amdtemp
dev.amdtemp.2.%desc: AMD CPU On-Die Thermal Sensors
dev.amdtemp.1.ccd6: 40.5C
dev.amdtemp.1.ccd4: 37.6C
dev.amdtemp.1.ccd2: 40.5C
dev.amdtemp.1.ccd0: 39.5C
dev.amdtemp.1.core0.sensor0: 43.2C
dev.amdtemp.1.sensor_offset: 0
dev.amdtemp.1.%parent: hostb8
dev.amdtemp.1.%pnpinfo: 
dev.amdtemp.1.%location: 
dev.amdtemp.1.%driver: amdtemp
dev.amdtemp.1.%desc: AMD CPU On-Die Thermal Sensors
dev.amdtemp.0.ccd6: 40.5C
dev.amdtemp.0.ccd4: 37.6C
dev.amdtemp.0.ccd2: 40.5C
dev.amdtemp.0.ccd0: 39.5C
dev.amdtemp.0.core0.sensor0: 43.2C
dev.amdtemp.0.sensor_offset: 0
dev.amdtemp.0.%parent: hostb0
dev.amdtemp.0.%pnpinfo: 
dev.amdtemp.0.%location: 
dev.amdtemp.0.%driver: amdtemp
dev.amdtemp.0.%desc: AMD CPU On-Die Thermal Sensors
dev.amdtemp.%parent:

-- 
You are receiving this mail because:
You are the assignee for the bug.