[PATCH 0/2] clk: Fix lockdep warnings in clk_test

From: Stephen Boyd
Date: Tue Sep 12 2023 - 13:55:37 EST


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@xxxxxxxxxxxx>
Cc: Maxime Ripard <mripard@xxxxxxxxxx>

[1] https://lore.kernel.org/r/20230721-clk-fix-kunit-lockdep-v1-0-32cdba4c8fc1@xxxxxxxxxx

base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d
--
https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/
https://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git