linux/arch/xtensa
Max Filippov 362014c8d9 xtensa: ISS: don't hang if stdin EOF is reached
Simulator stdin may be connected to a file, when its end is reached
kernel hangs in infinite loop inside rs_poll, because simc_poll always
signals that descriptor 0 is readable and simc_read always returns 0.
Check simc_read return value and exit loop if it's not positive. Also
don't rewind polling timer if it's zero.

Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-03-11 08:53:31 +00:00
..
boot Xtensa patchset for 4.4 2015-11-09 16:32:13 -08:00
configs Xtensa patchset for 4.4 2015-11-09 16:32:13 -08:00
include xtensa: support ioremap for memory outside KIO region 2016-01-11 17:37:36 +03:00
kernel xtensa: make fake NMI configurable 2016-01-11 17:31:55 +03:00
lib xtensa: fixes for configs without loop option 2015-11-02 18:02:47 +03:00
mm xtensa: support ioremap for memory outside KIO region 2016-01-11 17:37:36 +03:00
oprofile xtensa: move oprofile stack tracing to stacktrace.c 2015-08-17 07:32:49 +03:00
platforms xtensa: ISS: don't hang if stdin EOF is reached 2016-03-11 08:53:31 +00:00
variants xtensa: add de212 core variant 2015-11-02 18:03:09 +03:00
Kconfig xtensa: make fake NMI configurable 2016-01-11 17:31:55 +03:00
Kconfig.debug xtensa: disable link optimization 2014-12-15 23:47:24 -08:00
Makefile xtensa: enable building of all dtbs 2015-10-27 16:12:16 -05:00