From patchwork Fri Jan 19 14:39:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guenter Roeck X-Patchwork-Id: 10175457 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 889FD60386 for ; Fri, 19 Jan 2018 14:39:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 81334286A7 for ; Fri, 19 Jan 2018 14:39:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 75911286AC; Fri, 19 Jan 2018 14:39:38 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 CA08C286A7 for ; Fri, 19 Jan 2018 14:39:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754104AbeASOjh (ORCPT ); Fri, 19 Jan 2018 09:39:37 -0500 Received: from mail-pf0-f196.google.com ([209.85.192.196]:40353 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753332AbeASOjg (ORCPT ); Fri, 19 Jan 2018 09:39:36 -0500 Received: by mail-pf0-f196.google.com with SMTP id i66so1498083pfd.7 for ; Fri, 19 Jan 2018 06:39:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=Zv/lZrQbWtXAE3aMN2luQVEVrpSglMFyUWGHh8OWm2M=; b=f6fM38UYUlLsXYoiOPIPxM9yiG2Loo19WTVVH6MznZYQu1FzfCOP9vuIrnGj+Nrsv1 V/PqrEI5miQ+sid7NfY4/N7LtI12+MU0VuGc43gN4/RpcN6QQBx23hanUJ+nuw6JFRU0 7L1zRKvqrMLZ/j2ZqryQXhaQgrgrKqxOtDXSPgqGi/1PMyGoyfQ49U7N7YuDv8d8XZVu Qnvcg+KTtOVoifjF5ViSWWAnAXKwZ2fcx+21PpRYS7oWspPLObfTHNQgrdY3oSk+vNj3 xhZXbtvZ/GbW7waLYp6TFUDIxHthKW6M08TaoHzKhEYAQg5lM/LuA9IK5/RdW6oWBBvO 4EDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=Zv/lZrQbWtXAE3aMN2luQVEVrpSglMFyUWGHh8OWm2M=; b=CR7u78fCjtMx9+iPud8SjNfFdjDjZQG8dCyVrzpy1h1TxzAreqHOm5ph44+CnHYsJX Hr+9NpA4CRJOruzJk7LE/RKAS3lHwgNHASoIABrCqByRjxe5nzi/KFhIXyGkfJBjMeJe wgssZpHNdiOIzQrrNVDxjD6xeienrq3c6PQgHjipECThqOZnv3Me1o0vMz9vQxyTuaoW k9fjc4O47bKHoXsragiD3iJccSj2fGR/aBnCNCVq+Vb4WDZj3nZ2JWzYJhpZSEy56lM/ 4Tx/KOUiqi3pStDWfSffrHpr0VpX2+/EUFoZSAoM6cV7X8YK2ZPTMpz7lZmJ8/WKbpTX 0Now== X-Gm-Message-State: AKwxytekAWMw/NuFK5F5BX+WZ8FtCI520RyPCCHjklph+2wlahx0fz+r ht2L7pN0UPQnQdeh+DavNuynbQ== X-Google-Smtp-Source: ACJfBouul5unk2bv+Nl0vTesZKqbYQNgCX6zkgFfwXEfBlyr4QFzTV9bH2rdEGWBRK7lypWHvaWw3A== X-Received: by 2002:a17:902:4e25:: with SMTP id f34-v6mr1706651ple.441.1516372776220; Fri, 19 Jan 2018 06:39:36 -0800 (PST) Received: from localhost (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by smtp.gmail.com with ESMTPSA id d24sm18537850pfb.30.2018.01.19.06.39.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Jan 2018 06:39:35 -0800 (PST) From: Guenter Roeck To: Hardware Monitoring Cc: Jean Delvare , Guenter Roeck Subject: [PATCH] hwmon: (k10temp) Add temperature offset for Ryzen 1900X Date: Fri, 19 Jan 2018 06:39:32 -0800 Message-Id: <1516372772-27311-1-git-send-email-linux@roeck-us.net> X-Mailer: git-send-email 2.7.4 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 Like the other CPUs from the same series, the 1900X has a temperature offset of 27 degrees C. Signed-off-by: Guenter Roeck --- drivers/hwmon/k10temp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c index 0721e175664a..06b4e1c78bd8 100644 --- a/drivers/hwmon/k10temp.c +++ b/drivers/hwmon/k10temp.c @@ -86,6 +86,7 @@ static const struct tctl_offset tctl_offset_table[] = { { 0x17, "AMD Ryzen 7 1800X", 20000 }, { 0x17, "AMD Ryzen Threadripper 1950X", 27000 }, { 0x17, "AMD Ryzen Threadripper 1920X", 27000 }, + { 0x17, "AMD Ryzen Threadripper 1900X", 27000 }, { 0x17, "AMD Ryzen Threadripper 1950", 10000 }, { 0x17, "AMD Ryzen Threadripper 1920", 10000 }, { 0x17, "AMD Ryzen Threadripper 1910", 10000 },