RTEMS | dev/ns16550: Fix race condition in transmit path (!1210)

Sebastian Huber (@sebhub) gitlab at rtems.org
Thu Apr 16 23:30:04 UTC 2026



Sebastian Huber created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1210

Project:Branches: sebhub/rtems:fix-ns16550 to rtems/rtos/rtems:main
Author:   Sebastian Huber
Assignee: Sebastian Huber


## Summary

dev/ns16550: Fix race condition in transmit path

In SMP systems, the interrupt handler may run concurrently with tasks
trying to transmit.  Properly protect the transmit state through the
device lock.  Simplify the transmit process.

Close #5552.

Signed-off-by: Sebastian Huber <sebastian.huber at embedded-brains.de>





<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1210
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260416/a4496272/attachment-0001.htm>


More information about the bugs mailing list