From patchwork Thu Aug 9 16:26:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Larabel X-Patchwork-Id: 10561599 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0B5AA1390 for ; Thu, 9 Aug 2018 17:12:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E96D12B725 for ; Thu, 9 Aug 2018 17:12:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DD37D2B733; Thu, 9 Aug 2018 17:12:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_TVD_MIME_EPI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F4362B725 for ; Thu, 9 Aug 2018 17:12:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732422AbeHITia (ORCPT ); Thu, 9 Aug 2018 15:38:30 -0400 Received: from mail.phoronix.com ([23.111.154.110]:54474 "EHLO sky.phoronix.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730634AbeHITia (ORCPT ); Thu, 9 Aug 2018 15:38:30 -0400 X-Greylist: delayed 2796 seconds by postgrey-1.27 at vger.kernel.org; Thu, 09 Aug 2018 15:38:29 EDT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=phoronix.com; s=default; h=Content-Type:MIME-Version:Date:Message-ID: Subject:From:To:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Bm9q2yV7U9wSdE6MdPUmtYIJnNfgt9UjaDO1ofTz6Cc=; b=mgkA5suuHmS4P/pZdFnT+Tworo NWQQu8jN7ovkBy1w+VXyoEAegSMc2ZkRJL6ofEWX9oWQWqRUvSjSlQQNBjbJ63S01Czg80MLIrnTs OylZvoR2Ys8j2GN7a6l8wPscNzlZZ8otpqYbPhUaDwvVSO4WwPGSzFnmei5zXAiqLD9uWVs2wOoN8 5UfaYTZqkKuaCQGPtH1jfU6M5n0+ws4YpPK/NM2M0/+F3g9fnWgn9MJEQnO3zNnP7MXwdb1BjEz4G MN7a74hexRQjup/ZwcxH0EgFNdwP0uhi0+BvUHpqGI9eZnHwHArSJhK7SG2S/aS37VtE2sLpMwK/u Jxz+O9sA==; Received: from c-98-212-67-177.hsd1.in.comcast.net ([98.212.67.177]:43750 helo=[192.168.1.37]) by sky.phoronix.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1fnnlO-000515-Qd; Thu, 09 Aug 2018 12:26:14 -0400 To: Guenter Roeck , linux-hwmon@vger.kernel.org From: Michael Larabel Subject: [PATCH] hwmon: (k10temp) 27C offset needed for Threadripper 2920X / 2970WX Message-ID: <962bacd7-4369-0e36-ef55-ee3681baa27e@phoronix.com> Date: Thu, 9 Aug 2018 11:26:14 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sky.phoronix.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - phoronix.com X-Get-Message-Sender-Via: sky.phoronix.com: authenticated_id: michael@phoronix.com X-Authenticated-Sender: sky.phoronix.com: michael@phoronix.com Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Guenter, list: I was able to confirm that the AMD Threadripper 2920X and 2970WX also require a 27 degree Tctl offset. Michael From f368ba0dce5eb94e4552650595082b51ebc37b55 Mon Sep 17 00:00:00 2001 From: Michael Larabel Date: Tue, 7 Aug 2018 09:54:54 -0400 Subject: [PATCH] k10temp: 27C Offset needed for Threadripper2 For at least the Threadripper 2950X and Threadripper 2990WX, it's confirmed a 27 degree offset is needed. --- drivers/hwmon/k10temp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c index 17c6460ae351..577e2ede5a1a 100644 --- a/drivers/hwmon/k10temp.c +++ b/drivers/hwmon/k10temp.c @@ -105,6 +105,8 @@ static const struct tctl_offset tctl_offset_table[] = { { 0x17, "AMD Ryzen Threadripper 1950", 10000 }, { 0x17, "AMD Ryzen Threadripper 1920", 10000 }, { 0x17, "AMD Ryzen Threadripper 1910", 10000 }, + { 0x17, "AMD Ryzen Threadripper 2950X", 27000 }, + { 0x17, "AMD Ryzen Threadripper 2990WX", 27000 }, }; static void read_htcreg_pci(struct pci_dev *pdev, u32 *regval) -- 2.17.1