Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp551550ybt; Wed, 17 Jun 2020 07:56:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuihm1/Mb9wlESyyD/DBRf18eQUvNlRgSKZnOrzTlzDmgr+gwvGNjL17qTFC3bFHVlok/b X-Received: by 2002:a17:906:434f:: with SMTP id z15mr7669620ejm.178.1592405808026; Wed, 17 Jun 2020 07:56:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592405808; cv=none; d=google.com; s=arc-20160816; b=D9VnRwtwJBiumqPfnymjEpbdoyP3mEt2eJRLhd2Qyyws4WyIU2T1ilaDNzgLOYR858 IojMOT+OKnZT3W9He7xNBkRSughC+fT6fp3yQvc8Aa5wS77x+L7P1E/t1+Zn8Hyvu/ea bPOq8Bo+X0bW3ieeccgsLXtztjVRQgfCoW00fCFwEjWoq4SUwCRCNisWV17HsKrUjWQe e5aAvi7zyevGaH29PpgNE/K0b6pZz9RBR7Lw+xvhYqtDnsri6faqegCbzBOoVIfqyjXf 4/wiLOpHBBmJ5MvQukHZLo9h+X7y63DJ+8DLVbKHIeApWK7AwOaBip8AKvPUBIBoU5Yj kicg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=dY6LHbdz7YWOxube6mfdODN/vyvX38ug6P3S9iy+LoU=; b=lVDjwiR3TjGBXtmm780lDjWxJNixNtogPiiUmNIRYFWzJfvkgFxHZ969ttisd8NBCg BzrZF4k0nZ2q0y6a6yFxlTcot33hoW9XtN+j/XAHsbYdIebbLsWTB867/7MfuGCK97iT fl6/rqvGog4Ky9tHCKdADGAix/lHoobjZJpxAtvu5UGbW1q8oJCviKYalLV8U/2TBy6K OkDQcvhsoWXNU3MRZ7YBkAvOT04jQxacmmyeDVK8QCmIwBS2pqHcZoFrKcfZx5h9T0dO FuKQdHygx4gWdz62Az1VtplbDZrSHjVKAb0KbyD8IcgkOGSFC00PMFLwKYlgIBAYjuXr sgEg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ispras.ru Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qh14si61814ejb.259.2020.06.17.07.56.25; Wed, 17 Jun 2020 07:56:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ispras.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726815AbgFQOyk (ORCPT + 99 others); Wed, 17 Jun 2020 10:54:40 -0400 Received: from winnie.ispras.ru ([83.149.199.91]:11871 "EHLO smtp.ispras.ru" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726494AbgFQOyj (ORCPT ); Wed, 17 Jun 2020 10:54:39 -0400 Received: from monopod.intra.ispras.ru (monopod.intra.ispras.ru [10.10.3.121]) by smtp.ispras.ru (Postfix) with ESMTP id 735F8203BF; Wed, 17 Jun 2020 17:54:36 +0300 (MSK) Date: Wed, 17 Jun 2020 17:54:36 +0300 (MSK) From: Alexander Monakov To: Jacky Hu cc: Guenter Roeck , 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 In-Reply-To: <20200617071927.GA398128@i716> Message-ID: References: <20200616180940.GN13515@zn.tnic> <20200617013255.391975-1-hengqing.hu@gmail.com> <20200617034028.GA1614@roeck-us.net> <20200617071927.GA398128@i716> User-Agent: Alpine 2.20.13 (LNX 116 2015-12-14) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I've already said in my patch submission (which was Cc'ed to LKML, linux-edac and linux-hwmon so you should have been able to find it): >> It appears SMU offsets for reading current/voltage and CCD temperature >> have changed for this generation (reads from currently used offsets >> yield zeros), so those features cannot be enabled so trivially. In https://github.com/FlyGoat/ryzen_nb_smu/issues/3 there some reverse-engineered info that indicates that for Renoir, SMU region has been moved to 0x6F000. Its layout also changed, as far as I can tell. (also, please ask yourself if you want to offer the maintainers an apology) Alexander