Messages in this thread | | | Date | Fri, 21 Jul 2023 09:16:04 -0700 | From | Guenter Roeck <> | Subject | Re: [PATCH 0/2] clk: kunit: Fix the lockdep warnings |
| |
On Fri, Jul 21, 2023 at 09:09:31AM +0200, Maxime Ripard wrote: > 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,
The series fixes the problem for me. I sent Tested-by: tags for both patches individually.
Thanks, Guenter
> 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> >
| |