Received: by 10.192.165.148 with SMTP id m20csp2894524imm; Sun, 29 Apr 2018 09:17:20 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqX+xC1WFuoshutedwq74Sa6RPL4MvInNbej7ve07hT97d4jZoMJbUcZJaArVyc40PhxrBG X-Received: by 2002:a17:902:7149:: with SMTP id u9-v6mr9525662plm.356.1525018639982; Sun, 29 Apr 2018 09:17:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525018639; cv=none; d=google.com; s=arc-20160816; b=wUpJiUCWeK4kN0p7iC5vAOC26HIEOLo4E+OOZNeIBWOkfj1YVcEXJnds289QGa3Wy6 fEJa/SAG0/hdYkkaAaAKAjjG48bQcmmMlwdaR5JLUiGr/SPuUkigr/MrPW82KJdt4NkZ R6R8vB5sIV9WOcZAFusGHIF9jWoyBWczqjF//K7kMgkdm7BIZetF7lQL0BhOIKWvBe/B Lv9NVVFFBW5GUG6GlYV/pi9R6IgdDVoZ3tkOM2LM+fnrlMNcl2CNL79n3hFFk5vMTijQ KlMRMZnf3Nbl5uEsTGZZOrzVEtCu+dh1kXzkFES4Qs7h9CWJHdMFyq3Gtk1f7BxsUjtR j9WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=WdcxpkD4WT16wAFE/qae+dSvnGagiJLFCOUru97os/A=; b=S8a9h/Bc+PjzgrTpjVc6YRllKlDaju3go4PUOddI+qQznF4sgpVPMZA+B8k4TTaIQU WiU2LXzTiF3KCE+pTlWerqzsT7xcn9+G85sUeowNoFm7Ipk/Rt//jAuKLbj7NisvQvn+ PKQtZSxhPB2zF/vplUF5+towg1sB6JYe2D7Zbdy9Dr7kPI16EnmmtTDAKGrpGsyh823t DfxFnTChpixl3/yqq9N9urmpULUO86ifaz8h29nxuT3nE6uuBAmQL8MPlDM+8R7HPcUw Ad2xiEWLh4j2mKqz8wQwvLeaXJzeUeZ/Okm/wPjR8tAhEkmT7n0I6K6FGWg0ifSowCZS AIcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@roeck-us.net header.s=default header.b=mr4Wk89k; 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 b66-v6si6029446plb.107.2018.04.29.09.17.05; Sun, 29 Apr 2018 09:17:19 -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=fail header.i=@roeck-us.net header.s=default header.b=mr4Wk89k; 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 S1753855AbeD2QQw (ORCPT + 99 others); Sun, 29 Apr 2018 12:16:52 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:47099 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753752AbeD2QQu (ORCPT ); Sun, 29 Apr 2018 12:16:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=Message-Id:Date:Subject:Cc:To:From:Sender: Reply-To:MIME-Version:Content-Type: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=WdcxpkD4WT16wAFE/qae+dSvnGagiJLFCOUru97os/A=; b=mr4Wk89kXFifKcokC58DcqzYyd dSVj3SngTBL/kku3vvIzjxYl4p1dGskpl0yqeNU/pQ6D/ddM/17u3UhpQFQJUrek6LlryqifU9Olz Fp1OU3UX1f6VUtUD2cfaw0N5w5rbIM43DB8+SzlalsAyJxzSNlms2TTZeWdPvABFgvArAO/glcEpV IWeP9l6t1mapEdWBq8CKHrLqneDp4+4QQchmeN4OFVW/epaglLJcpDLisDVi0pbDN1N+Iw6b512w7 KuRbtfuCogB3mlFHBuPHClxw3omMY6Sq2DUDJkGwcl+VsX7R1+OVDnLrev52bWXXSmMm2FYzRCA/f eA8RThwQ==; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:59790 helo=localhost) by bh-25.webhostbox.net with esmtpa (Exim 4.89) (envelope-from ) id 1fCp0L-000OxX-J6; Sun, 29 Apr 2018 16:16:49 +0000 From: Guenter Roeck To: Clemens Ladisch Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, Brian Woods , Gabriel C , Guenter Roeck Subject: [PATCH] hwmon: (k10temp) Add support for Stoney Ridge and Bristol Ridge CPUs Date: Sun, 29 Apr 2018 09:16:45 -0700 Message-Id: <1525018605-22302-1-git-send-email-linux@roeck-us.net> X-Mailer: git-send-email 2.7.4 X-Authenticated_sender: guenter@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: guenter@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: guenter@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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