summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-sources-redcore/files/5.5-01-hwmon-k10temp-do-not-load-on-ZEN-CPUs.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-03-08 00:59:00 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-03-08 00:59:00 +0000
commit94c06da69db2a400c5c635b368628a4114da007c (patch)
tree91ac41cdca741ab02910305e8acb87ae1a90be36 /sys-kernel/linux-sources-redcore/files/5.5-01-hwmon-k10temp-do-not-load-on-ZEN-CPUs.patch
parent6a048063b8722a134ff2bbc05c359edad13ed023 (diff)
sys-kernel/linux-{image,sources}-redcore : version bump (v5.5.8)
Diffstat (limited to 'sys-kernel/linux-sources-redcore/files/5.5-01-hwmon-k10temp-do-not-load-on-ZEN-CPUs.patch')
-rw-r--r--sys-kernel/linux-sources-redcore/files/5.5-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.5-01-hwmon-k10temp-do-not-load-on-ZEN-CPUs.patch b/sys-kernel/linux-sources-redcore/files/5.5-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.5-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