diff options
author | Maciej W. Rozycki <[email protected]> | 2016-01-30 09:11:46 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2016-02-06 23:13:30 -0800 |
commit | fff21fac75ccebacd29fc16b56a46a124359917a (patch) | |
tree | 9a311ac2a5a74f975e8f8bf8f8c17f2d95b036fd /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | bdc5f300958062a766518b81d5378f837149d5c1 (diff) |
serial: zs: Fix a transmit lockup in console output
Transmit interrupts are disabled and the transmit buffer drained in the
course of console output so that polled transmission is possible. That
however causes a lost transmit interrupt as the TxIP bit in RR3 is only
set on a transmit buffer full-to-empty transition and then iff transmit
interrupts are enabled at the same time. Consequently if console output
disturbs a regular transmission in progress, the TxIP bit is never set
again and the transmission locks up waiting for a transmit interrupt.
Fix the problem by restarting transmission manually rather than waiting
for a transmit interrupt that will never happen.
Signed-off-by: Maciej W. Rozycki <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions