summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-sources-redcore/files/5.6-01-hwmon-k10temp-do-not-load-on-ZEN-CPUs.patch
blob: 823d83d451ab8a10dc10a9eba421eb76e5eb193b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff -Naur linux-5.5.5/drivers/hwmon/k10temp.c linux-5.5.5-p/drivers/hwmon/k10temp.c
--- linux-5.5.5/drivers/hwmon/k10temp.c	2020-02-19 19:54:14.000000000 +0100
+++ linux-5.5.5-p/drivers/hwmon/k10temp.c	2020-02-23 19:43:48.713729060 +0100
@@ -346,11 +346,6 @@
 	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_M70H_NB_F3) },
 	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_16H_NB_F3) },
 	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_16H_M30H_NB_F3) },
-	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_DF_F3) },
-	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_M10H_DF_F3) },
-	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_M30H_DF_F3) },
-	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_M70H_DF_F3) },
-	{ PCI_VDEVICE(HYGON, PCI_DEVICE_ID_AMD_17H_DF_F3) },
 	{}
 };
 MODULE_DEVICE_TABLE(pci, k10temp_id_table);
diff -Naur linux-5.5.5/drivers/hwmon/Kconfig linux-5.5.5-p/drivers/hwmon/Kconfig
--- linux-5.5.5/drivers/hwmon/Kconfig	2020-02-19 19:54:14.000000000 +0100
+++ linux-5.5.5-p/drivers/hwmon/Kconfig	2020-02-23 19:45:26.143349448 +0100
@@ -283,7 +283,7 @@
 	  will be called k8temp.
 
 config SENSORS_K10TEMP
-	tristate "AMD Family 10h+ temperature sensor"
+	tristate "AMD Family 10h to 16h temperature sensor"
 	depends on X86 && PCI && AMD_NB
 	help
 	  If you say yes here you get support for the temperature