Page MenuHomeFreeBSD

uart: Add support for the Intel XScale controller
ClosedPublic

Authored by bnovkov on Thu, Jun 18, 2:43 AM.
Tags
None
Referenced Files
F160317098: D57629.diff
Tue, Jun 23, 5:13 AM
Unknown Object (File)
Sun, Jun 21, 8:31 PM
Unknown Object (File)
Sun, Jun 21, 4:50 PM
Unknown Object (File)
Sun, Jun 21, 4:12 PM
Unknown Object (File)
Sat, Jun 20, 7:43 PM
Unknown Object (File)
Sat, Jun 20, 7:14 AM
Unknown Object (File)
Sat, Jun 20, 7:14 AM
Unknown Object (File)
Fri, Jun 19, 2:48 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.Thu, Jun 18, 7:55 PM