Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp769013rwi; Mon, 31 Oct 2022 07:21:55 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5yHwzmysdFqIR3Ifez3PiMKexSjPdMVuPbwWiT6vfiAwXNr+QNZq0ALKGF5LT0SqL7siiE X-Received: by 2002:a05:6a00:3698:b0:56d:3180:e88f with SMTP id dw24-20020a056a00369800b0056d3180e88fmr11071084pfb.66.1667226115474; Mon, 31 Oct 2022 07:21:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667226115; cv=none; d=google.com; s=arc-20160816; b=YBf3GMkEM3rXpzL/lxp42i6TKMWI6Wh36bmfDKadCz40fvecfe5+LCnjzGNZjT+Exn SAdutY+s7J9IqbbSN1EeyFwRT7EBsATcXrV/q/eqRTTIEcIpm3JZSlqHs4zBNUGyjBBA oDeyr3+3+2fmgTw+L4+NQx7ghgPSy4/yEGnBXr/Oh0QQ/AmEFdhJVqi/2Iok5ZffMtRU 2vAmSUe5RIBIz1uCjrvVS1KCBcNCPtjyMMLRGftF61mbq7eiSeoZq9wRVKfJ/5cgBicM Oha5BoJhHQuNoawoMgi4uEf17+aOIeHEWoBY6pWT9mYO12q/E52+zGrGadcf/L13f9lf wiMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=/0jM/CTDnyvuPfFgER+eIBiVFxpLJ2c2Rm7pZeNfkHQ=; b=Eh5exCG1lLPXsmgxio1hY7+ogIQ3b1CdvIA6pE5uz6gLb9djSZ8qkQ601Cgh1lThDS uZD2BBEtda7OSHOdIrVt29rkrhJ4URa677p2JuNy6YK632lPtYiihfu09r2p7Mo9yMcc m+Nw3DXS6IaIzpML8ndy/V5kYBWJ2Q9VsK2k9yfciSKcVib3XJv6p5nqU8sGr+bmJRFB SXqbQnO4H54gkclZsgaqe0aMriWZapnXrTpjxxPPao6tx2qUJ2CLoWX1EYmDPIERxMXT SgjGT1oOI8nxgORWfAKfEK7mAhGSAErWb4fl/aL49eC/g2Ml7ITSIX7BNMSRX4Ld5BOn FWiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lt20-20020a17090b355400b0021328e7e073si7678764pjb.165.2022.10.31.07.21.40; Mon, 31 Oct 2022 07:21:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230472AbiJaOEv (ORCPT + 98 others); Mon, 31 Oct 2022 10:04:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230486AbiJaOEs (ORCPT ); Mon, 31 Oct 2022 10:04:48 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1CEC010B47; Mon, 31 Oct 2022 07:04:48 -0700 (PDT) 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221031140021.GB948107@roeck-us.net> X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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