diff options
author | Frank Oltmanns <frank@oltmanns.dev> | 2023-06-17 16:10:41 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2023-10-13 01:05:00 +0300 |
commit | 2790e2a33aa9e0710354aaabce8ae1a92925348f (patch) | |
tree | 6f75f3d1f8a22e1688afaef7d7f2808d209e8fa9 /drivers/clk/.kunitconfig | |
parent | 2e9abc6ec108370ad341f98d0e05e02e4e165b5a (diff) | |
download | linux-2790e2a33aa9e0710354aaabce8ae1a92925348f.tar.xz |
clk: fractional-divider: tests: Add test suite for edge cases
In light of the recent discovery that the fractional divisor
approximation does not utilize the full available range for clocks that
are flagged CLK_FRAC_DIVIDER_ZERO_BASED [1], implement tests for the
edge cases of this clock type.
Signed-off-by: Frank Oltmanns <frank@oltmanns.dev>
Link: https://lore.kernel.org/lkml/20230529133433.56215-1-frank@oltmanns.dev [1]
Link: https://lore.kernel.org/r/20230617131041.18313-3-frank@oltmanns.dev
[sboyd@kernel.org: Rename suite and tests slightly, drop unused
includes, store parent rate to compare instead of repeating equation]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/.kunitconfig')
-rw-r--r-- | drivers/clk/.kunitconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/.kunitconfig b/drivers/clk/.kunitconfig index 2fbeb71316f8..efa12ac2b3f2 100644 --- a/drivers/clk/.kunitconfig +++ b/drivers/clk/.kunitconfig @@ -2,4 +2,5 @@ CONFIG_KUNIT=y CONFIG_COMMON_CLK=y CONFIG_CLK_KUNIT_TEST=y CONFIG_CLK_GATE_KUNIT_TEST=y +CONFIG_CLK_FD_KUNIT_TEST=y CONFIG_UML_PCI_OVER_VIRTIO=n |