HomeFreeBSD

MFC r352369: Relax TX draining in ns8250_bus_transmit().

Description

MFC r352369: Relax TX draining in ns8250_bus_transmit().

Since TX interrupt is generated when THRE is set, wait for TEMT set means
wait for full character transmission time. At low speeds that may take
awhile, burning CPU time while holding sc_hwmtx lock, also congested.

This is partial revert of r317659.

Details

Committed
mavSep 29 2019, 2:55 AM
Parents
rS352860: Import DTS files from Linux 5.3
Branches
Unknown
Tags
Unknown