From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 45435FA3741 for ; Mon, 31 Oct 2022 14:05:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=v3jCBDX87AVVjQMHtQ0jvN3hlsQk9zRbfcjQNK2PxYI=; b=QQkTQ0O/O7wKcB tAgb9z/S2+saY6K7chTonJ+HDkw7DK6iE8sqAxFzgvLnFe2NfbdFnuTh5ANIVqPwtzmZ0EVvj4nuM wL9z/Et8f1VL9BZGbHz6XR0bLmwPexwr5gKO3iVPuhpwEUOqUSRskHcrUXyRkmwrWxg6TDKr4JpmB SjcSI+Z+KAUczfVC8iKdxCiEPjp9czA3Fmfhzoicuf4NzxASIfyDgcrVwZYJqa2tmsS1iHBZheHIY Xo7VG//DO+i4ps+6pwLVIAPI0R3XrP4yid7JBQ/3HlkkGxRwuOdMxNul9pksgvEwRxzf2BqXI//as cG7ubcfZISmn9WW4ZQnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1opVPH-00CCK0-Uu; Mon, 31 Oct 2022 14:04:52 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1opVPF-00CCIe-5Y for linux-arm-kernel@lists.infradead.org; Mon, 31 Oct 2022 14:04:50 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2F9581FB; Mon, 31 Oct 2022 07:04:54 -0700 (PDT) Received: from bogus (unknown [10.57.6.137]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B20653F5A1; Mon, 31 Oct 2022 07:04:46 -0700 (PDT) Date: Mon, 31 Oct 2022 14:04:17 +0000 From: Sudeep Holla To: Guenter Roeck Cc: Cristian Marussi , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Daniel Lezcano , linux-hwmon@vger.kernel.org Subject: Re: [PATCH v2 7/8] hwmon: (scmi) Register explicitly with Thermal Framework Message-ID: <20221031140417.sn6xeypj3624tjtu@bogus> References: <7acc7a49-debb-abdb-f01c-f8adef4c1f0e@roeck-us.net> <20221031114018.59048-1-cristian.marussi@arm.com> <20221031132523.mfp7d5esk5hohldk@bogus> <20221031140021.GB948107@roeck-us.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221031140021.GB948107@roeck-us.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221031_070449_273894_61D571D1 X-CRM114-Status: GOOD ( 23.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Oct 31, 2022 at 07:00:21AM -0700, Guenter Roeck wrote: > On Mon, Oct 31, 2022 at 01:25:23PM +0000, Sudeep Holla wrote: > > On Mon, Oct 31, 2022 at 11:40:18AM +0000, Cristian Marussi wrote: > > > Available sensors are enumerated and reported by the SCMI platform server > > > using a 16bit identification number; not all such sensors are of a type > > > supported by hwmon subsystem and, among the supported ones, only a subset > > > could be temperature sensors that have to be registered with the Thermal > > > Framework. > > > Potential clashes between hwmon channels indexes and the underlying real > > > sensors IDs do not play well with the hwmon<-->thermal bridge automatic > > > registration routines and could need a sensible number of fake dummy > > > sensors to be made up in order to keep indexes and IDs in sync. > > > > > > Avoid to use the hwmon<-->thermal bridge dropping the HWMON_C_REGISTER_TZ > > > attribute and instead explicit register temperature sensors directly with > > > the Thermal Framework. > > > > > > > Hi Guenter, > > > > FWIW from scmi perspective, > > > > Acked-by: Sudeep Holla > > > > I was about to ask for your ack to pickup myself but I see there is no > > strict dependency for that. Not sure if you want to take this as fix for > > v6.1 as the thermal changes broke the existing support in SCMI hwmon > > or do you still prefer v6.2 ? > > > > It is a regression and should be applied to 6.1. I'll pick it up and send > a pull request to Linus later this week. Indeed, thanks for the confirmation. -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel