HomeFreeBSD

amdtemp: Fix missing 49 degree offset on current EPYC CPUs

Description

amdtemp: Fix missing 49 degree offset on current EPYC CPUs

On an EPYC 7313P, the temperature reported by amdtemp was off, because
the offset was not applied. Turns out it needs to be applied with one
more condition: https://lkml.org/lkml/2023/4/13/1095

Reviewed by: mhorne
Tested by: mike.jakubik@gmail.com
MFC after: 1 week
Sponsored by: https://www.patreon.com/valpackett
Pull Request: https://github.com/freebsd/freebsd-src/pull/754

Details

Provenance
val_packett.coolAuthored on Jun 17 2023, 4:29 PM
mhorneCommitted on Jun 17 2023, 4:34 PM
Parents
rG9aef25d2686b: arm64/disassem.c: Add shifted register definitions with ror
Branches
Unknown
Tags
Unknown