Skip to content

Test immediate DMA wait and stale UART wake contracts - #23

Draft
sanchuanhehe wants to merge 2 commits into
refactor/uart-async-receivefrom
test/dma-immediate-wait
Draft

sanchuanhehe wants to merge 2 commits into
refactor/uart-async-receivefrom
test/dma-immediate-wait

Conversation

@sanchuanhehe

Copy link
Copy Markdown
Collaborator

Verify the shared DMA timed-wait contract: an already complete or failed transfer returns on its first poll without requesting a timer; an inactive transfer neither polls nor arms a timer. This covers the legal immediate path that the parent SPI DMA QEMU fixture incorrectly rejected by requiring an IRQ on every successful transfer.

Also make the existing UART cancellation-test waker fail on a stale wake while preserving its reference-count assertions. Using Waker::noop would remove that ownership observation. These changes are test-only; no production behavior or public API changes.

Standalone WS53 host suite and test Clippy, plus WS63 common UART tests, are run in the explicit remote development dependency configuration. Parent model validation separately covers pending/IRQ and immediate completion. Hardware and registry release qualification are unchanged. Stacked on #22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant