Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5119299rwi; Mon, 17 Oct 2022 16:01:39 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5vX78OpOWF5yFpS9V5p0oerHi67ZvrHPrFVUXbcTF6YrG4aiff+8o7OYaEn2KOJCjHD5D+ X-Received: by 2002:a17:906:9bc3:b0:78d:816f:3743 with SMTP id de3-20020a1709069bc300b0078d816f3743mr44328ejc.380.1666047699659; Mon, 17 Oct 2022 16:01:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666047699; cv=none; d=google.com; s=arc-20160816; b=Ir2em/berRYw80Q0pCSSgJJtNFyaEBwqhOAG4D+0fyAZVabKmp/k/r0Vi77JCT7mwI Tzu/LjJP0d2K5R+kxRpwbvMv7CWFJMgjKPG2y/ux3vE9feAy+ZWKre07xYDIRQR9iY7i oDSbpNxxOT+FxcqHkFrMUJw8ri0qeDmt/5yvvrYIrYtE2kNsqM3g51AiN0YaMuuIjOHW vNEdHMwoyDM9B1UPYMy2A+dD9jo7mosGKxzwBRHOnNnDMM2zn1hqOaelrCFFnU8grMFu /o9KO1fBiwidImaJoi93yMHcH32+P1ZZ8NjNLGS0knfbdclBp9fll9OFt89VBC58mFja xwAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=/U/gO545RBVR+HFM3XRnoel9RE6TFHkBRw1SznKckn8=; b=ncYyk4Nb3RsSpuUJ3PrIoXtEH9vbzimbIwkZcdu6RCoCDqQWX051YuDhsjqFpqbg9o /9iPHqADEw12wyWwXnIOxl0aeKIx2QfQGHLhsZrj1etr2l18IChov850Xl7J7qYCTFp1 y3ikZiNayvdu5GFtOjV7OnjCOufx5xZjd6pGwy5auTqLtNKU1zaP2t4y9pwUo14xhBld DkC8IN/Nv0QtSdFBsssG4p+6nsN3CxNy4Fkg3LAE0b4fczdWrATM9Dkn7DssGTddU6iT AeD7lLquUcvPpnHru9LhrFrtef53UaL06/wBETa++ebaGPRG4AzUgmU3Xt2tC2q4Aumo X6Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lqE7NfKD; 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 e5-20020a170906844500b007836227b96fsi7919272ejy.888.2022.10.17.16.01.13; Mon, 17 Oct 2022 16:01:39 -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=lqE7NfKD; 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 S230308AbiJQWaZ (ORCPT + 99 others); Mon, 17 Oct 2022 18:30:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230304AbiJQWaN (ORCPT ); Mon, 17 Oct 2022 18:30:13 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0F8A7AC1B; Mon, 17 Oct 2022 15:30:02 -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 ams.source.kernel.org (Postfix) with ESMTPS id AC58DB81B35; Mon, 17 Oct 2022 22:28:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68A98C433C1; Mon, 17 Oct 2022 22:28:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666045733; bh=/U/gO545RBVR+HFM3XRnoel9RE6TFHkBRw1SznKckn8=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=lqE7NfKDNI1H+vDVy5cw0yQPzsYGZJOZjxvRqaacqI5G51ny1nRnL7mvOfwNSuNIQ bpsjGi0/UChpIBWgjgOpXvBryb77gHhWl2+ujojhGNsCfGnENCaJ52d/t3giH988dW 6hyWaSavh3R55Tsu0CIDS21jcXplDZtkoDgPpCxu5NzBGiCvx9p5M1jntUimZs31un 4Wx/ri62KsMBMW9uoX3MDOEKlIxhvMWkJzwesQWuWuy+m8nkYIpCqpGRpIRQHWFr0o dMibpgkgXsGVFk6pUl+jB5nVf+A6w05/u6SRoX1PDuiW0e3mY5M+DJHGFGeLy/xkSh yzt/8E47GrReQ== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: Subject: Re: [PATCH v4 2/4] clk: mxl: Remove redundant spinlocks From: Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-lgm-soc@maxlinear.com, Rahul Tanwar To: Rahul Tanwar , linux-clk@vger.kernel.org, mturquette@baylibre.com, yzhu@maxlinear.com Date: Mon, 17 Oct 2022 15:28:51 -0700 User-Agent: alot/0.10 Message-Id: <20221017222853.68A98C433C1@smtp.kernel.org> X-Spam-Status: No, score=-7.4 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 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 Rahul Tanwar (2022-10-12 23:48:31) > Patch 1/4 of this patch series switches from direct readl/writel > based register access to regmap based register access. Instead > of using direct readl/writel, regmap API's are used to read, write > & read-modify-write clk registers. Regmap API's already use their > own spinlocks to serialize the register accesses across multiple > cores in which case additional driver spinlocks becomes redundant. >=20 > Hence, remove redundant spinlocks from driver in this patch 2/4. >=20 > Reviewed-by: Yi xin Zhu > Signed-off-by: Rahul Tanwar > --- Applied to clk-next