lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200617013255.391975-1-hengqing.hu@gmail.com>
Date:   Wed, 17 Jun 2020 09:32:55 +0800
From:   Jacky Hu <hengqing.hu@...il.com>
To:     linux-hwmon@...r.kernel.org
Cc:     linux-edac@...r.kernel.org, linux-kernel@...r.kernel.org,
        tony.luck@...el.com, x86@...nel.org, yazen.ghannam@....com,
        bp@...en8.de, linux@...ck-us.net, clemens@...isch.de,
        Jacky Hu <hengqing.hu@...il.com>
Subject: [PATCH] hwmon: (k10temp) Add AMD family 17h model 60h probe

With this patch applied, output from 4800H (idle) looks as follows:

k10temp-pci-00c3
Adapter: PCI adapter
Vcore:         1.55 V
Vsoc:          1.55 V
Tctl:         +49.6°C
Tdie:         +49.6°C
Icore:         0.00 A
Isoc:          0.00 A

Signed-off-by: Jacky Hu <hengqing.hu@...il.com>
---
 drivers/hwmon/k10temp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c
index 8f12995ec133..287e9cf2aab9 100644
--- a/drivers/hwmon/k10temp.c
+++ b/drivers/hwmon/k10temp.c
@@ -583,6 +583,7 @@ static int k10temp_probe(struct pci_dev *pdev, const struct pci_device_id *id)
 			k10temp_get_ccd_support(pdev, data, 4);
 			break;
 		case 0x31:	/* Zen2 Threadripper */
+		case 0x60:	/* Zen2 APU */
 		case 0x71:	/* Zen2 */
 			data->show_current = !is_threadripper() && !is_epyc();
 			data->cfactor[0] = CFACTOR_ICORE;
-- 
2.27.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