Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp20089ybp; Thu, 3 Oct 2019 09:35:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqz+p83catN8JbRjiyAxTYGbt0TIhC2eTjoUancVSsVv73JvgGdlg1OJqr/FLWTNYhsGMuKc X-Received: by 2002:a50:f19c:: with SMTP id x28mr10308789edl.42.1570120548799; Thu, 03 Oct 2019 09:35:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570120548; cv=none; d=google.com; s=arc-20160816; b=gzfVErP5vVmPuwB7I8I9A9irbEAyFVW3ejoKrNTLkqtgageHMCWhFf+yfaGWQARk/2 iSRp/T7ydcSTT6NkWIzjGwmKrU1GmVFs55gykw1gxfT6yVYXTn/K1/J9oyc/fCS4x3qH ae4qFO+Dl54IwUSiN7B0GH3jlHaVFJoT3kXvLV5ddy54H2wVKa6fVjoJ5qYEb1l6t8tb qcaXxLQP0kGYhvr9EGHFzLngIo3HxnP6kG0qdMleiY7q/FVOlrG/nmuRDdCfxUE8YqD9 tVnMjjhZR9gWoC8hfbMZPRqQ2IaSSALpy5Qre1XaO0+9xP6/tBDdz04NtevZWQNmT0in ucGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=BsJAPnVraeFHTFiGw306Con+5KH81+NZWRvxFADaeqM=; b=wI8D0HTNTzqM98GVV5U8twVd7n56aofep6SG69F6Lqi/t1TVyw6pxtzCaaFb8Ifr0Z 1cKdSfPJXT90uZLiXDA6nQc4a04fI/lsVqnc/1rnY9k/W4JZwMBHjfnEYZ727+Hq2CzA TXdVo7Y+89k6CKHXH4LQWYWpPa7rZMVmLQlecbCTza7GXrdJyYVl0qr6GHrhqldmq2YI 5Njq0VCyWmnYUIYgLXrczaZU6ZHZukUbb6pK/1abnzwpig+0LbMkHEawyN9SzXM3wER3 AoEmTUaBUFA5LMcvj5FZAZgSWpLp7qkDbHcPJJGxcyVjRF8odpHaOcvWSNkZ/fuxF1pm VhHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ooo2kDsL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u12si1835224edi.326.2019.10.03.09.35.23; Thu, 03 Oct 2019 09:35:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ooo2kDsL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391361AbfJCQbr (ORCPT + 99 others); Thu, 3 Oct 2019 12:31:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:38854 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391344AbfJCQbo (ORCPT ); Thu, 3 Oct 2019 12:31:44 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A8FDB2054F; Thu, 3 Oct 2019 16:31:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570120303; bh=ZaoPHwtLHsvaA+ZAcx1/9Bq15BWjd0+3loZmP5V6Kmo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ooo2kDsLj58KJQELkg3e//65zb2XncDxGNOmpxqxJynuobcOmrn8goYnd0MGOLHOw EhdIFaQnBNt5rqJUAy+Ua/wPq6ulyWkrpKhrH0+6nJLfSC1xf4GsFwZMbZmDKmlvU9 EdAZKEnwhT3elAVNwG3GHhzvy+3ebgPu6QLTxJxM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Vicki Pfau , Marcel Bocu , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , x86@kernel.org, "Woods, Brian" , Clemens Ladisch , Jean Delvare , Guenter Roeck , linux-hwmon@vger.kernel.org, Sasha Levin Subject: [PATCH 5.2 173/313] hwmon: (k10temp) Add support for AMD family 17h, model 70h CPUs Date: Thu, 3 Oct 2019 17:52:31 +0200 Message-Id: <20191003154550.029036243@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191003154533.590915454@linuxfoundation.org> References: <20191003154533.590915454@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marcel Bocu [ Upstream commit 12163cfbfc0f804cc7d27bc20e8d266ce7459260 ] It would seem like model 70h is behaving in the same way as model 30h, so let's just add the new F3 PCI ID to the list of compatible devices. Unlike previous Ryzen/Threadripper, Ryzen gen 3 processors do not need temperature offsets anymore. This has been reported in the press and verified on my Ryzen 3700X by checking that the idle temperature reported by k10temp is matching the temperature reported by the firmware. Vicki Pfau sent an identical patch after I checked that no-one had written this patch. I would have been happy about dropping my patch but unlike for his patch series, I had already Cc:ed the x86 people and they already reviewed the changes. Since Vicki has not answered to any email after his initial series, let's assume she is on vacation and let's avoid duplication of reviews from the maintainers and merge my series. To acknowledge Vicki's anteriority, I added her S-o-b to the patch. v2, suggested by Guenter Roeck and Brian Woods: - rename from 71h to 70h Signed-off-by: Vicki Pfau Signed-off-by: Marcel Bocu Tested-by: Marcel Bocu Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: "H. Peter Anvin" Cc: x86@kernel.org Cc: "Woods, Brian" Cc: Clemens Ladisch Cc: Jean Delvare Cc: Guenter Roeck Cc: linux-hwmon@vger.kernel.org Link: https://lore.kernel.org/r/20190722174653.2391-1-marcel.p.bocu@gmail.com Signed-off-by: Guenter Roeck Signed-off-by: Sasha Levin --- drivers/hwmon/k10temp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c index c77e89239dcd9..5c1dddde193c3 100644 --- a/drivers/hwmon/k10temp.c +++ b/drivers/hwmon/k10temp.c @@ -349,6 +349,7 @@ static const struct pci_device_id k10temp_id_table[] = { { 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) }, {} }; -- 2.20.1