linux-stable/arch/xtensa/platforms/iss
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
..
include/platform xtensa: don't use a7 in simcalls 2013-05-09 01:07:10 -07:00
console.c xtensa: ISS: don't hang if stdin EOF is reached 2016-03-11 08:53:31 +00:00
Makefile xtensa: ISS: don't depend on CONFIG_TTY 2014-05-05 09:04:10 -07:00
network.c xtensa: ISS: add missing va_end into split_if_spec 2015-07-13 15:42:00 +03:00
setup.c xtensa: fixes for configs without loop option 2015-11-02 18:02:47 +03:00
simdisk.c block: change ->make_request_fn() and users to return a queue cookie 2015-11-07 10:40:46 -07:00