mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Maxime Ripard <mripard@kernel.org>
To: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>
Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org,
	Maxime Ripard <mripard@kernel.org>,
	Guenter Roeck <linux@roeck-us.net>,
	kernel test robot <yujie.liu@intel.com>
Subject: [PATCH 0/2] clk: kunit: Fix the lockdep warnings
Date: Fri, 21 Jul 2023 09:09:31 +0200	[thread overview]
Message-ID: <20230721-clk-fix-kunit-lockdep-v1-0-32cdba4c8fc1@kernel.org> (raw)

Hi,

Here's a small series to address the lockdep warning we have when
running the clk kunit tests with lockdep enabled.

For the record, it can be tested with:

$ ./tools/testing/kunit/kunit.py run \
    --kunitconfig=drivers/clk \
    --cross_compile aarch64-linux-gnu- --arch arm64 \
    --kconfig_add CONFIG_DEBUG_KERNEL=y \
    --kconfig_add CONFIG_PROVE_LOCKING=y

Let me know what you think,
Maxime

Signed-off-by: Maxime Ripard <mripard@kernel.org>
---
Maxime Ripard (2):
      clk: Introduce kunit wrapper around clk_hw_init_rate_request
      clk: Introduce kunit wrapper around __clk_determine_rate

 drivers/clk/clk.c            | 51 ++++++++++++++++++++++++++++++++++++++++++++
 drivers/clk/clk_test.c       |  4 ++--
 include/linux/clk-provider.h | 21 ++++++++++++++++++
 3 files changed, 74 insertions(+), 2 deletions(-)
---
base-commit: c58c49dd89324b18a812762a2bfa5a0458e4f252
change-id: 20230721-clk-fix-kunit-lockdep-c5e62b221118

Best regards,
-- 
Maxime Ripard <mripard@kernel.org>


             reply	other threads:[~2023-07-21  7:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-21  7:09 Maxime Ripard [this message]
2023-07-21  7:09 ` [PATCH 1/2] clk: Introduce kunit wrapper around clk_hw_init_rate_request Maxime Ripard
2023-07-21 16:14   ` Guenter Roeck
2023-07-21  7:09 ` [PATCH 2/2] clk: Introduce kunit wrapper around __clk_determine_rate Maxime Ripard
2023-07-21 16:15   ` Guenter Roeck
2023-07-21 16:16 ` [PATCH 0/2] clk: kunit: Fix the lockdep warnings Guenter Roeck
2023-08-09 23:21 ` Stephen Boyd
2023-08-10  0:02   ` Guenter Roeck
2023-08-10  1:37   ` Stephen Boyd
2023-08-21 11:16     ` Maxime Ripard
2023-08-23 19:50       ` Stephen Boyd
2023-08-24  9:56         ` Maxime Ripard
2023-09-12  0:53           ` Stephen Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230721-clk-fix-kunit-lockdep-v1-0-32cdba4c8fc1@kernel.org \
    --to=mripard@kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=mturquette@baylibre.com \
    --cc=sboyd@kernel.org \
    --cc=yujie.liu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®