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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B8888EE14D6 for ; Wed, 6 Sep 2023 21:38:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244185AbjIFVib (ORCPT ); Wed, 6 Sep 2023 17:38:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230441AbjIFVia (ORCPT ); Wed, 6 Sep 2023 17:38:30 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C3EA19A0; Wed, 6 Sep 2023 14:38:27 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7171C433C8; Wed, 6 Sep 2023 21:38:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694036306; bh=bu1NpQnLhEgqdsoh9IOlN15FakFJxHtRmZJxrjVakXI=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=R0+kqOvaYUzY3SAQz2/8kfr/+dEpczdp5gxy6P02U+UKQutIAMb+WBKYHF+i0Si/5 8RLovYT9ErpRNAl+bm48t3kdsyVilNgwuZ7EMZ+ikAI77h4m7/Gak/2wsbmlmkujr3 Dfm8+WDfuc4dw++QiIPwqcNMCegS22PojtR3SuEvaAkAAhCfVV2towiLwDosbAx2Im +hLJ56DQzCvKEHHWdARHNS0lAGeC8SQp3RjzX8/Rw9oOPISXvFG70d5bK39lE5rhgM GIg3eY/AcI51+INH77Cg2lafYK5ihRrAeKuxMz3HIx0bn3etntU2CH2yWDehj1Ylu8 Y/2Pzsc6nFkCA== Message-ID: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20230826125308.462328-2-cristian.marussi@arm.com> References: <20230826125308.462328-1-cristian.marussi@arm.com> <20230826125308.462328-2-cristian.marussi@arm.com> Subject: Re: [PATCH v2 1/6] firmware: arm_scmi: Simplify enable/disable Clock operations From: Stephen Boyd Cc: sudeep.holla@arm.com, james.quinlan@broadcom.com, f.fainelli@gmail.com, vincent.guittot@linaro.org, etienne.carriere@foss.st.com, peng.fan@oss.nxp.com, chuck.cannon@nxp.com, souvik.chakravarty@arm.com, nicola.mazzucato@arm.com, Cristian Marussi , Michael Turquette , linux-clk@vger.kernel.org To: Cristian Marussi , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Date: Wed, 06 Sep 2023 14:38:24 -0700 User-Agent: alot/0.10 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Cristian Marussi (2023-08-26 05:53:03) > SCMI Clock enable/disable operations come in 2 different flavours which > simply just differ in how the underlying SCMI transactions is carried on: > atomic or not. >=20 > Currently we expose such SCMI operations through 2 distinctly named > wrappers, that, in turn, are wrapped into another couple of similarly and > distinctly named callbacks inside SCMI Clock driver user. >=20 > Reduce the churn of duplicated wrappers by adding a param to SCMI Clock > enable/disable operations to ask for atomic operation while removing the > _atomic version of such operations. >=20 > No functional change. >=20 > CC: Michael Turquette > CC: Stephen Boyd > CC: linux-clk@vger.kernel.org > Signed-off-by: Cristian Marussi > --- Acked-by: Stephen Boyd