History log of /dragonfly/sys/dev/powermng/amdtemp/amdtemp.c (Results 1 – 6 of 6)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 4970ada5 07-Jan-2023 Matthew Dillon <dillon@apollo.backplane.com>

amd - Add family 19h temperature sensor support, fix 17h support

* Add family 19h temperature sensor support. Note that the
CCD address offset for models 0x60-0x6f and 0x70-0x7f is
0x308, not 0

amd - Add family 19h temperature sensor support, fix 17h support

* Add family 19h temperature sensor support. Note that the
CCD address offset for models 0x60-0x6f and 0x70-0x7f is
0x308, not 0x154.

* Fix temperature sensor address base for CCD temps for
some 17h models. 0x10-0x1f, 0x40-4f, and 0x10-1f models
use an offset of 0x300, not 0x154.

* Address offset corrections obtained from linux

show more ...


Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2, v6.2.1, v6.2.0, v6.3.0, v6.0.1
# 206afc23 30-May-2021 Matthew Dillon <dillon@apollo.backplane.com>

amdtemp - Fix family 0x17 support, add family 0x19 support (2)

* Get rid of debugging kprintfs and the family 0x18 sillyness I had
added earlier.

* Unfortunately, there are still a multitude of p

amdtemp - Fix family 0x17 support, add family 0x19 support (2)

* Get rid of debugging kprintfs and the family 0x18 sillyness I had
added earlier.

* Unfortunately, there are still a multitude of problems with this
driver. Not only is the ncores supposed to be per-unit (and isn't,
its whole-system), but the amdtemp driver attaches four times
on the 3990X (units 0, 1, 2, 3) because there are four root complexes.
Each attachment lists 8 CCDs. And, insofar as I can tell, each of
the four attachments are reading the same sensors even though they
are hanging off of four different root complexes.

(This is in addition to the driver not knowing how to map temp
sensors to CPUs).

show more ...


# d834e1dc 30-May-2021 Matthew Dillon <dillon@apollo.backplane.com>

amdtemp - Fix family 0x17 support, add family 0x19 support

* Also add family 0x19 to amdsmn and amdtemp.

* Add the AMD temperature sensors to the sensor infrastructure. Sensors
will now properly

amdtemp - Fix family 0x17 support, add family 0x19 support

* Also add family 0x19 to amdsmn and amdtemp.

* Add the AMD temperature sensors to the sensor infrastructure. Sensors
will now properly show up in 'systat -sensors 1'

* Fix up the parsing confusing. Make it confusing, but less confusing
than it was before.

Tested with 3550H, 5900X, and 3990X.

* Note that the sc_ncores calculation is still broken, it appears to be
calculating the total number of cores in the system and not the number
of cores per reporting complex. This means that the per-cpu temps in
the sysctl tree (dev.cpu.N.temperature) will not be reported properly.

But at least now it reports CCD temps as CCD temps, and these appear to
be reported properly.

* Add family 0x18 (?) as well, think of it as family 0x19. What is family
0x18 you ask? I have no idea. But its between 0x17 and 0x19 so if it
exists anywhere it probably use the same schema.

show more ...


Revision tags: v6.0.0, v6.0.0rc1, v6.1.0
# 2a07801c 05-Nov-2020 Sascha Wildner <saw@online.de>

kernel/amd{smn,temp}: Sync with FreeBSD.

Adds support for Ryzen 4000 APU (Zen 2, "Renoir").

Reported-by: zrj


Revision tags: v5.8.3, v5.8.2
# 23be8282 02-Aug-2020 Sascha Wildner <saw@online.de>

kernel: Some minor adjustments for amd{smn,temp}(4).

* Make compilable into the kernel and add to LINT64 and X86_64_GENERIC.

* Reduce some miscellaneous differences with FreeBSD.

* Bump date in ma

kernel: Some minor adjustments for amd{smn,temp}(4).

* Make compilable into the kernel and add to LINT64 and X86_64_GENERIC.

* Reduce some miscellaneous differences with FreeBSD.

* Bump date in manual pages.

show more ...


# 114b2e18 27-Jul-2020 Pierre-Alain TORET <pierre-alain.toret@protonmail.com>

Bring amdtemp from FreeBSD

Tested-by: aly, deef