From db0a1c2e8007d50d05484ee6c1073c292c5346d7 Mon Sep 17 00:00:00 2001 From: Bryan Steele Date: Thu, 26 Sep 2019 12:59:02 +0000 Subject: Add a new driver for getting AMD CPU temperature sensor over the SMN. 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@ --- sys/arch/amd64/conf/GENERIC | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/amd64/conf') diff --git a/sys/arch/amd64/conf/GENERIC b/sys/arch/amd64/conf/GENERIC index 695eaa27d2d..0e4baf8a3ac 100644 --- a/sys/arch/amd64/conf/GENERIC +++ b/sys/arch/amd64/conf/GENERIC @@ -1,4 +1,4 @@ -# $OpenBSD: GENERIC,v 1.479 2019/09/26 03:00:30 jmatthew Exp $ +# $OpenBSD: GENERIC,v 1.480 2019/09/26 12:59:01 brynet Exp $ # # For further information on compiling OpenBSD kernels, see the config(8) # man page. @@ -103,6 +103,7 @@ amdpcib* at pci? # AMD 8111 LPC bridge tcpcib* at pci? # Intel Atom E600 LPC bridge kate* at pci? # AMD K8 temperature sensor km* at pci? # AMD K10 temperature sensor +ksmn* at pci? # AMD K17 temperature sensor amas* at pci? disable # AMD memory configuration pchtemp* at pci? # Intel C610 termperature sensor ccp* at pci? # AMD Cryptographic Co-processor -- cgit v1.2.3