diff options
author | Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> | 2024-12-28 17:00:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-07 11:50:07 +0100 |
commit | e2e4025bc5461258a48cb331107c5b55b3c787d3 (patch) | |
tree | 426ea28d2aaeced67124c66bed5cf1f8f2fd45f4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d78a89990986a4d7d34313d3f58f8596b8ae1222 (diff) |
tty: n_gsm: wait until channel 0 is ready
Currently code does not wait for channel 0 open sequence to complete before
pushing data to the other channels. Also, if userland opens tty, it will
receive EL2NSYNC. Both issues result in hard to predict initialization
sequence and possible userland failures.
Fix that by waiting channel 0 open sequence to complete before attempting
opening of the other channels. Also, if tty open() is attempted while
channel 0 is opening, wait until sequence is complete before returning to
userland.
Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20241228150100.100354-2-ivo.g.dimitrov.75@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions