Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes a design error revealed by running on aarch64 #50

Merged
merged 1 commit into from
Feb 27, 2020

Conversation

bhathaway
Copy link
Contributor

Simply put, you cannot call wait_event_interruptible_timeout while
holding a spin_lock. The reason the driver got away with this on
x86 is because the hardware is somehow fast enough so that the
condition is never false and hence no scheduling ever needs to
occur.

Simply put, you cannot call wait_event_interruptible_timeout while
holding a spin_lock. The reason the driver got away with this on
x86 is because the hardware is somehow fast enough so that the
condition is never false and hence no scheduling ever needs to
occur.
@lesjokolat
Copy link

Hi Karen if you see my comment. this tweak needs to be added in make file for 5.x kernels...

#44 (comment)

@bhathaway bhathaway deleted the REF41_SCHED_ATOMIC branch February 27, 2020 21: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.

3 participants