The attach diff uses constants from linux to adjust the reported CPU temp down by 49C when bit 19 is present in the raw value read from AMDTEMP_17H_CUR_TMP. This results in temperatures which are believableUpdate the AMD family 17h temperature reporting based on AMD Tech Doc 56255 OSRR, section 4.2.1:
- For CPUs w/CUR_TEMP_RANGE_SEL clear, scale the reported temp in the range 0..225, not 0..255
- For CPUS w/CUR_TEMP_RANGE_SEL set, and match what is reported on linux.scale the reported temp in the range -49..206