From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A97F6606A32C for ; Fri, 4 Dec 2026 13:41:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=2+WVWJVi; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=sv5mkdpZ DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=92XysE0r0Lbi7tw4c1JKGg5Y5VblCXKcfV+hbODuyUI=; b=2+WVWJViiLqmjbEYnDuxQqTXuZ EXslbJ1h2cDMbbQPwxGq5Gn0vaXA0HUsS0d3Z4VrKd1JLLDUwwO1wvObr6NOzsU4YpAb7M6waqD0L hChNB3pbAtBH0raR1ohabX8Athnd+ZoXZuFAxEL1WHyi4+OPLDgAeXzjFIpW8NWSo2ofGMG6nbOhI +zV2SH2hWgKuzCW1TFXDcM21bPLx8SY6/w9gBjUVQ1lsoitASDFT0OQJ95lxlBDAIrukkOkyKRKY1 4/4cGRJeR0jtQDdFNCjEGUgrupn2aisCq8sDOg6I2yGTUSy/wS2gdyQOYdK4xVumnQJVsxXlNmPe0 E7H1a4YQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZTWz-00000000RC7-2bFV; Fri, 04 Dec 2026 13:40:57 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZTWs-00000000RAI-3CuR for linux-arm-kernel@lists.infradead.org; Fri, 04 Dec 2026 13:40:56 +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 F275114BF; Fri, 4 Dec 2026 05:40:46 -0800 (PST) Received: from pluto (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0679C3F632; Fri, 4 Dec 2026 05:40:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1796391649; bh=xhknuvvukk21LFxj7wjiMbBCyOSLjOVo6VEPDMDRtIo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sv5mkdpZTjwFmb7m5Z8nSgC87yXVpzsywhCrb7ZyqT5e+75Nd1QnPT73GnqiNhEnp VWpIliWfcMe63UkcnC11N7dS5GFLpL+LicgZjiDpOgKmd+ymG/6vn20HbAL1M43Yr+ XXPr/ONWK6DddD9Fa2T7ZLSIyCiyJ1+G1FRWR7WI= Date: Fri, 4 Dec 2026 13:40:44 +0000 From: Cristian Marussi To: Philip Radford Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, arm-scmi@vger.kernel.org, sudeep.holla@arm.com, cristian.marussi@arm.com, Sashiko Subject: Re: [PATCH v1 1/1] powercap: arm_scmi: Keep protocol ops private to each zone Message-ID: References: <20261202083635.619055-1-philip.radford@arm.com> <20261202083635.619055-2-philip.radford@arm.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261202083635.619055-2-philip.radford@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261204_054054_786418_DB60C488 X-CRM114-Status: UNSURE ( 7.60 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -4.4 (----) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-11.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Wed, Dec 02, 2026 at 08:36:35AM +0000, Philip Radford wrote: > Store the SCMI powercap protocol ops pointer in each registered zone > instead of a global scope. This avoids corruption for any previous > zones' callbacks upon failure of a new zone being probed. Hi, > > Reported-by: Sashiko > Closes: https://sashiko.dev/#/bug/linux-060984a3-ef4a-4e64-96d3-91788c93c300 > Fixes: b55eef5226b7 ("powercap: arm_scmi: Add SCMI Powercap based driver") > Signed-off-by: Philip Radford LGTM. Reviewed-by: Cristian Marussi Thanks, Cristian