beef up ksmn(4) to show more temps and CPU frequency

2022-04-24 Thread Claudio Jeker
On Ryzen CPUs each CCD has a temp sensor. If the CPU has CCDs (which excludes Zen APU CPUs) this should show additional temp info. This is based on info from the Linux k10temp driver. Additionally use the MSRs defined in "Open-Source Register Reference For AMD Family 17h Processors" to measure

Re: beef up ksmn(4) to show more temps and CPU frequency

2022-04-24 Thread Hrvoje Popovski
On 24.4.2022. 20:24, Hrvoje Popovski wrote: > after diff > smc24# sysctl | grep ksmn > hw.sensors.ksmn0.temp0=47.50 degC (Tctl) > hw.sensors.ksmn0.temp1=45.25 degC (Tccd0) > hw.sensors.ksmn0.temp2=46.00 degC (Tccd2) > hw.sensors.ksmn0.temp3=45.75 degC (Tccd4) > hw.sensors.ksmn0.temp4=47.50 degC

Re: beef up ksmn(4) to show more temps and CPU frequency

2022-04-24 Thread Claudio Jeker
On Sun, Apr 24, 2022 at 02:30:37PM -0400, Bryan Steele wrote: > On Sun, Apr 24, 2022 at 07:06:19PM +0200, Claudio Jeker wrote: > > On Ryzen CPUs each CCD has a temp sensor. If the CPU has CCDs (which > > excludes Zen APU CPUs) this should show additional temp info. This is > > based on info from

Re: beef up ksmn(4) to show more temps and CPU frequency

2022-04-24 Thread Hrvoje Popovski
On 24.4.2022. 19:06, Claudio Jeker wrote: > On Ryzen CPUs each CCD has a temp sensor. If the CPU has CCDs (which > excludes Zen APU CPUs) this should show additional temp info. This is > based on info from the Linux k10temp driver. > > Additionally use the MSRs defined in "Open-Source Register

Re: beef up ksmn(4) to show more temps and CPU frequency

2022-04-24 Thread Bryan Steele
On Sun, Apr 24, 2022 at 07:06:19PM +0200, Claudio Jeker wrote: > On Ryzen CPUs each CCD has a temp sensor. If the CPU has CCDs (which > excludes Zen APU CPUs) this should show additional temp info. This is > based on info from the Linux k10temp driver. > > Additionally use the MSRs defined in

Re: UPDATE: xterm 372

2022-04-24 Thread Theo Buehler
On Sat, Apr 23, 2022 at 07:47:15AM +0200, Matthieu Herrb wrote: > On Sun, Mar 27, 2022 at 10:54:43AM +0200, Matthieu Herrb wrote: > > Hi, > > > > the patch below updates xterm to version 372. Please test, especially > > if you use or depend on less common features, and report any issues. > > Note

Fix whitespace dev/fdt/files.fdt

2022-04-24 Thread Masato Asou
Change whitespace to TAB. ok? Index: sys/dev/fdt/files.fdt === RCS file: /cvs/src/sys/dev/fdt/files.fdt,v retrieving revision 1.162 diff -u -p -r1.162 files.fdt --- sys/dev/fdt/files.fdt 30 Jan 2022 21:40:50 - 1.162

Re: beef up ksmn(4) to show more temps and CPU frequency

2022-04-24 Thread David Gwynne
On Sun, Apr 24, 2022 at 11:32:53PM +0200, Claudio Jeker wrote: > On Sun, Apr 24, 2022 at 02:30:37PM -0400, Bryan Steele wrote: > > On Sun, Apr 24, 2022 at 07:06:19PM +0200, Claudio Jeker wrote: > > > On Ryzen CPUs each CCD has a temp sensor. If the CPU has CCDs (which > > > excludes Zen APU CPUs)

DPTF sensors driver

2022-04-24 Thread joshua stein
Any interest in this? acpidptfs0 at acpi0: SEN2, sensor "Sensor 2 USB2" acpidptfs1 at acpi0: SEN4, sensor "Sensor 4 Ambience" acpidptfs2 at acpi0: SEN1, sensor "Thermistor CPU SOC" acpidptfs3 at acpi0: SEN3, sensor "Sensor 3 SSD" acpidptfs4 at acpi0: SEN5, sensor "Thermistor USB Type-C"