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

drivers: serial: Disable interrupts in SCIF driver #89

Merged
merged 2 commits into from
Mar 28, 2024

Conversation

dsemenets
Copy link

Disable interrupts in SCIF driver after DMA operation finished. If interrupts remains enabled it leads to hangs in ISR.

@oleksiimoisieiev
Copy link

LGTM Reviewed-by: Oleksii Moisieiev <[email protected]>

@oleksiimoisieiev
Copy link

please no fixup for already released code

Copy link
Collaborator

@lorc lorc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Acked-by: Volodymyr Babchuk <[email protected]>

@dsemenets dsemenets force-pushed the rza2m_uart_fix branch 2 times, most recently from 62da96c to 6dc661a Compare March 27, 2024 18:25
Copy link
Collaborator

@firscity firscity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/ans/and in drivers: serial: Disable interrupts in SCIF driver commit message

with this fix:
Acked-by: Dmytro Firsov <[email protected]>

SCIF uses interrups by LEVEL and TX interrupt is fired if FIFO is not
full. In this case interrupt is faired immediately after exit from ISR.
Disable interrupts in SCIF driver after DMA operation finished. We
don't need enabled interrupts if nothing to transmit.

Signed-off-by: Dmytro Semenets <[email protected]>
Reviewed-by: Oleksii Moisieiev <[email protected]>
Acked-by: Volodymyr Babchuk <[email protected]>
Acked-by: Dmytro Firsov <[email protected]>
Fixed missprint in #ifdef condition.

Signed-off-by: Dmytro Semenets <[email protected]>
Reviewed-by: Oleksii Moisieiev <[email protected]>
Acked-by: Volodymyr Babchuk <[email protected]>
Acked-by: Dmytro Firsov <[email protected]>
@firscity firscity merged commit 4334541 into xen-troops:rza2m_dev Mar 28, 2024
7 of 8 checks passed
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.

4 participants