summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/ksmn.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove AMD64 strings from pcidevsjsg2020-01-041-4/+4
| | | | ok mortimer@ mpi@ deraadt@
* ksmn(4): Improve the precision of the fractional part of temperatures.brynet2019-11-201-9/+12
| | | | | | | | | | | | Before we were losing some precision in the raw value sensor conversion. raw: 478 before: 59.70 after: 59.75 real: 59.750 raw: 479 before: 59.80 after: 59.88 real: 59.875 raw: 480 before: 60.00 after: 60.00 real: 60.000 Tested on Ryzen 7 2700X, Ryzen 5 2500U, and Zen2 by nte. Diff and feedback from nte <lists at nte.email>
* Use a better scale value in ksmn(4), this produces a slightly morebrynet2019-09-271-2/+2
| | | | | | | | | | | stable result when idle and under some load. Tested by abieber@ on a R7 PRO 2700U, also by me on a R5 2500U MateBook D, and a R7 2700X desktop. Discussed with @nte@bsd.network. OK abieber@
* Add a new driver for getting AMD CPU temperature sensor over the SMN.brynet2019-09-261-0/+166
This currently supports Family 17h Zen/Zen+/Zen2 CPUs. The are still some issues with the scaler on certain models that can be fixed later. AMD Ryzen 2700X: hw.sensors.ksmn0.temp0=47.50 degC Tested by several people. "Make a move" deraadt@