Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp171443ybl; Thu, 23 Jan 2020 21:00:29 -0800 (PST) X-Google-Smtp-Source: APXvYqz+CwzkOvyOCk6MetGEzMpiGnIVjGn5lYLjG234w94/PFajhyT+qEf9B+L8sktHqVRD6Fls X-Received: by 2002:a9d:6745:: with SMTP id w5mr1477280otm.52.1579842028994; Thu, 23 Jan 2020 21:00:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579842028; cv=none; d=google.com; s=arc-20160816; b=yCgJ0n+dbhp5y0lfgl96glZabIDTB6r3kPuBoTrSQzVFsgXWyG2mX+RVpcfy3l0X/k tNW4pwMcnONi8m0swuUVhiuH+SNIaQ/t7AvOuhF9Rckgwq5JncniE21Nj3snNGloxAA9 qD5GpQOGg5vMUOZxI+huSa/fI3Vc2kZhHT/tbBBJMnBQ8KSaRTQ44szHHp+LTpo/UvP6 NmaNxM9nzTGgCiyQbtZnr/9IrqaSzvWAr3649ibW53FxljDBPnZx4yjehoM8Qvb4vrbs AlM6HjL1B3aB9mmIG7GA0fL4rRgofnUkgvPWtArN2R6yo8BhVryEjkkJOt4N1lhWjzer 3uUQ== 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; bh=+yNIg/fNH7fj0+LMHt+OynbzsULIsDrVWuMrkX06UAo=; b=bj3ikVzu4l4C3qhJAJ4i1+yEw0ZG0fNNllU0dNB0e4CRQs8EIkvKlkzWANFha4Zg8r RyIZrmQHB5UH9blzPeQNeAI3IXyxv1jgHp5Xxkmb3gjmNpAq6hJGDpE3UHL5E4atsBDm lj2PtLGCwZYyZiYREoJLM/qRL9092sCr5k7edshQl/sxxPdRu3PsCG3KJu5KbMJ7nRsk vHCYT/yOsinIiUxCQMANTFmIAqq9QIyPJ8eb7/uOsry3lVgPOqiUwuGuoblfgVY0PqGg d+f10OR4XJsYs+HXRMCyqXve28V9BZRPqIMF2mJv98iailpRLHJBYxwfXG9JF9D/ebus v9rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=UQCqQLsM; 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 x186si1887229oig.209.2020.01.23.21.00.16; Thu, 23 Jan 2020 21:00:28 -0800 (PST) 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=UQCqQLsM; 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 S1729900AbgAXErh (ORCPT + 99 others); Thu, 23 Jan 2020 23:47:37 -0500 Received: from mail-pj1-f67.google.com ([209.85.216.67]:36514 "EHLO mail-pj1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729497AbgAXErh (ORCPT ); Thu, 23 Jan 2020 23:47:37 -0500 Received: by mail-pj1-f67.google.com with SMTP id gv17so255648pjb.1; Thu, 23 Jan 2020 20:47:36 -0800 (PST) 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=+yNIg/fNH7fj0+LMHt+OynbzsULIsDrVWuMrkX06UAo=; b=UQCqQLsM7YneywJvqhmHP90qigtji1VVlPwoTx47i4pqJwd16HQov9t/YhECEoe/Tn 1ST+36lATC5qNOen9gvU+swLSLTffbeCWhXoxmPJtXxyglHwX6E43nKESsuLrHod3ASD mHxGQV0QFG9F5qa/CJiv4OXIe4I54Ow7YRurz1aJ6ePlLO37eM1D1oLRsV6zWTVD4xKj ZH+rdgIPKsEJ5/0j0/Nu7NdXZ83Y1INVgPUyniSVICjkmxqFYIbkVw45k0Ov+9iprpXc rR+Z99q89ES5GgFISVrhrZ4PxDijcJRvgFWtPBQacXUq+hgugA11CNNXl2MdYjzidZIq rRag== 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=+yNIg/fNH7fj0+LMHt+OynbzsULIsDrVWuMrkX06UAo=; b=c1PHC/WOsaLtNaSDvaLou8F9VBoBlzTYIW7NFzX/jel8AKbha5Z+jUq8ZXdqN2W14s Pd92sPDBwcxJ+GwxjZDVakwOpndQSSb/jLe2LQaCZJfjq+hPtaB2yFzkSbHCaF3FhRwW eb45L+gDsiK2qUT3LAD/4GfCkKJZpLoKM70E8zjbfCfS0DXdHKTLQ3iCZ2nxo2LdL/3t k56qmMjzfpMF+y1pZ7FbZIxgswC7FSLg2252I6Q8os38Ky41de2FN16RGoa8q/GaQlfv TkPzqxjIzJPk87P+2GP91gbKDVUtQKqX+IQOxojtCcdHA3Jc+mIhFehIDhazdJdfarG7 wYzw== X-Gm-Message-State: APjAAAX7bG3lQGjTa4gEARK3dwrhYsfoYEyc1MtVGE0fLycx9i5NqRPo FmU9sQKK2TziSwV2sMtE5Jlx4ow6 X-Received: by 2002:a17:902:59cd:: with SMTP id d13mr1745420plj.146.1579841255481; Thu, 23 Jan 2020 20:47:35 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id z16sm4293566pff.125.2020.01.23.20.47.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Jan 2020 20:47:34 -0800 (PST) Subject: Re: [PATCH v4 6/6] hwmon: (k10temp) Add debugfs support To: Ken Moffat Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, Clemens Ladisch , Jean Delvare , Brad Campbell , =?UTF-8?Q?Ondrej_=c4=8cerman?= , Bernhard Gebetsberger , Holger Kiehl , Michael Larabel , Jonathan McDowell , Sebastian Reichel , Darren Salt References: <20200122160800.12560-1-linux@roeck-us.net> <20200122160800.12560-7-linux@roeck-us.net> From: Guenter Roeck Message-ID: Date: Thu, 23 Jan 2020 20:47:32 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 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 Hi Ken, On 1/23/20 4:01 PM, Ken Moffat wrote: > Hi Guenter, > Thanks a lot for the additional information. The following is interesting. > -0x059960: 00000000 08400001 00004623 00000039 > +0x059960: 00000000 08400001 00008241 00000045 The last two blocks also temperatures. In the AMD thermal code, we find definitions for CG_MULT_THERMAL_STATUS and CG_THERMAL_RANGE. The first consists of 2 x 9 bit (0x23 and 0x43 above for idle and under load), the second is just a value. On Zen2, the address for those values is 20 higher (0x05997c instead of 0x059968), but the numbers are pretty much the same. The AMD thermal code reads those values for some graphics chips and displays it directly in degrees C. I am just not sure what exactly it represents. I see those temperatures on 3900X as well. Actually, it looks like all chips report them, including server chips, so it is not the graphics temperature. But it is definitely worth keeping an eye on it; maybe someone can figure out what it is. > Hope this is not a waste of your time. No, it is definitely worth it. It will give me data to work with in the future. > Would you like similar for the 2500u ? > Yes, that would be great. Thanks, Guenter