diff options
author | Joshua Scott <[email protected]> | 2018-03-16 13:42:00 +1300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-04-23 10:11:13 +0200 |
commit | b7639b0b15ddd1a4686b0142e70dfb122eefc88f (patch) | |
tree | e2c3f53b29dc09f7a73f99a1f2ad54d539b29362 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 63ba1e00f178a4483b473489cadc4eb52a77df2a (diff) |
serial: 8250_dw: Limit dw8250_tx_wait_empty quirk to armada-38x devices
The previous implementation has had a detrimental effect on devices using
high bitrates (bluetooth), as the fifo being non-empty for a single check
would result in a 10 µs delay.
Limit the change to devices with the new "marvell,armada-38x-uart"
compatible string. Also update the code to allow the first 1000 retries
to not perform a delay.
The maximum duration of retries has been increased to cover a worst-case
seen on the Armada 385 SoC. "dmesg ; resize", will fill the buffer with
text to output before doing a resize. At 9600 baud this took up to 13 ms
to flush all characters and avoid some getting lost.
Signed-off-by: Joshua Scott <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions