Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp2919559rdb; Wed, 6 Sep 2023 21:16:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEGYYJaboQ9HaHy6A0pdktvJGwRqtuzW6KtireotXunbF3XmYGpFERohR8oiptmj6zSmkH5 X-Received: by 2002:a05:6a00:1354:b0:68b:c605:988b with SMTP id k20-20020a056a00135400b0068bc605988bmr20653148pfu.30.1694060218016; Wed, 06 Sep 2023 21:16:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694060218; cv=none; d=google.com; s=arc-20160816; b=yQ6KO1EXgwj2x3weP5sp4t1U4o0+jPMMRRG4eANWEjYQweXTX0cZhEwm+OciAwWcQ+ ejo0pgXeSM/VHVsc3NZh33himzlduhnuqpIy3Vb1PxNNq0UKtiZ0sGGmgCeIFoPo/tjG j0i+H6yQ0ETFUlYR9mz/d5/DcSgkO3WvreP082gyEUT4/R8m3uxSTUtomoXDkSajwlxc h0UUv7nhTnN7SSeyn4dE0+HSFXgemo1HIgUh2If0v+LZ/FbU6gghrB7FSzcC622pUHjS 3hAjkrbrWBSS3Q/FPpEyt3rSFJh/w1y/UV0OVzizwAtQkD9phbfHFbKqdYt9YLeoc2Sd CCLw== 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=bu1NpQnLhEgqdsoh9IOlN15FakFJxHtRmZJxrjVakXI=; fh=03uHa4ahdZCMVh2QyrFwtyoA4juriRQe/L4+6d2mCJg=; b=JqDdniBWn3MpIGAFEtfPnFhanGKLzy7JGqGFWO0K0hg+qtdCQJ+bywM6uRz8r2JoYh 81GBmyzwFdwkRg5oPg/+gw+XNl8KNCjU5uc62UiFjmdGxuoT1rudnZzfp1ue4tE9W6g9 mzIoIC00ma1praG3vZK/oNNAYPxEtkll+VI/Fk+onaVVbARpuZIThpDL8BcG1QVUeqbR 3TSCuuIjEX/y1c4N15OnxhE2ltykkb+YXi2otO5ccpkTOOhB81+KEq3nAr3+cUlHsboq pFsk7gjLdjGDI2bzpiCNAXR8fPVhsJESCM5Dy4c8pWshiJGeQrxa4q4ikdOeEBNTBMct Dv9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R0+kqOva; 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 q4-20020a056a00150400b0068a557febfcsi12872254pfu.111.2023.09.06.21.16.54; Wed, 06 Sep 2023 21:16:57 -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=R0+kqOva; 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 S243774AbjIFVib (ORCPT + 24 others); 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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 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