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 EA743FA3741 for ; Mon, 31 Oct 2022 14:01:40 +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=Stzv3dPW2Lga0c7Hv5Sdy95nR3fGmT6/pmeI0QtG+3E=; b=CAMBM4UzM0wYto vhKqfBGki69A+Sy5MpzPwS+I5MZzDu9O9azi/0RDaZPtPIsTEzeraclnQ4je4HVo4HGwhbyzF1ANN BKEklGP3oD7ezYkc3bV6kgU9aneL7AJfF79Z3bXMG8+Lc6/mLfT7/oPkSsOgSB+w9+CB1J2E5OZ5N zZgE9ZiriXvsw5vnFi6+4KRcUrA/yPXyhA2Zt7szZ7YpoRpDbvQMmeCbaJZOOIMK3ptS0d1d8h3xL 5re2qmtCq5frJQuYkIqFmUdwbfkI7n2Yl8hOy7RBmYtSMOdGCv5oiEMa0ncWeRLPOgCs2L04Oe9EB gPYoZHRvAsiw76IAwtdA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1opVL3-00CBIT-16; Mon, 31 Oct 2022 14:00:29 +0000 Received: from mail-ot1-x331.google.com ([2607:f8b0:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1opVKz-00CBHG-TE for linux-arm-kernel@lists.infradead.org; Mon, 31 Oct 2022 14:00:27 +0000 Received: by mail-ot1-x331.google.com with SMTP id 16-20020a9d0490000000b0066938311495so6785545otm.4 for ; Mon, 31 Oct 2022 07:00:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=nX78Pz0Vg/0l+qunKn+yXk41tg6RQwkAu3sKfKR7H3I=; b=Px/n8IM4J7RfRRY+T6Q2LZF+5RX0xO/sh+r8BErlhfmEjt4sWNJUnzNF5Xe5+WEQZU 40W+UJcUTCNxoQArdD2MIxew01TpJXYcAGg8ujss9v5hQ9Lx7wJTLWuIhG81lm0MJSUe A4VgVpsOZXp5c9xcRpfpZU3pHJIAAh3QSO09xsWJbRc6sRuGlxS60Q8JKELsA7QPxe7L NBSs7++yGU50MPLH2XNaSpgK4WzI59krzaJlT0KZc3on3EbXbyvn8lG19Jxjumc6TPok CFNwdfwdklzLdFP6TBDfXxi81VErpdVzR67Y4bWU8Me888jMrjpZ3QzoI4QbWjD2e2XS Pftg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nX78Pz0Vg/0l+qunKn+yXk41tg6RQwkAu3sKfKR7H3I=; b=FtwdiIhTz0Qqwe1YARDxioaX2k5q0toizxyhd3OPPywkBiqJhSzJxvKrDhpLOYmv7V g+vdG1eqP7S5/J7Z+anCQUIvNkEX2LiIAIyHFuiED0PnXBY6DcMvLkvDDkotL4YYE2RP UVGoj1dXwi2wPgGkkSg20xb8AB2g5hUyto2t14U/fCdCM0nTCoiPn8I9s+YlB8Oxub7O PcepzwrKfwZNvIBgxiZkccLT2Serr1x6m2g100ypPKYEqCgdiyW7KabYG66wguJ+qff3 aXMjgTB5qoITwKRckOD4tM8JW9RycwqyIb33NpB3cI2N7r/JnNDDZZWrT4wlEUBZJiGT 3HoQ== X-Gm-Message-State: ACrzQf1v7vMYAlMXor+fhPeeqDCLCo9Txa/h13Bwb/iGJi2FVUYrR2Py FjRirJ0z/kemjxYbypIvyI4= X-Google-Smtp-Source: AMsMyM4frFeWE7yf6Fw6JkN8R+WGS7eT3XTx2n6blM1uU0uVpazW7WLBei+uCAl2xCgPNb2Nuj4H5Q== X-Received: by 2002:a9d:5911:0:b0:657:a6bd:372c with SMTP id t17-20020a9d5911000000b00657a6bd372cmr6835267oth.6.1667224823324; Mon, 31 Oct 2022 07:00:23 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id bb37-20020a056820162500b0049bd96ec131sm434116oob.8.2022.10.31.07.00.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Oct 2022 07:00:22 -0700 (PDT) Date: Mon, 31 Oct 2022 07:00:21 -0700 From: Guenter Roeck To: Sudeep Holla 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: <20221031140021.GB948107@roeck-us.net> References: <7acc7a49-debb-abdb-f01c-f8adef4c1f0e@roeck-us.net> <20221031114018.59048-1-cristian.marussi@arm.com> <20221031132523.mfp7d5esk5hohldk@bogus> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221031132523.mfp7d5esk5hohldk@bogus> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221031_070025_985492_F493A13C X-CRM114-Status: GOOD ( 20.59 ) 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 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. Thanks, Guenter _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel