Received: by 10.192.165.148 with SMTP id m20csp2905632imm; Sun, 29 Apr 2018 09:31:17 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqqnkw2k04ECw4KAGHmPcBWw9anCWYECtKHTxuPvsGoMSdx1BcldWG9A3KQq7gbUNtYZzz8 X-Received: by 2002:a17:902:a586:: with SMTP id az6-v6mr9667463plb.210.1525019477203; Sun, 29 Apr 2018 09:31:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525019477; cv=none; d=google.com; s=arc-20160816; b=S/lSW2fpm0c9mS+12fF0pJoFuj/pqu2leGfGN5ZT9oo5ytlfnrynZ8PbnI/bcE5gQ/ 3Kn06vdggKWi4q0q3O8P+aO0ci7ipuhlfMDb1pAcUT/NS6pZSWlDVZo6OTKfqiopVp74 rGE1Lw4SNAZlEmaG22Ftu3UVEhpqU/mv1ZZ8QfV0/UGzGQwP+GncHED69aH1ECRyODbx WqMoMQtBzP4Ou7W5rQTg0dzCEmVYm8MoG7GCK1kU3Q2Fu5615nqDLGUqMBeF5cpWX4Ti 6bVVCBeZ/D1mv+M0cfqmXm6QXnC+/0Qt6KdxuNGBLHcxjbj5U9Jeqeb8eZe84takA+hi R/nw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=/lYBdlkT+kny7NmmNgIzOlrDrKJEEZAx+vIkLVEk0kw=; b=d5/MQuw4Z4udDcz9WQ+BfVMl9x3iFsvcO7fRW/El6m7DxV828iRWRbMW4vt109hMMG bcXAqk3O0ymgyk/WSHgTGn9AqibYzkSjV/yKV2c2q+vMQztkbsTXey8QVEK+H/FHWj9W v5NYaiyVcdyFAVtHZJmbxDgdsmzyFr+iBnENn6gceGl70rlBIFgO/1rDicSNf0n0Y8ds LM3Osus5PJscbLioayyd8j9NjlHRW0BCDgvqfUYmBhBgUiSV4W3fblPz38Byeq9L0jdf sJ0K/OuQwWlW1DUNZflKQNT/jnG41w/c4VMQCfXy/Gq45GxUwSf4Yd3Tqg4rVcZzs2ZI E03Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=rEUIBVKL; 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 x10-v6si4893646pgo.58.2018.04.29.09.31.02; Sun, 29 Apr 2018 09:31:17 -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=@gmail.com header.s=20161025 header.b=rEUIBVKL; 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 S1753908AbeD2Qab (ORCPT + 99 others); Sun, 29 Apr 2018 12:30:31 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:35546 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753553AbeD2Qa3 (ORCPT ); Sun, 29 Apr 2018 12:30:29 -0400 Received: by mail-pg0-f65.google.com with SMTP id j11-v6so4773165pgf.2; Sun, 29 Apr 2018 09:30:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=/lYBdlkT+kny7NmmNgIzOlrDrKJEEZAx+vIkLVEk0kw=; b=rEUIBVKLLUox6az/duqJLoVx84OLeOii13xyR7Suy3Q8HTZtTod2Ra8whG+Q9JQORk InLHo+L0YO16AvLqIsDI2aMXPzY86VxtJR6EU3YBZgNBnOlOGEFjGXwaayLKh2lQjNn3 nf1a8tgf76OIPosWssD1rEhQ1OwJML/93c4HjES+JnFI1f2RlaCBZvHhGzJJkiiUxIjl 9rn07kqP6nzrcTY2V7pU+GnxhrNDHOdPPI2KPFSipNt5RNJVFwp3SrM0jWCRzazPj6g8 jSFp8SFswC512vRkHc1Tp8xJXibCEHaK+CDTO8i/KoMdMSYHOY6CFVGAEdvtojnpgpgn g48Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=/lYBdlkT+kny7NmmNgIzOlrDrKJEEZAx+vIkLVEk0kw=; b=Z7hr+nRoOLelYsdlMfqEly1gEkFjFGiC47+QFcQq95z9TqCMnnTvUCGXYs/6Pa0Wel GLvuzfrcU7qi3u3i+vx4J8ZRfI2KlY3l1EchsyPjjskB9+e/KqVPApH9c4SYq4y9TlQT s46mk/BztNm4Epr3ZxZPPg3O1tUbAjGCXLPPH7egFO+EP9tzSpMmdDNXkZ+cwSAAr8Dg /FMcgv57fZiUJTEvq8FzlsOgKeZIPdMlZ8fhX8dRE2MEh7rzMrzK+m5kDGrSYAaSXmyt KoA/uDdLd8QUz5ngmC/pPI/G1X5QJP0VRLryuzbIOhjh+XiwM/uKJXJ99c2S5DkjYZM3 kmbg== X-Gm-Message-State: ALQs6tCxl5/cPFBJGey49AikK1do2NJBkCUd8ycmc/UY2yK86uGm5eDF dQXv1GVSx5TiEMDJ3DnHFXo= X-Received: by 2002:a63:84c6:: with SMTP id k189-v6mr7679625pgd.298.1525019429012; Sun, 29 Apr 2018 09:30:29 -0700 (PDT) Received: from server.roeck-us.net (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by smtp.gmail.com with ESMTPSA id 206sm10115520pfy.51.2018.04.29.09.30.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 09:30:28 -0700 (PDT) Subject: Re: [PATCH] hwmon: (k10temp) Add support for Stoney Ridge and Bristol Ridge CPUs To: Gabriel C Cc: Clemens Ladisch , linux-hwmon@vger.kernel.org, LKML , Brian Woods References: <1525018605-22302-1-git-send-email-linux@roeck-us.net> From: Guenter Roeck Message-ID: <1787a000-15d8-1477-a3b8-9ac9840fc575@roeck-us.net> Date: Sun, 29 Apr 2018 09:30:27 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/29/2018 09:28 AM, Gabriel C wrote: > 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 > Thanks again! Guenter