Vladimir Murzin 3f4aa45cee ARM: 8226/1: cacheflush: get rid of restarting block
We cannot restart cacheflush safely if a process provides user-defined
signal handler and signal is pending. In this case -EINTR is returned
and it is expected that process re-invokes syscall. However, there are
a few problems with that:
 * looks like nobody bothers checking return value from cacheflush
 * but if it did, we don't provide the restart address for that, so the
   process has to use the same range again
 * ...and again, what might lead to looping forever

So, remove cacheflush restarting code and terminate cache flushing
as early as fatal signal is pending.

Cc: stable@vger.kernel.org # 3.12+
Reported-by: Chanho Min <chanho.min@lge.com>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2014-11-27 15:55:35 +00:00
..
2014-09-11 18:11:53 +00:00
2014-04-18 11:40:32 +02:00
2014-04-18 11:40:32 +02:00
2012-03-28 18:30:01 +01:00
2014-06-02 09:20:18 +01:00
2012-07-05 09:50:55 +01:00
2012-09-14 13:53:39 +00:00
2013-04-17 21:38:10 +02:00
2014-02-25 11:33:37 +00:00
2012-07-24 15:27:28 +08:00
2013-01-23 13:29:17 -05:00
2014-09-03 14:09:58 +01:00
2014-06-01 01:17:12 +01:00
2013-07-08 22:08:51 +01:00
2013-11-15 09:32:16 +09:00
2014-10-09 22:26:01 -04:00
2014-05-27 15:58:49 +02:00
2014-06-01 01:17:12 +01:00
2014-02-25 11:33:37 +00:00
2014-08-09 14:07:53 +01:00
2014-03-18 16:39:40 -04:00