Page MenuHomeFreeBSD

uart: Add support for the Intel XScale controller
ClosedPublic

Authored by bnovkov on Jun 18 2026, 2:43 AM.
Tags
None
Referenced Files
F163411035: D57629.id179969.diff
Wed, Jul 22, 11:41 PM
Unknown Object (File)
Wed, Jul 15, 7:26 AM
Unknown Object (File)
Wed, Jul 15, 7:26 AM
Unknown Object (File)
Mon, Jul 13, 1:12 AM
Unknown Object (File)
Fri, Jul 10, 2:24 PM
Unknown Object (File)
Tue, Jul 7, 8:46 AM
Unknown Object (File)
Fri, Jul 3, 12:20 PM
Unknown Object (File)
Fri, Jul 3, 1:02 AM
Subscribers
None

Details

Summary

The ns8250 driver avoids clearing IER bit 0x10 to account for the
split "receiver time-out interrupt enable" bit, but it never sets
it in ier_rxbits even though a comment in ns8250_init implies so.

Fix this by setting IER_RXTMOUT if we've matched an XScale uart.

Event: BSDCan 2026

Test Plan

Tested on a Banana Pi BPI-F3 SoC. Using the console without the IER_RXTMOUT changes is impossible, applying this patch fixes it.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 73954
Build 70837: arc lint + arc unit

Event Timeline

bnovkov created this revision.
bnovkov edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Jun 18 2026, 7:55 PM