[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230721-clk-fix-kunit-lockdep-v1-0-32cdba4c8fc1@kernel.org>
Date: Fri, 21 Jul 2023 09:09:31 +0200
From: Maxime Ripard <mripard@...nel.org>
To: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>
Cc: linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
Maxime Ripard <mripard@...nel.org>,
Guenter Roeck <linux@...ck-us.net>,
kernel test robot <yujie.liu@...el.com>
Subject: [PATCH 0/2] clk: kunit: Fix the lockdep warnings
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@...nel.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@...nel.org>
Powered by blists - more mailing lists