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

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 07 Jun 2023 11:20:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271882

            Bug ID: 271882
           Summary: amdtemp measures bogus core temperature on AMD EPYC
                    7313P
           Product: Base System
           Version: 13.2-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: rs@bytecamp.net

amdtemp seems to measure correct values for ccd temperatures, but the values
for core sensors seem a bit odd:

# uname -Kmo
FreeBSD amd64 1302001

# sysctl hw.model
hw.model: AMD EPYC 7313P 16-Core Processor

# sysctl dev.amdtemp
dev.amdtemp.3.ccd6: 38.6C
dev.amdtemp.3.ccd4: 36.6C
dev.amdtemp.3.ccd2: 38.6C
dev.amdtemp.3.ccd0: 38.6C
dev.amdtemp.3.core0.sensor0: 88.1C
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: 38.6C
dev.amdtemp.2.ccd4: 36.6C
dev.amdtemp.2.ccd2: 38.6C
dev.amdtemp.2.ccd0: 38.6C
dev.amdtemp.2.core0.sensor0: 88.1C
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: 38.6C
dev.amdtemp.1.ccd4: 36.6C
dev.amdtemp.1.ccd2: 38.6C
dev.amdtemp.1.ccd0: 38.6C
dev.amdtemp.1.core0.sensor0: 88.1C
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: 38.6C
dev.amdtemp.0.ccd4: 36.6C
dev.amdtemp.0.ccd2: 38.6C
dev.amdtemp.0.ccd0: 38.6C
dev.amdtemp.0.core0.sensor0: 88.1C
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.