linux-edac.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jacky Hu <hengqing.hu@gmail.com>
To: Guenter Roeck <linux@roeck-us.net>
Cc: linux-hwmon@vger.kernel.org, linux-edac@vger.kernel.org,
	linux-kernel@vger.kernel.org, tony.luck@intel.com,
	x86@kernel.org, yazen.ghannam@amd.com, bp@alien8.de,
	clemens@ladisch.de
Subject: Re: [PATCH] hwmon: (k10temp) Add AMD family 17h model 60h probe
Date: Wed, 17 Jun 2020 22:55:45 +0800	[thread overview]
Message-ID: <20200617145545.GA405542@i716> (raw)
In-Reply-To: <20200617143342.GD93431@roeck-us.net>

Yep, here it is

~> cat thm.idle
0x059800: 29a00fef 017f1201 00012921 000f4240
0x059810: 800000f9 00000000 00000000 00000000
0x059820: 00000000 00000000 00000000 0fff0078
0x059830: 00000000 002cecf9 002cecf9 002d2cfb
0x059840: 002cccf8 002cacf7 002d2cfb 002cccf8
0x059850: 002d2cfb 002c8cf6 002cccf8 002cacf7
0x059860: 002cacf7 002cecf9 002c8cf6 002d0cfa
0x059870: 002d2cfb 002d0cfa 002d0cfa 002cacf7
0x059880: 002cecf9 002d0cfa 002cecf9 002cacf7
0x059890: 002cccf8 002c6cf5 002d2cfb 002c8cf6
0x0598a0: 002c8cf6 002cccf8 002cacf7 002cccf8
0x0598b0: 002c8cf6 00000000 00002100 ffffffff
0x0598c0: 00000000 00000000 00000000 00000000
0x0598d0: 00000000 00000000 00000000 00000000
0x0598e0: 00000000 00000000 00000000 00000000
0x0598f0: 00000000 00000000 00000000 00000000
0x059900: 00000000 00000000 00000000 00000000
0x059910: 00000000 00000000 00000000 00000000
0x059920: 00000000 00000000 00000000 00000000
0x059930: 00000000 00000000 00000000 00000000
0x059940: 00000000 00000000 00000000 00000000
0x059950: 00000000 00000000 00000000 00000000
0x059960: 00000000 00000000 00000000 00000000
0x059970: 00000000 00000000 08400001 00005229
0x059980: 00000053 a7800005 3118680e 00000000
0x059990: 00000000 00000000 00000000 00000000
0x0599a0: 00000000 00000000 00000000 00000000
0x0599b0: 00000000 00000000 00000000 00000000
0x0599c0: 00000000 00000000 00000000 00000000
0x0599d0: 00000000 00003060 000002d4 00000019
0x0599e0: 000002c6 00000008 00000000 00000000
0x0599f0: 000002d4 00000019 00000000 00000000
0x059a00: 00000001 0001000d 00000000 00000000
0x059a10: 00000000 00000000 00000000 00000000
0x059a20: 00000000 00000000 00000000 00000000
0x059a30: 00000000 00000000 00000000 00000000
0x059a40: 00000000 00000000 00000000 00000000
0x059a50: 00000000 00000000 00000000 00000000
0x059a60: 00000000 00000000 00000000 00000000
0x059a70: 00000000 00000000 00000000 00000000
0x059a80: 00000000 00000000 00000000 00000000
0x059a90: 00000000 00000000 00000000 00000000
0x059aa0: 00000000 00000000 00000000 00000000
0x059ab0: 00000000 00000000 00000000 00000000
0x059ac0: 00000000 00000000 00000000 00000000
0x059ad0: 00000000 00000000 00000000 00000000
0x059ae0: 00000000 00000000 00000000 00000000
0x059af0: 00000000 00000000 00000000 00000000
0x059b00: 00000000 00000000 00000000 00000000
0x059b10: 0000000e 00000000 00000003 00000000
0x059b20: 901f001a 00050003 00000000 00000000
0x059b30: 00480001 00000000 00000000 00000000
0x059b40: 00000000 00000000 00000010 0000ffff
0x059b50: 00000000 00000000 00000000 00000000
0x059b60: 00000000 00000000 00000000 00000000
0x059b70: 00000000 00000000 00000000 00130082
0x059b80: 0000067f 12110201 0003045a 00001303
0x059b90: 00000000 028a4f5c 08036927 0021e548
0x059ba0: 00000000 7fffffff 00000000 00000043
0x059bb0: c00001c0 000000f9 00000000 00000000
0x059bc0: 00000000 00000000 00000000 00000000
0x059bd0: 00000000 00000000 00000000 00000000
0x059be0: 00000000 00000000 00000000 00000000
0x059bf0: 00000000 00000000 00000000 00000000

