From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 929EB3E47B; Fri, 27 Mar 2026 14:08:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774620497; cv=none; b=Y0FG7bOSjfnc6TGOMaUpl0AIG/kdsSbzXaCrPRqBXn0gjNl3WTll2dTMnHzdf9gfT/Y77giGxYNsF4ZBddMQAOnI30pfc3h/FIaD5VMZ5i1uwPnqNQIPxAqveZTqPv5CKC7FUTgJjUyGmh5ISJZ+Hs0MYegK5S93T7sKOZPWq3Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774620497; c=relaxed/simple; bh=HnA8ETQsgDpcCUdlQEWuDSTcbCCm9Lo2nX4QA+IIB+M=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Q3bExaZOM6KkR7fbmvTuwCZMjWbEI40AquvJFE25x14kCp3IiMirRiXincUxQ1ZmWnasfdjZ5uFoRUdBGHINQ0TnwYjoSa1Ob7MbiTSGEQisvCRDITI589T/5ee3bLjQ0HJIuyMArdFnzfyYITUDe5kahHui354BTwLMIO7tAJI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bThLEwDW; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bThLEwDW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AF114C19423; Fri, 27 Mar 2026 14:08:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774620497; bh=HnA8ETQsgDpcCUdlQEWuDSTcbCCm9Lo2nX4QA+IIB+M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bThLEwDWxgNDwYwAUpK4euQFxyy6s30djwOPHg8CLRrwx8XemW+6yE2nxcz55n49t bZYvqrMtw59+8oP+7vTFMxuPvONXl1MrmvhoPcc48hDP61ChnC+xS7zRB6RnkBIot3 1gPbziHw8p6Q8qcziqWU9DtuN7ZvI1Vq5FFfG2RdVRGmQDP8WOFvwC1SKkmsJPF671 oLGdi+rBzVkijgN83HL+9RmZSSXK7YJt0yHpFrd0Bi0MMH7IePhqtzrsSk9CcL4CfY QnXgYTdbPgatIgsR0N/5F3LUKVuBPQ44Oj3fA2NFxpfe38Q1I5zGeAqxhwDWgFdqlU pxcfoVaIsOMpw== Date: Fri, 27 Mar 2026 15:08:09 +0100 From: Lorenzo Pieralisi To: Bartosz Golaszewski Cc: Shivendra Pratap , Florian Fainelli , Krzysztof Kozlowski , Dmitry Baryshkov , Mukesh Ojha , Andre Draszik , Kathiravan Thirumoorthy , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Srinivas Kandagatla , Arnd Bergmann , Bjorn Andersson , Sebastian Reichel , Rob Herring , Souvik Chakravarty , Krzysztof Kozlowski , Andy Yan , Matthias Brugger , Mark Rutland , Conor Dooley , Konrad Dybcio , John Stultz , Moritz Fischer , Sudeep Holla Subject: Re: [PATCH v20 06/10] power: reset: Add psci-reboot-mode driver Message-ID: References: <20260304-arm-psci-system_reset2-vendor-reboots-v20-0-cf7d346b8372@oss.qualcomm.com> <20260304-arm-psci-system_reset2-vendor-reboots-v20-6-cf7d346b8372@oss.qualcomm.com> <1f75b250-c3b5-45da-bc82-aeadf44dfea4@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Fri, Mar 06, 2026 at 02:32:46PM +0100, Bartosz Golaszewski wrote: > On Thu, Mar 5, 2026 at 6:07 PM Shivendra Pratap > wrote: > > > > > > > > You should pass the address of this function in faux_device_ops instead of > > > calling it directly. > > > > In last patch, we were using a probe function. As faux_device_create, > > calls the probe from its internal operations, "of_node" can only be > > assigned from inside of faux device probe. > > > > As our primary requirement is to assign reboot-mode of_node to the faux > > device, thought to make it this way. (As we did not want to assign it > > inside the faux device probe). > > > > TBH This sounds like a limitation of the faux device API. I'll Cc you > on a patch proposing to extend it with the ability of using a firmware > node to describe the device. If it works for you, you can integrate it > into your series and use it. What's the status on this matter ? Thanks, Lorenzo