Re: [PATCH RFC v5 2/4] clk: test: introduce test suite for sibling rate changes on a divider
From: Brian Masney
Date: Mon Mar 09 2026 - 06:32:37 EST
On Fri, Mar 6, 2026 at 6:23 PM Brian Masney <bmasney@xxxxxxxxxx> wrote:
> Introduce a test suite that creates a parent with two divider-only
> children, and add kunit tests that document the current behavior when a
> sibling clk can unknowingly change the rate of another clk. Some boards
> are unknowingly dependent on this behavior, and per discussions at the
> 2025 Linux Plumbers Conference in Tokyo, we can't break the existing
> behavior. So let's add kunit tests with the current behavior so that
> we can be made aware if that functionality changes in the future.
>
> Link: https://lore.kernel.org/linux-clk/aUSWU7UymULCXOeF@xxxxxxxxxx/
> Link: https://lpc.events/event/19/contributions/2152/
> Signed-off-by: Brian Masney <bmasney@xxxxxxxxxx>
If anyone tries to test this, then you'll also need to apply this
series from me that includes units.h in clk-test.c.
https://lore.kernel.org/linux-clk/20260304-clk-docs-v1-0-fee468db99f1@xxxxxxxxxx/
I forgot to mark that as a dependency in b4.
Brian