~> cat thm.busy
0x059800: 57800fef 017f1201 00012921 000f4240
0x059810: 800000f9 00000000 00000000 00000000
0x059820: 00000000 00000000 00000000 0fff0078
0x059830: 00000000 00372d4d 0042edad 003f6d90
0x059840: 00416da1 003e0d85 00392d5d 003bad72
0x059850: 00394d5e 003acd6b 00382d55 00348d37
0x059860: 0033ad30 0033cd31 0033cd31 00336d2e
0x059870: 00338d2f 0043edb5 00402d97 00440db6
0x059880: 0040ed9d 0039ed63 003c4d77 0039ed63
0x059890: 003c2d76 003a0d65 00338d2f 00334d2d
0x0598a0: 0033ad30 00342d34 00344d35 0037cd52
0x0598b0: 0035ed43 00000000 00002100 ffffffff
0x0598c0: 00000000 00000000 00000000 00000000
0x0598d0: 00000000 00000000 00000000 00000000
0x0598e0: 00000000 00000000 00000000 00000000
0x0598f0: 00000000 00000000 00000000 00000000
0x059900: 00000000 00000000 00000000 00000000
0x059910: 00000000 00000000 00000000 00000000
0x059920: 00000000 00000000 00000000 00000000
0x059930: 00000000 00000000 00000000 00000000
0x059940: 00000000 00000000 00000000 00000000
0x059950: 00000000 00000000 00000000 00000000
0x059960: 00000000 00000000 00000000 00000000
0x059970: 00000000 00000000 08400001 0000ae57
0x059980: 0000005b a7800005 3118680e 00000000
0x059990: 00000000 00000000 00000000 00000000
0x0599a0: 00000000 00000000 00000000 00000000
0x0599b0: 00000000 00000000 00000000 00000000
0x0599c0: 00000000 00000000 00000000 00000000
0x0599d0: 00000000 00003060 00000440 00000012
0x0599e0: 00000334 0000001a 00000000 00000000
0x0599f0: 00000440 00000012 00000000 00000000
0x059a00: 00000001 0001000d 00000000 00000000
0x059a10: 00000000 00000000 00000000 00000000
0x059a20: 00000000 00000000 00000000 00000000
0x059a30: 00000000 00000000 00000000 00000000
0x059a40: 00000000 00000000 00000000 00000000
0x059a50: 00000000 00000000 00000000 00000000
0x059a60: 00000000 00000000 00000000 00000000
0x059a70: 00000000 00000000 00000000 00000000
0x059a80: 00000000 00000000 00000000 00000000
0x059a90: 00000000 00000000 00000000 00000000
0x059aa0: 00000000 00000000 00000000 00000000
0x059ab0: 00000000 00000000 00000000 00000000
0x059ac0: 00000000 00000000 00000000 00000000
0x059ad0: 00000000 00000000 00000000 00000000
0x059ae0: 00000000 00000000 00000000 00000000
0x059af0: 00000000 00000000 00000000 00000000
0x059b00: 00000000 00000000 00000000 00000000
0x059b10: 0000000e 00000000 00000003 00000000
0x059b20: 901f001a 00050003 00000000 00000000
0x059b30: 00480001 00000000 00000000 00000000
0x059b40: 00000000 00000000 00000010 0000ffff
0x059b50: 00000000 00000000 00000000 00000000
0x059b60: 00000000 00000000 00000000 00000000
0x059b70: 00000000 00000000 00000000 00130082
0x059b80: 0000067f 12110201 0003045a 00001303
0x059b90: 00000000 028a4f5c 08036927 0021e548
0x059ba0: 00000000 7fffffff 00000000 00000043
0x059bb0: c00001c0 000000f9 00000000 00000000
0x059bc0: 00000000 00000000 00000000 00000000
0x059bd0: 00000000 00000000 00000000 00000000
0x059be0: 00000000 00000000 00000000 00000000
0x059bf0: 00000000 00000000 00000000 00000000

Jacky
On Wed, Jun 17, 2020 at 07:33:42AM -0700, Guenter Roeck wrote:
> On Wed, Jun 17, 2020 at 03:19:27PM +0800, Jacky Hu wrote:
> > Hi Guenter,
> > 
> > By increasing the regs count from 32 to 256 and looking into the output of `cat /sys/kernel/debug/k10temp-0000\:00\:18.3/svi`
> > There is some data from 0x05a300 - 0x05a330
> > Do you have any idea how we can guess the offset for this model?
> > 
> 
> For other chips, the upper 16 bits of the register reported the voltage
> and the lower 16 bit reported the current. It might possibly be that the
> data is now split into multiple registers, but that is impossible to
> determine without datasheet and/or additional information. So, sorry,
> no, I have no idea. We'll have to wait for someone to reverse engineer
> it.
> 
> Can you send the contents of the "thm" file ? Maybe we can at least
> find the new location of the ccd temperature registers.
> 
> Guenter

  reply	other threads:[~2020-06-17 14:55 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-07  4:37 [PATCH 0/2] MCA and EDAC updates for AMD Family 17h, Model 60h Jacky Hu
2020-06-07  4:37 ` [PATCH 1/2] x86/amd_nb: Add Family 17h, Model 60h PCI IDs Jacky Hu
2020-06-16 18:08   ` Borislav Petkov
2020-06-07  4:37 ` [PATCH 2/2] EDAC/amd64: Add family ops for Family 17h Models 60h-6Fh Jacky Hu
2020-06-16 18:09   ` Borislav Petkov
2020-06-17  1:32     ` [PATCH] hwmon: (k10temp) Add AMD family 17h model 60h probe Jacky Hu
2020-06-17  3:40       ` Guenter Roeck
2020-06-17  7:19         ` Jacky Hu
2020-06-17 14:33           ` Guenter Roeck
2020-06-17 14:55             ` Jacky Hu [this message]
2020-06-17 14:54           ` Alexander Monakov
2020-06-17 15:07             ` Jacky Hu
2020-06-17 15:22               ` Borislav Petkov
2020-06-15 11:59 ` [PATCH 0/2] MCA and EDAC updates for AMD Family 17h, Model 60h Borislav Petkov
2020-06-15 15:01   ` Guenter Roeck
2020-06-16 14:35     ` Borislav Petkov
2020-06-16 14:46       ` Guenter Roeck
2020-06-16 14:55         ` Borislav Petkov
2020-06-16 14:11   ` Yazen Ghannam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200617145545.GA405542@i716 \
    --to=hengqing.hu@gmail.com \
    --cc=bp@alien8.de \
    --cc=clemens@ladisch.de \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=tony.luck@intel.com \
    --cc=x86@kernel.org \
    --cc=yazen.ghannam@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).