Skip to content

Commit 4dc082d

Browse files
teburdnashif
authored andcommitted
rtio: Fix dc233c tlb exception
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]>
1 parent 73c8235 commit 4dc082d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/subsys/rtio/rtio_api/src/test_rtio_api.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,11 +294,12 @@ static void test_rtio_simple_mempool_(struct rtio *r, int run_count)
294294
zassert_ok(res);
295295

296296
TC_PRINT("submit with wait\n");
297-
res = rtio_submit(r, 0);
298-
zassert_ok(res, "Should return ok from rtio_execute");
297+
res = rtio_submit(r, 1);
298+
zassert_ok(res, "Should return ok from rtio_submit");
299299

300300
TC_PRINT("Calling rtio_cqe_copy_out\n");
301-
zassert_equal(1, rtio_cqe_copy_out(r, &cqe, 1, K_FOREVER));
301+
res = rtio_cqe_copy_out(r, &cqe, 1, K_FOREVER);
302+
zassert_equal(1, res);
302303
TC_PRINT("cqe result %d, userdata %p\n", cqe.result, cqe.userdata);
303304
zassert_ok(cqe.result, "Result should be ok");
304305
zassert_equal_ptr(cqe.userdata, mempool_data, "Expected userdata back");

0 commit comments

Comments
 (0)