Skip to content

Conversation

@fhunleth
Copy link
Contributor

The tests to verify these will be coming in a subsequent PR since they totally
change the test infrastructure to use Linux's gpio-sim feature. It's not
possible to exercise the failure conditions as is.

Of these, the second commit is the key one that fixes the issue seen in the
field. However, the first commit fixes a glaring issue. I plan on doing more
substantial refactorings once I have the better test infrastructure in place
since I'm not happy with the code. I believe it will fix reported issues.

  • cdev: fix interrupt pid list maintenance
  • cdev: handle fast close/re-open that failed with EAGAIN

This happens with supervision tree restarts and only affects GPIOs that
are listening on interrupts.
@fhunleth fhunleth merged commit c65604d into main Sep 22, 2025
8 checks passed
@fhunleth fhunleth deleted the cdev-fixes2 branch September 22, 2025 15:13
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