Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2663384imm; Sat, 9 Jun 2018 22:15:05 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKpWweGldK+bDhokdQ/ANJXgBkzpYqK+wiRfBiB/OEjoUN7E16YOwpHZSsab1p/FbY5ZkqV X-Received: by 2002:a63:7f51:: with SMTP id p17-v6mr10510702pgn.36.1528607705193; Sat, 09 Jun 2018 22:15:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528607705; cv=none; d=google.com; s=arc-20160816; b=b2VmidnEOgGP5cdKFdY/KUBrkQg7UffUbQTqSCbvkEgFBGdOodp49JPa1PHa41O45f eOxuS30Uwm9kv93wLYPNfJQgR0XfegMGxWDugQJAAramdiaEFxXAsiVFbt8gO4lsb25H MHVCCb2DSyrYZuuXPEP0u3ivAdhqifbX/H2GpPeiclhwOORGbcGDNF0o1r1sx3GeQKDq Z9mr49cIU2s7l5tBdEAbYV8VS0/26RGKgF7C4dTnunLNqN5ZwBQFSTD70kMKq1ue3s22 Rm4eeqi/BzrUDaVFeJMUTpCZz5HV21V1aHENgdv7muZoj0vme6k8jB8+T8HpL8wNSDut IGMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=VEATabDMIveFi8k9HprtUk61xp7OPIOwzHaa5//qwQ4=; b=E2cbLbjC1OFquXotn2f1+7N37T4ECFfAAj6yb0BhujH0KCh3Zz1g7HRJjhiQXOqrzR h3XZwu2hUCRiBQTQilIT7yQNzssgoGCd4pAg4GvzN35OqLx3EEBfliqrJm9fmBds7ebg g6HFyDZsi7Cft3mxviZpm6Tfpb0ezB0isX0CDymErIZZEQtQwAFoy27FSUn2yj66Z1JS EVK4hOZy9FR0KUZ9ahBgaxZKHmvKy6rbI5BGB6PI/QTPIzefbw0dN182+zuKvEY+4mYl pXgEDKW5O0W22TSciHo15a3rVH4r4m684RQkjHnM+JICNVEzVoavN7Ur3p7wEKhjblmE zdUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@roeck-us.net header.s=default header.b=YvHCDTvk; 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 y16-v6si18129177pfl.11.2018.06.09.22.14.50; Sat, 09 Jun 2018 22:15:05 -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=YvHCDTvk; 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 S1753700AbeFJFOX (ORCPT + 99 others); Sun, 10 Jun 2018 01:14:23 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:43728 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753529AbeFJFOW (ORCPT ); Sun, 10 Jun 2018 01:14:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=In-Reply-To:Content-Type:MIME-Version:References :Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VEATabDMIveFi8k9HprtUk61xp7OPIOwzHaa5//qwQ4=; b=YvHCDTvkdZkFSlb9Rnqh2MyU1K o3dLb+iy1rPnSla6smzy6+uYveCyxvftXysMh+kN5C6eWr66mDtZZRrkxT26UVhqtio8jaHAEe6aC C+DC7PK/Hi5X9PIJbxhAHGWtGMy3XJpv1iiNBc/Oyo9H0eFO57fTWDDhr7/Mpone/ot34FKbc5niE LMGJsUsJ/7vqmZndBYO6sL5GCkk3I7ZtRvnmMKV02xppjL7MRTCTyS+XbdMv0zFtUhkthdFJ39Gtz sVFaPMZRTNRnxqOUi90D3SHKMjCBJm6be9UQ13Ve69bmfzuf/83g/xIp65IB3obg6tTw33qEmy4hV 8kmnx3BQ==; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:54612 helo=localhost) by bh-25.webhostbox.net with esmtpa (Exim 4.89) (envelope-from ) id 1fRsgH-00Fumz-Bz; Sun, 10 Jun 2018 05:14:21 +0000 Date: Sat, 9 Jun 2018 22:14:20 -0700 From: Guenter Roeck To: Kai-Heng Feng Cc: Chris Ouellet , linux-hwmon@vger.kernel.org, Linux Kernel Mailing List Subject: Re: Ryzen 2700 Temperature offset? Message-ID: <20180610051420.GA22601@roeck-us.net> References: <20180607154915.GA7061@roeck-us.net> <54EAD835-C48D-4751-9BFF-71536241129A@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54EAD835-C48D-4751-9BFF-71536241129A@canonical.com> User-Agent: Mutt/1.5.24 (2015-08-30) 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 On Sun, Jun 10, 2018 at 03:03:47AM +0800, Kai-Heng Feng wrote: > at 23:49, Guenter Roeck wrote: > > >On Thu, Jun 07, 2018 at 11:03:13AM +0800, Kai Heng Feng wrote: > >>Hi Guenter, > >> > >>A user thinks the Ryzen 2700 temperature may not be correct [1]. > >>Can you take a look when you have time? Thanks. > >> > >>Also, where can I find all these temperature offsets? I googled but with > >>no > >>result. > >Problem is that the offsets are not documented in public, making it > >difficult to find out. For Ryzen 2700, there is currently no offset > >configured; I was told that there is none. For Ryzen 2700X, the offset > >is 10 degrees C. > > I am still quite interesting where you get this information... > Primarily lots of online research. Windows tools usually support the offsets, so screendumps help in some cases. > > > >>[1] https://bugs.launchpad.net/bugs/1774817 > > > >The key here is the commit mentioned in the log (1b59788979acd). It does > >not only adjust the per-CPU offset, but also takes a configurable offset > >of 49 degrees C into account. You'll need to apply that patch in your > >kernel, or the temperature may be off by 49 degrees C. > > So unless AMD shares these offsets value, we can never know what correct > offsets are? > Unfortunately that is correct. AFAIK the information is available from AMD under NDA. I can not sign such an NDA, and even if I could and would, I could not use the information in an open source driver. Kind of a loose-loose situation. If you (Canonical) have any influence at AMD, it might be useful to let them know that their policy is not very helpful. Guenter > Kai-Heng > > > > >Hope this helps. If not, please let me know. Note that I am travelling; > >responses may be delayed. > > > >Guenter > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html