Skip to content

Commit a6c3da0

Browse files
Audra Mitchellbebarino
authored andcommitted
clk: disable clk gate tests for s390
Currently clk-gate tests for s390 fail as the tests create a pretend clk-gate and use a "fake_reg" to emulate the expected behavior of the clk_gate->reg. I added some debug statements to the driver and noticed that the reg changes after initialization to -1, which is coming from an error coming from zpci_load(). This is likely because the test is using fake iomem and the s390 architecture likely isn't designed to handle that. Turn off the clk-gate tests for s390 for now as there is no clear work around for this problem as discussed in upstream conversation [1]. [1] https://lore.kernel.org/all/[email protected]/T/#t Signed-off-by: Audra Mitchell <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 06abd44 commit a6c3da0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clk/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@ config CLK_KUNIT_TEST
514514
config CLK_GATE_KUNIT_TEST
515515
tristate "Basic gate type Kunit test" if !KUNIT_ALL_TESTS
516516
depends on KUNIT
517+
depends on !S390
517518
default KUNIT_ALL_TESTS
518519
help
519520
Kunit test for the basic clk gate type.

0 commit comments

Comments
 (0)