[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6fab5ab4-4f7a-478d-2a5c-1fe77aa4609f@inbox.lv>
Date: Thu, 25 May 2017 16:43:28 +0300
From: Dmitry Artamonow <mad_soft@...ox.lv>
To: Rob Herring <robh@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Peter Hurley <peter@...leysoftware.com>,
linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org,
Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
Fabio Estevam <fabio.estevam@....com>,
Alan Cox <alan@...ux.intel.com>
Subject: Re: [BUG] tty/serial: stty hangs for 30 seconds after interrupted
transfer
Update: the problem reproduces also on x86-64 with 8250 driver.
root@...house:~# uname -a
Linux madhouse 4.12.0-rc2+ #2 SMP Thu May 25 12:08:00 MSK 2017 x86_64 x86_64 x86_64 GNU/Linux
root@...house:~# time stty -F /dev/ttyS0
speed 9600 baud; line = 0;
-brkint -imaxbel
real 0m0.010s
user 0m0.011s
sys 0m0.000s
root@...house:~# cat blah > /dev/ttyS0
^C
root@...house:~# time stty -F /dev/ttyS0
speed 9600 baud; line = 0;
-brkint -imaxbel
real 0m30.732s
user 0m0.011s
sys 0m0.002s
root@...house:~#
--
Best regards
Dmitry Artamonow
Powered by blists - more mailing lists