Re: [PATCH v3 01/10] clk: Add Kunit tests for rate

2022-01-21 Thread Stephen Boyd
Quoting Daniel Latypov (2022-01-20 21:25:03) > On Thu, Jan 20, 2022 at 8:34 PM Stephen Boyd wrote: > > > > Quoting Daniel Latypov (2022-01-20 13:56:39) > > > On Thu, Jan 20, 2022 at 1:31 PM Stephen Boyd wrote: > > > KUnit doesn't have hard technical limitations in this regard. > > > > > > You

Re: [PATCH v3 01/10] clk: Add Kunit tests for rate

2022-01-20 Thread Stephen Boyd
Quoting Daniel Latypov (2022-01-20 13:56:39) > On Thu, Jan 20, 2022 at 1:31 PM Stephen Boyd wrote: > > I was thinking this would be more generic so that one file tests clk.c > > and all the code in there, but I guess there may be config dependencies > > like CONFIG_OF that we may want to extract

Re: [PATCH v3 01/10] clk: Add Kunit tests for rate

2022-01-20 Thread Stephen Boyd
Quoting Maxime Ripard (2022-01-20 06:34:08) > Let's test various parts of the rate-related clock API with the kunit > testing framework. > > Cc: kunit-...@googlegroups.com > Suggested-by: Stephen Boyd > Signed-off-by: Maxime Ripard > --- This is great! Thanks for doing this. >

[PATCH v3 01/10] clk: Add Kunit tests for rate

2022-01-20 Thread Maxime Ripard
Let's test various parts of the rate-related clock API with the kunit testing framework. Cc: kunit-...@googlegroups.com Suggested-by: Stephen Boyd Signed-off-by: Maxime Ripard --- drivers/clk/Kconfig | 7 + drivers/clk/Makefile| 1 + drivers/clk/clk-rate-test.c | 278