Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp270297rwd; Mon, 12 Jun 2023 13:17:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6u/MDGfz9syCH7dAt/Ft0AC0sjZrE3LkwBmdbBZEh4c5iLTekeQ8FJUzAc4yn6i4eLb7a9 X-Received: by 2002:a05:6a20:8f24:b0:119:d964:54f9 with SMTP id b36-20020a056a208f2400b00119d96454f9mr10684605pzk.37.1686601036771; Mon, 12 Jun 2023 13:17:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686601036; cv=none; d=google.com; s=arc-20160816; b=Ay/dT0xuMZth7+YDPjOgPMk6MVixth+Ht6ITpwr8dEm4uv0VJO9rHZFBo620L5HNBi DMZzEcXb0fOh5nWMxeglwQ1LCPhyZ4rUFW8vgwVGwywhYvPnVzNu21coSM4ZuDD8nL4y TUk/IUyztmlXWo7YcSkz4aN9XK3C/OcYVBCfluztxwnRAXk7L+wjlP+vuzxHtOJBV6zo WbyNTA5W587xBxo6fx74HOYUdkuXz+Fy3xRR0jds4JxaDg1x1XfWtvq8bWFFFqfLyEzC WAuFw1UVj0d6sI7zYlHZF4Fm31dJ9wvLVgqFtJIWlACDwgezYkzgJqbKcSciS+i1v3zy xBWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:date:to:cc:from:subject:references :in-reply-to:content-transfer-encoding:mime-version:message-id :dkim-signature; bh=ypv+gyJwNwSUgPETR4NAO9nAIr4u13bdnbf1twzQM5U=; b=xXiq9iLSjtvddiXW5FAJ1E51RAs3cohOkl66rfgR8U5zZWFvjNBwrsdeu21RCKDYOj an8gR9ZCDXDFYddE0M6dVELqg5bafErxDizLw3IWnZ3dAfawgF62EuavpCCvwjr/DOST XkBWK6u+Ps2K13z4GrmcozKMjdGGxXeUl3g/v6j27p2pRytHdDDGOw3P7I7Tzk9IqWfN VUq8chiuzWOBPsSOYtQZY3WJujAB1l3gTCpsPo5+a3RxrQQOCASC7cm8ONo+q4i6EtPr HTO2GPn/YeSBZfZePCskTV5aekj4EzbpIsF+k2HfGNVc+OkdGn1bdfoKAA/b3lZTMz/o g4lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bT+ELkhv; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g193-20020a636bca000000b00543b4433aa8si3751322pgc.513.2023.06.12.13.17.04; Mon, 12 Jun 2023 13:17:16 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bT+ELkhv; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236030AbjFLTlQ (ORCPT + 99 others); Mon, 12 Jun 2023 15:41:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229716AbjFLTlO (ORCPT ); Mon, 12 Jun 2023 15:41:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2CF1E3; Mon, 12 Jun 2023 12:41:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8EB2662A34; Mon, 12 Jun 2023 19:41:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CFD92C433D2; Mon, 12 Jun 2023 19:41:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686598872; bh=ypv+gyJwNwSUgPETR4NAO9nAIr4u13bdnbf1twzQM5U=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=bT+ELkhv4EygXW2ziAy5/A+P59C7eybbx9f4V1tMSpxgIaS72KfFmjWiAySCqgSDN A7EcOgZjWttjdVn8AQJ5mTPi+/AQ8w3y9yJkG8foeu1jLkmpF/8+OiRdorR8DEZmHS zWTDTNFDM9EI9zATgzXTPMVdjh2YePkkUeDY4vuh7dtEDPpXx10j1WIy+VoGH/uhMR RmKIBCTys9bNNXSzxCQ4AicdIkVjq14H4sFXCW6g5mgWPVLgJGWS3VXQS3z1IbgnKY UnELHXTvroXG5Wu78JvLbJ1OzZQpZFj5uo0NKC1Mzy+thEbHLTr8xfrRQnLQ56xFkR tlEZAYJJEAAAw== Message-ID: <92f2e7260dd017154cbe5bc5590742a3.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20230526-topic-smd_icc-v3-5-5fb7d39b874f@linaro.org> References: <20230526-topic-smd_icc-v3-0-5fb7d39b874f@linaro.org> <20230526-topic-smd_icc-v3-5-5fb7d39b874f@linaro.org> Subject: Re: [PATCH v3 05/23] soc: qcom: smd-rpm: Move icc_smd_rpm registration to clk-smd-rpm From: Stephen Boyd Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, Konrad Dybcio , Stephan Gerhold To: Andy Gross , Bjorn Andersson , Conor Dooley , Evan Green , Georgi Djakov , Konrad Dybcio , Krzysztof Kozlowski , Leo Yan , Michael Turquette , Rob Herring Date: Mon, 12 Jun 2023 12:41:10 -0700 User-Agent: alot/0.10 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Quoting Konrad Dybcio (2023-06-12 11:24:22) > From: Stephan Gerhold >=20 > icc_smd_rpm will do bus clock votes itself rather than taking the > unnecessary detour through the clock subsystem. However, it can only > do that after the clocks have been handed off and scaling has been > enabled in the RPM in clk-smd-rpm. >=20 > Move the icc_smd_rpm registration from smd-rpm.c to clk-smd-rpm.c > to avoid any possible races. icc_smd_rpm gets the driver data from > the smd-rpm device, so still register the platform device on the > smd-rpm parent device. >=20 > Signed-off-by: Stephan Gerhold > [Konrad: remove unrelated cleanups] > Signed-off-by: Konrad Dybcio > --- Acked-by: Stephen Boyd