From patchwork Tue Sep 12 17:55:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 13382010 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 80294EE3F00 for ; Tue, 12 Sep 2023 17:55:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235776AbjILRzj (ORCPT ); Tue, 12 Sep 2023 13:55:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231665AbjILRzj (ORCPT ); Tue, 12 Sep 2023 13:55:39 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEA3110D3; Tue, 12 Sep 2023 10:55:35 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22A31C433C8; Tue, 12 Sep 2023 17:55:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694541335; bh=rrwYR3/rqDwXPIcEZV4/pnPLM7oE/aWqYDmNh+JXXaA=; h=From:To:Cc:Subject:Date:From; b=mboLiXQHP0KBMCCt14sMYW/+pIam/h/U7/xcobZ6lEqrEw993BhQD+cDrERdJRs4R Cz+Opgs5wXVQEPUMxCKIRZYuZ+EzImcwDVA9bhEsz9u9atUquoxR2HEhAmit5Do77P 24YFu98YvPZJBvw1q+1LhYX/Le/pLGO/TOmqEBVQe904avvh1nKq17kOi9F2TAYOv6 0AM10A9qEStnIGYJldEHDyhR1zqeesqNsYeMRisrJ5gSJX6bYjdkvz/8uaD0si/SF+ QKOvPCgr+SbkEq41pqpgohXL1FsDCuQeH54aitsYYStDkOVVxbz0RlpSediS2EB5c2 EatiPcArOHtLA== From: Stephen Boyd To: Michael Turquette , Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, patches@lists.linux.dev, Guenter Roeck , Maxime Ripard Subject: [PATCH 0/2] clk: Fix lockdep warnings in clk_test Date: Tue, 12 Sep 2023 10:55:29 -0700 Message-ID: <20230912175534.2427862-1-sboyd@kernel.org> X-Mailer: git-send-email 2.42.0.283.g2d96d420d3-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org This is a replacement for the series from Maxime[1]. I didn't want to introduce more wrappers, so this series takes the approach of driving the test from a clk_op instead. The second patch extends the test to look at more determine_rate variants. We can probably extend the test further to set or not set the CLK_SET_RATE_PARENT flag as well but I didn't do that. Stephen Boyd (2): clk: Drive clk_leaf_mux_set_rate_parent test from clk_ops clk: Parameterize clk_leaf_mux_set_rate_parent drivers/clk/clk_test.c | 130 +++++++++++++++++++++++++++++++++++------ 1 file changed, 113 insertions(+), 17 deletions(-) Cc: Guenter Roeck Cc: Maxime Ripard [1] https://lore.kernel.org/r/20230721-clk-fix-kunit-lockdep-v1-0-32cdba4c8fc1@kernel.org base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d Acked-by: Maxime Ripard