Skip to content

Commit

Permalink
rtio: Fix dc233c tlb exception
Browse files Browse the repository at this point in the history
It appears some strangeness occurs around the consume semaphore today
that causes a TLB exception on qemu_xtensa_dc233. Unclear *why* just yet
but this fixes things in CI today.

Signed-off-by: Tom Burdick <[email protected]>
  • Loading branch information
teburd authored and nashif committed Sep 10, 2024
1 parent 73c8235 commit 4dc082d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/subsys/rtio/rtio_api/src/test_rtio_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,12 @@ static void test_rtio_simple_mempool_(struct rtio *r, int run_count)
zassert_ok(res);

TC_PRINT("submit with wait\n");
res = rtio_submit(r, 0);
zassert_ok(res, "Should return ok from rtio_execute");
res = rtio_submit(r, 1);
zassert_ok(res, "Should return ok from rtio_submit");

TC_PRINT("Calling rtio_cqe_copy_out\n");
zassert_equal(1, rtio_cqe_copy_out(r, &cqe, 1, K_FOREVER));
res = rtio_cqe_copy_out(r, &cqe, 1, K_FOREVER);
zassert_equal(1, res);
TC_PRINT("cqe result %d, userdata %p\n", cqe.result, cqe.userdata);
zassert_ok(cqe.result, "Result should be ok");
zassert_equal_ptr(cqe.userdata, mempool_data, "Expected userdata back");
Expand Down

0 comments on commit 4dc082d

Please sign in to comment.