summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-sources-redcore/files/5.6-01-hwmon-k10temp-do-not-load-on-ZEN-CPUs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/linux-sources-redcore/files/5.6-01-hwmon-k10temp-do-not-load-on-ZEN-CPUs.patch')
-rw-r--r--sys-kernel/linux-sources-redcore/files/5.6-01-hwmon-k10temp-do-not-load-on-ZEN-CPUs.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/sys-kernel/linux-sources-redcore/files/5.6-01-hwmon-k10temp-do-not-load-on-ZEN-CPUs.patch b/sys-kernel/linux-sources-redcore/files/5.6-01-hwmon-k10temp-do-not-load-on-ZEN-CPUs.patch
new file mode 100644
index 00000000..823d83d4
--- /dev/null
+++ b/sys-kernel/linux-sources-redcore/files/5.6-01-hwmon-k10temp-do-not-load-on-ZEN-CPUs.patch
@@ -0,0 +1,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