Received: by 10.192.165.148 with SMTP id m20csp2906033imm; Sun, 29 Apr 2018 09:31:40 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpu93Y61GtXtyX1p4Lm+SjvVSiMrVaKNbFYN64+xwmVLPvLDxQWm6KJ2eSC+deRXyQTlGup X-Received: by 2002:a65:6349:: with SMTP id p9-v6mr7894314pgv.111.1525019500223; Sun, 29 Apr 2018 09:31:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525019500; cv=none; d=google.com; s=arc-20160816; b=ZXA66qLDM9Oab4PztUfMeSH694RMld1HicitoTGGvVDQmCINPGdumSab94uloHUN8W TQECs0dB9/zSUSsKLZGrLvJY8z+/ld4GJaEr/fsaz+K9BqGKNLhtqxg0PG0G82sKAVd5 LHNWu5LNUlOswCobwUw9wuY61YNnpP+xDCzRFLcuEM+qRCtVtw1tjm6/a2q5DAU4yVh8 oeGL7GmV7UiMIH6uzCEWBxiW5lnJ8Dp5E85lengIobQIlzbmAd4qSzlpXPuJk5vbkIj3 VmncB67FEYd0ITZrc59vlsigabxC7W5Zf8APE/eNlG2vAit9somi/JivJiPq6mmqpuxa mSxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=9iZRhLfqAiBMWfRVRQgW39yRPXC7zHIH3cSBkBB2nBw=; b=gUF2zrmfA53cxi2pzET3SfXLKxBmc03KkBObL08TdlHF5VMMgVipBfWvtlPq76OcCn jhqtRv7Gm6E3cl5l21ZbV82Wd9TwkqjOql8R1Ogzcx1dZdn2Hs5TJMKjgR9HuJLVqGFo G14iyEFvePC8X/l/FRsSdfUeKqZaCMdIrS7KvW2eHYHpkzjEJdYg+QUX9+M3+7LDMm0P UTerPnRudxwbHejenmYZyDo5dS2aJYdP7llAnyw+44QigMJ8Z43ejz0+K40X7dwl4RI4 CujStMCuiHjUa8pQtSNpY3gdVsUZIIfcsl0a9qyFNH/90GxxXfBi0ORNRrGRgqoKYrYM asjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N8DPA9XX; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d6si5921481pfk.166.2018.04.29.09.31.26; Sun, 29 Apr 2018 09:31:40 -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=@gmail.com header.s=20161025 header.b=N8DPA9XX; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753897AbeD2Q2p (ORCPT + 99 others); Sun, 29 Apr 2018 12:28:45 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:41374 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753805AbeD2Q2n (ORCPT ); Sun, 29 Apr 2018 12:28:43 -0400 Received: by mail-lf0-f65.google.com with SMTP id o123-v6so9154881lfe.8; Sun, 29 Apr 2018 09:28:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9iZRhLfqAiBMWfRVRQgW39yRPXC7zHIH3cSBkBB2nBw=; b=N8DPA9XXCRgzN6CO9SxXZ7dIUVvuiU+cjgxYVw4yxTi2jJNb22Rw9NtpQLp2QBuJr6 qTRNn4sW8k3KuRQOSgwfoOXKGgTSumdhALOuon6CQlQwmqHsYg4N2r4bhUPxM87CyxKo MAQ+97PLb68+s5+EldMvp9D5fN+z5bXcsSId4gPPL9tqcSVvfULsaO5j8AvgAQffzkrz OMY/Jolq45iXj5QzovLS4df4V4m4gb4tqxDqKS8JgECvQz+SH9YIlECqvc/88KRlBNOX w1xt9ZBXFtG1HXd95lcFAN7Cy0NHdGGgEXEbhUOLihrsw9kkEYJPlef3+kMnGCwsWGTh /wMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9iZRhLfqAiBMWfRVRQgW39yRPXC7zHIH3cSBkBB2nBw=; b=OnNV1x2avLHhgAr6SnjQVv5RPYjBjJw0tdfFGC3H8SNnQArNaq3MfQNFv0I/Itr0R6 yxczXGdvSNDuWWmLzUVpiQm0EH1qIIp0na/Zaki6xIRNMcWAhja1LS6tkWzLWKBXTP+B CbarT2y7bzq8Q13BaFO91VSp5PT2oD0XBTut3F0v0KtKoanCOeLyd6C0S7sYRwB+cjQX Bdya04r55Pukjk+e7guDcvNWet7oJxaXjq6WKBxyKOmQI7AhZLg/nEOtxFKvennVqmq8 VXGjUfpi1HyO3anyn1xt6WKJbcEAYGHgvrGOoi+BD3KLtgtbK7wk8wKXzCaRzctkBjTH 6pIg== X-Gm-Message-State: ALQs6tB6Earg8ci2X8eROB5nRQwsJkSeprydjVllE4Dxl72uaA4Il45S ZhqMaCylUV7kl1LgQVZjD98lKsNIzkzmvbqjqg== X-Received: by 2002:a2e:5c8:: with SMTP id 191-v6mr6471629ljf.136.1525019322019; Sun, 29 Apr 2018 09:28:42 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:510d:0:0:0:0:0 with HTTP; Sun, 29 Apr 2018 09:28:11 -0700 (PDT) In-Reply-To: <1525018605-22302-1-git-send-email-linux@roeck-us.net> References: <1525018605-22302-1-git-send-email-linux@roeck-us.net> From: Gabriel C Date: Sun, 29 Apr 2018 18:28:11 +0200 Message-ID: Subject: Re: [PATCH] hwmon: (k10temp) Add support for Stoney Ridge and Bristol Ridge CPUs To: Guenter Roeck Cc: Clemens Ladisch , linux-hwmon@vger.kernel.org, LKML , Brian Woods Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-04-29 18:16 GMT+02:00 Guenter Roeck : > Add support for Stoney Ridge and Bristol Ridge (Family 15h Model 0x70) > CPUs. Registers match those of Family 15h Model 0x60. > > Signed-off-by: Guenter Roeck > --- > drivers/hwmon/k10temp.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c > index 34b5448b00be..f014e03eee5a 100644 > --- a/drivers/hwmon/k10temp.c > +++ b/drivers/hwmon/k10temp.c > @@ -36,6 +36,10 @@ MODULE_PARM_DESC(force, "force loading on processors with erratum 319"); > /* Provide lock for writing to NB_SMU_IND_ADDR */ > static DEFINE_MUTEX(nb_smu_ind_mutex); > > +#ifndef PCI_DEVICE_ID_AMD_15H_M70H_NB_F3 > +#define PCI_DEVICE_ID_AMD_15H_M70H_NB_F3 0x15b3 > +#endif > + > #ifndef PCI_DEVICE_ID_AMD_17H_DF_F3 > #define PCI_DEVICE_ID_AMD_17H_DF_F3 0x1463 > #endif > @@ -319,6 +323,7 @@ static const struct pci_device_id k10temp_id_table[] = { > { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_M10H_F3) }, > { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_M30H_NB_F3) }, > { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_M60H_NB_F3) }, > + { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_M70H_NB_F3) }, > { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_16H_NB_F3) }, > { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_16H_M30H_NB_F3) }, > { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_DF_F3) }, > -- > 2.7.4 > Is working fine for me on an A6-9220 APU. Tested-by: Gabriel Craciunescu Regards