Skip to content

Commit

Permalink
dev/amdtemp: update driver
Browse files Browse the repository at this point in the history
https://reviews.freebsd.org/D9759
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194792

Completely rewritten amdtemp driver.
There is no longer binding to the processor ID, all the new processors will be supported without the need to modify the code.

Maybe for older CPUs (FAMILY 0x0f) that it would not work, I have not had a chance to test.

sensor_offset - can be customized for each sensor separately.
In fact there is only one sensor to the processor.

Thermtrip Status - all registers are read-only.
Hardware Thermal Control (HTC) - everything except HtcTmpLmt available for recording.
Reported Temperature Control - everything except CurTmp available for recording.
SB-TSI - most writable.
Register values can be found in the processor documentation.
  • Loading branch information
rozhuk-im committed Dec 20, 2020
1 parent c4b6fc6 commit d4f2ccb
Showing 1 changed file with 861 additions and 471 deletions.

0 comments on commit d4f2ccb

Please sign in to comment.