[Bionic][PATCH 4/5] hwmon/k10temp: Add support for AMD family 17h, model 30h CPUs

Naru, Kim Kim.Naru at amd.com
Thu May 9 19:23:56 UTC 2019


BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1819485

    hwmon/k10temp: Add support for AMD family 17h, model 30h CPUs

    Add support for AMD family 17h model 30h processors for k10temp. Model
    30h is functionally the same as model 01h processors (as far as k10temp
    is concerned), just the PCI device IDs need to be updated.

    Signed-off-by: Brian Woods <brian.woods at amd.com>
    (backported from commit 210ba1201ff950b3d05bfd8fa5d47540cea393c0)
    Signed-off-by: Borislav Petkov <bp at suse.de>
    Acked-by: Guenter Roeck <linux at roeck-us.net>
    CC: Bjorn Helgaas <bhelgaas at google.com>
    CC: Clemens Ladisch <clemens at ladisch.de>
    CC: "H. Peter Anvin" <hpa at zytor.com>
    CC: Ingo Molnar <mingo at redhat.com>
    CC: Jean Delvare <jdelvare at suse.com>
    CC: Jia Zhang <qianyue.zj at alibaba-inc.com>
    CC: <linux-hwmon at vger.kernel.org>
    CC: <linux-pci at vger.kernel.org>
    CC: Pu Wen <puwen at hygon.cn>
    CC: Thomas Gleixner <tglx at linutronix.de>
    CC: x86-ml <x86 at kernel.org>
    Link: http://lkml.kernel.org/r/20181106200754.60722-5-brian.woods@amd.com
---
 drivers/hwmon/k10temp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c
index a2bf873a0a23..ee6538aac36b 100644
--- a/drivers/hwmon/k10temp.c
+++ b/drivers/hwmon/k10temp.c
@@ -322,6 +322,7 @@ static const struct pci_device_id k10temp_id_table[] = {
 	{ 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) },
 	{}
 };
 MODULE_DEVICE_TABLE(pci, k10temp_id_table);
-- 
2.21.0



More information about the kernel-team mailing list