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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8C53CEE14C3 for ; Wed, 6 Sep 2023 21:38:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Date:To:Cc:From:Subject:References: In-Reply-To:MIME-Version:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6eVm0OqaMMy2g6XBxzGhTEhvIIJVqMquFQBlDnh0f1E=; b=l3r2gPFJIIpnNM +855Z+3zbOS1YtcyItDj3f+whItA3C0gLZh/C3RFZdyrz82DxbpNt40Fxn9E8vd+uWJy3Dh6pU2bd O1YG1Yo3Qx997stKpMIbadAIEUFtcc5iC/ogDj68w+ohzub5uN7uKHwNv53sWWCm15RxEhYCw92cJ twSM4JQnwjrPQGzKtrdexZmR74081+pfB6leXUYKfStFK5P7X1J6sJUFrpIuDTBVXty/H2eQ5Bypk R75rd8VANv7sspY2MdVXfaKMFdnm530YTZM0s9OnR/xm0fvOtHTPfSYWrPsXF96EyjA46hPcuJMtN kgPRrhbnJ6XcjCaFh4/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qe0EM-00AvGL-0a; Wed, 06 Sep 2023 21:38:34 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qe0EJ-00AvFY-0Q for linux-arm-kernel@lists.infradead.org; Wed, 06 Sep 2023 21:38:32 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 83BA9CE1767; Wed, 6 Sep 2023 21:38:28 +0000 (UTC) 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: MIME-Version: 1.0 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230906_143831_427223_1E4F0E84 X-CRM114-Status: GOOD ( 10.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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. > > 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. > > 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. > > No functional change. > > CC: Michael Turquette > CC: Stephen Boyd > CC: linux-clk@vger.kernel.org > Signed-off-by: Cristian Marussi > --- Acked-by: Stephen Boyd _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel