diff options
author | John Ogness <john.ogness@linutronix.de> | 2025-01-07 22:32:58 +0106 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-10 16:08:24 +0100 |
commit | 8d5cfb1fe5d8692b2de79b3831445be982167531 (patch) | |
tree | d6cc074650cf14488e30cc3a495b099ce46f4278 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d91f98be26510f5f81ec66425bb0306d1ccd571a (diff) |
serial: 8250: Use frame time to determine timeout
Rather than using a hard-coded per-character Tx-timeout of 10ms,
use the frame time to determine a timeout value. The value is
doubled to ensure that a timeout is only hit during unexpected
circumstances.
Since the frame time may not be available during early printing,
the previous 10ms value is kept as a fallback.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20250107212702.169493-3-john.ogness@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions