public inbox for linux-clk@vger.kernel.org
 help / color / mirror / Atom feed
* [Bug Report] Multiple S390x KUNIT clk failures
@ 2024-05-14  1:08 Nico Pache
  2024-05-14  3:38 ` Stephen Boyd
  0 siblings, 1 reply; 9+ messages in thread
From: Nico Pache @ 2024-05-14  1:08 UTC (permalink / raw)
  To: KUnit Development, linux-clk, sboyd
  Cc: Shuah Khan, Audra Mitchell, Donald Zickus

Hi,

We are seeing a number of the CLK kunit tests failing on S390x. This
has been occurring for some time now (as early as v6.1). We run these
tests as modules (without the UML wrappers), and have not seen these
failures on any other architectures.

The failing tests are:

clk-gate-hiword-test
------------------------------
    # clk_gate_test_hiword_enable: EXPECTATION FAILED at
drivers/clk/clk-gate_test.c:322
    Expected enable_val == (__u32)__builtin_bswap32((__u32)((
__u32)(__le32)(ctx->fake_reg))), but
        enable_val == 33554944 (0x2000200)
        (__u32)__builtin_bswap32((__u32)((
__u32)(__le32)(ctx->fake_reg))) == 0 (0x0)
    not ok 1 clk_gate_test_hiword_enable
    # clk_gate_test_hiword_disable: ASSERTION FAILED at
drivers/clk/clk-gate_test.c:339
    Expected enable_val == (__u32)__builtin_bswap32((__u32)((
__u32)(__le32)(ctx->fake_reg))), but
        enable_val == 33554944 (0x2000200)
        (__u32)__builtin_bswap32((__u32)((
__u32)(__le32)(ctx->fake_reg))) == 0 (0x0)
    not ok 2 clk_gate_test_hiword_disable


clk-gate-invert-test
------------------------------
# clk_gate_test_invert_enable: EXPECTATION FAILED at
drivers/clk/clk-gate_test.c:249
    Expected enable_val == (__u32)__builtin_bswap32((__u32)((
__u32)(__le32)(ctx->fake_reg))), but
        enable_val == 0 (0x0)
        (__u32)__builtin_bswap32((__u32)((
__u32)(__le32)(ctx->fake_reg))) == 32768 (0x8000)
    # clk_gate_test_invert_enable: EXPECTATION FAILED at
drivers/clk/clk-gate_test.c:250
    Expected clk_hw_is_enabled(hw) to be true, but is false
    not ok 1 clk_gate_test_invert_enable
    # clk_gate_test_invert_disable: ASSERTION FAILED at
drivers/clk/clk-gate_test.c:266
    Expected enable_val == (__u32)__builtin_bswap32((__u32)((
__u32)(__le32)(ctx->fake_reg))), but
        enable_val == 0 (0x0)
        (__u32)__builtin_bswap32((__u32)((
__u32)(__le32)(ctx->fake_reg))) == 32768 (0x8000)
    not ok 2 clk_gate_test_invert_disable


clk-gate-is_enabled-test
------------------------------
    ok 1 clk_gate_test_is_enabled
    # clk_gate_test_is_disabled: ASSERTION FAILED at
drivers/clk/clk-gate_test.c:409
    Expected clk_hw_is_enabled(hw) to be false, but is true
    not ok 2 clk_gate_test_is_disabled
    # clk_gate_test_is_enabled_inverted: ASSERTION FAILED at
drivers/clk/clk-gate_test.c:423
    Expected hw is not error, but is: -17
    not ok 3 clk_gate_test_is_enabled_inverted
    # clk_gate_test_is_disabled_inverted: ASSERTION FAILED at
drivers/clk/clk-gate_test.c:438
    Expected hw is not error, but is: -17
    not ok 4 clk_gate_test_is_disabled_inverted


clk-gate-test
------------------------------
    ok 1 clk_gate_test_parent_rate
    # clk_gate_test_enable: EXPECTATION FAILED at
drivers/clk/clk-gate_test.c:169
    Expected enable_val == (__u32)__builtin_bswap32((__u32)((
__u32)(__le32)(ctx->fake_reg))), but
        enable_val == 32 (0x20)
        (__u32)__builtin_bswap32((__u32)((
__u32)(__le32)(ctx->fake_reg))) == 0 (0x0)
    not ok 2 clk_gate_test_enable
    # clk_gate_test_disable: ASSERTION FAILED at drivers/clk/clk-gate_test.c:186
    Expected enable_val == (__u32)__builtin_bswap32((__u32)((
__u32)(__le32)(ctx->fake_reg))), but
        enable_val == 32 (0x20)
        (__u32)__builtin_bswap32((__u32)((
__u32)(__le32)(ctx->fake_reg))) == 0 (0x0)
    not ok 3 clk_gate_test_disable


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-05-30 20:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-14  1:08 [Bug Report] Multiple S390x KUNIT clk failures Nico Pache
2024-05-14  3:38 ` Stephen Boyd
2024-05-14  7:14   ` Nico Pache
2024-05-14 22:04     ` Stephen Boyd
     [not found]       ` <CAK18DXZyEHZ=1TC52kQQ89gscFLph0e_4zB_bt=DTwR-A=0UPA@mail.gmail.com>
2024-05-28 18:49         ` Donald Zickus
2024-05-28 20:49           ` Audra Mitchell
2024-05-28 22:53             ` msalter
2024-05-29 19:39               ` Stephen Boyd
2024-05-30 20:12                 ` Audra Mitchell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox