aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/clk/.kunitconfig
diff options
context:
space:
mode:
authorFrank Oltmanns <frank@oltmanns.dev>2023-06-17 15:10:41 +0200
committerStephen Boyd <sboyd@kernel.org>2023-10-12 15:05:00 -0700
commit2790e2a33aa9e0710354aaabce8ae1a92925348f (patch)
tree6f75f3d1f8a22e1688afaef7d7f2808d209e8fa9 /drivers/clk/.kunitconfig
parentclk: fractional-divider: Improve approximation when zero based and export (diff)
downloadwireguard-linux-2790e2a33aa9e0710354aaabce8ae1a92925348f.tar.xz
wireguard-linux-2790e2a33aa9e0710354aaabce8ae1a92925348f.zip
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/.kunitconfig1
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