lkml.org 
[lkml]   [2023]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] clk: kunit: Fix the lockdep warnings
Date
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>

\
 
 \ /
  Last update: 2023-07-21 09:10    [W:0.124 / U:1.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site