Skip to content

Reject suspended stepper commands before pin callbacks - #8

Open
xia-chao wants to merge 1 commit into
mainfrom
fix/reject-suspended-commands-before-pin-writes
Open

xia-chao wants to merge 1 commit into
mainfrom
fix/reject-suspended-commands-before-pin-writes

Conversation

@xia-chao

Copy link
Copy Markdown
Contributor

Change

Check the queue suspension latch before a step command can reach automatic enable or external direction handling. Return the terminal suspended result and leave the existing low-level admission check in place.

Validation

  • The host regression reproduced an external ENABLE write with a retryable result and an external DIR write before rejection on an already-suspended queue.
  • After the change, both cases return the suspended result with zero pin writes and zero queue entries. Resuming the queue allows the same commands and the expected pin levels.
  • All 32 host CTest entries passed on Linux.

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