RTEMS | bsps/shared/serial/pl011: Avoid unnecessary reads (!519)

Kinsey Moore (@opticron) gitlab at rtems.org
Tue Jun 17 20:16:53 UTC 2025



Kinsey Moore created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/519

Project:Branches: opticron/rtems:brmain-pl011-unnecessary-read to rtems/rtos/rtems:main
Author:   Kinsey Moore
Assignee: Kinsey Moore



## Summary

bsps/shared/serial/pl011: Avoid unnecessary reads

Avoid reading from the pl011 data register unnecessarily. There is no
need to preserve the contents of this register as it is not normal
memory. This unnecessary read causes console spam when running under the
Xen hypervisor when the read FIFO is empty since the read is not
expected.


<!-- 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/519
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/20250617/b37517e6/attachment.htm>


More information about the bugs mailing list