Message ID | 20230912175534.2427862-1-sboyd@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp584871vqx; Tue, 12 Sep 2023 11:02:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG+S6Ml/Fybw9rjzc+FaxujT9yqtQFtA0iW8waswNhR2YssU/qmX64urw1TBgFxMRU2HR77 X-Received: by 2002:a05:6a00:cc4:b0:68e:43ed:d30b with SMTP id b4-20020a056a000cc400b0068e43edd30bmr495594pfv.21.1694541725827; Tue, 12 Sep 2023 11:02:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694541725; cv=none; d=google.com; s=arc-20160816; b=AO4vKJd8srwSR6OXYvzMv6W1yQXCjzL6dHkMLcYnV7K1gP32yqouK32NpH2e9kUEie GRn8pNr7e0lf1BCq2IUTb3DcZI2xvIpLhwhOBAGMw9XTFYxJs5VVdUVurxjhdhu34HTe 9lR/7VWAa9fzz8Y92e3dq+MK15ufuSbK+PikTspp3B8irrSeEBedDppEZHH90MLNGxOD cAARKuul49CcNcUWxMrx8jEMRkGb0MPlwqkL1NybdgXlwTShEq58e4F6CgAii0kfkmS7 4n/Ti5vr2LnE0w+HEBlrwNtY3fx2pa0L3UA/gne+gNC1bSZ9sbgJjfTqACBNEynBFIQk /f3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=HKTz2zU4UyXGS1zpt3AMo8hmvoLiC7jZB4JYYPGm5po=; fh=ncZ9FZxYDSVz/grCh/WR+Eul+N2DK5wZHP60jyIas4A=; b=PPIs7C9tZpxHtEE5N34nKxtVGbX6IvJogEH/v4d2kQl2++ecTZywtQ7yX39YNGyFj4 e7wYx6ZVWdzAKiZAIUS6zwb0gZK0FhP7awq0V0M8C0rMHhbFlln5BwwWbXa8JCMzRuKr XUYbTBRyQAEdX6tQggGsRJM899wQ3rmBG1JauOPD2emRGblL+B1SLUO6FhGKt64HAOlq oaSNVH0ZMEVGZkpTdq0x3XhaPIpdoAb4p9T5gEmZqDjaC45BD1zAg5/sFYia+0gtmFD5 3F7NRMebv/nQb5kYP8P3OfHHdEYh0cSj1g9WUugLm0trJouL1NQRVdapbnmUwJlnNQXG TF2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mboLiXQH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id bu4-20020a056a00410400b0068be1f3cee4si8251842pfb.294.2023.09.12.11.02.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 11:02:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mboLiXQH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 122EC80C6156; Tue, 12 Sep 2023 10:55:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236852AbjILRzk (ORCPT <rfc822;pwkd43@gmail.com> + 36 others); Tue, 12 Sep 2023 13:55:40 -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 <rfc822;linux-kernel@vger.kernel.org>); 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 <sboyd@kernel.org> To: Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org> Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, patches@lists.linux.dev, Guenter Roeck <linux@roeck-us.net>, Maxime Ripard <mripard@kernel.org> 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 12 Sep 2023 10:55:52 -0700 (PDT) X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776855784831422811 X-GMAIL-MSGID: 1776855784831422811 |
Series |
clk: Fix lockdep warnings in clk_test
|
|
Message
Stephen Boyd
Sept. 12, 2023, 5:55 p.m. UTC
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 <linux@roeck-us.net> Cc: Maxime Ripard <mripard@kernel.org> [1] https://lore.kernel.org/r/20230721-clk-fix-kunit-lockdep-v1-0-32cdba4c8fc1@kernel.org base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d
Comments
On Tue, 12 Sep 2023 10:55:29 -0700, Stephen Boyd wrote: > 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 > > [ ... ] Acked-by: Maxime Ripard <mripard@kernel.org> Thanks! Maxime