Archer Yan
9d91069f48
MIPS: Fix kernel crash for R6 in jump label branch function
...
commit 47c25036b6 upstream.
Insert Branch instruction instead of NOP to make sure assembler don't
patch code in forbidden slot. In jump label function, it might
be possible to patch Control Transfer Instructions(CTIs) into
forbidden slot, which will generate Reserved Instruction exception
in MIPS release 6.
Signed-off-by: Archer Yan <ayan@wavecomp.com >
Reviewed-by: Paul Burton <paul.burton@mips.com >
[paul.burton@mips.com:
- Add MIPS prefix to subject.
- Mark for stable from v4.0, which introduced r6 support, onwards.]
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Cc: stable@vger.kernel.org # v4.0+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-27 14:14:39 +09:00
..
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-07-30 10:27:20 -07:00
2018-06-24 09:27:27 -07:00
2018-07-24 18:57:59 -07:00
2017-11-02 11:10:55 +01:00
2018-04-23 16:39:34 +01:00
2017-12-19 11:07:16 -05:00
2018-06-24 09:27:27 -07:00
2018-06-24 09:26:03 -07:00
2017-07-11 14:13:06 +02:00
2017-11-02 11:10:55 +01:00
2017-07-11 14:13:06 +02:00
2019-01-09 17:38:49 +01:00
2017-07-11 14:13:06 +02:00
2018-06-24 09:26:04 -07:00
2017-07-11 14:13:06 +02:00
2018-06-24 09:27:27 -07:00
2018-06-24 09:27:27 -07:00
2019-02-12 19:47:10 +01:00
2018-09-11 23:33:19 -07:00
2017-11-02 11:10:55 +01:00
2017-01-03 16:34:42 +01:00
2019-01-09 17:38:47 +01:00
2017-11-03 09:02:30 -07:00
2017-07-11 14:13:06 +02:00
2018-07-30 10:27:20 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-07-11 14:13:06 +02:00
2017-07-11 14:13:06 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-08-08 09:48:32 -07:00
2018-07-24 17:39:03 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-08-14 10:57:44 -07:00
2017-03-02 08:42:37 +01:00
2016-10-06 18:02:35 +02:00
2018-08-10 17:27:51 -07:00
2017-09-06 11:01:52 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-10 20:58:56 +00:00
2019-01-09 17:38:48 +01:00
2016-10-04 16:13:57 +02:00
2017-10-09 14:53:56 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-06-24 09:27:27 -07:00
2018-01-18 22:07:16 +00:00
2017-06-29 02:42:26 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-08-07 12:01:17 +02:00
2016-10-04 16:13:57 +02:00
2018-01-24 11:17:20 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-15 11:36:08 -08:00
2017-11-17 11:54:55 -08:00
2018-04-20 16:20:04 +02:00
2018-08-21 10:08:16 -07:00
2018-07-24 14:09:13 -07:00
2019-01-09 17:38:48 +01:00
2017-08-29 15:21:51 +02:00
2018-07-23 17:53:34 -07:00
2017-04-10 11:56:04 +02:00
2017-01-24 12:23:35 -05:00
2018-06-24 09:26:02 -07:00
2018-06-24 09:26:03 -07:00
2018-07-27 15:19:59 -07:00
2017-11-02 11:10:55 +01:00
2017-11-03 09:02:30 -07:00
2017-11-02 11:10:55 +01:00
2017-03-02 08:42:37 +01:00
2017-11-02 11:10:55 +01:00
2017-08-30 00:57:29 +02:00
2017-08-29 15:21:57 +02:00
2017-04-06 13:16:34 -07:00
2017-08-25 22:49:59 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-01-03 16:34:48 +01:00
2017-11-02 11:10:55 +01:00
2018-07-30 10:27:28 -07:00
2017-07-11 14:13:06 +02:00
2018-03-09 11:22:45 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-03-27 14:14:39 +09:00
2018-07-24 10:02:24 -07:00
2017-11-02 11:10:55 +01:00
2016-10-11 15:06:32 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-06-21 12:33:09 +02:00
2019-03-23 20:10:13 +01:00
2018-03-06 18:40:44 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-03 09:02:30 -07:00
2018-02-05 10:37:48 +00:00
2018-05-14 23:58:23 +01:00
2017-11-02 11:10:55 +01:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-08-13 19:24:32 -07:00
2019-01-09 17:38:48 +01:00
2019-01-09 17:38:48 +01:00
2019-01-09 17:38:49 +01:00
2017-11-02 11:10:55 +01:00
2018-01-22 20:52:27 +00:00
2017-11-02 11:10:55 +01:00
2018-07-30 10:27:32 -07:00
2018-05-07 07:15:41 +02:00
2017-07-12 16:26:03 -07:00
2017-06-08 14:51:58 +02:00
2019-01-09 17:38:47 +01:00
2018-01-31 17:18:37 -08:00
2017-11-03 09:02:30 -07:00
2018-11-13 11:08:14 -08:00
2016-10-12 14:34:45 +02:00
2019-01-09 17:38:47 +01:00
2017-11-02 11:10:55 +01:00
2017-11-28 16:53:24 +01:00
2018-07-17 09:40:17 -07:00
2018-07-17 09:40:17 -07:00
2018-08-01 13:20:15 -07:00
2017-11-03 09:02:30 -07:00
2017-08-30 00:57:27 +02:00
2018-07-27 19:36:16 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-10-10 11:50:19 +02:00
2017-11-02 11:10:55 +01:00
2017-10-31 23:49:33 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-01-03 16:34:42 +01:00
2018-12-08 12:59:07 +01:00
2016-12-24 11:46:01 -08:00
2018-01-09 23:21:02 +00:00
2018-05-14 23:58:23 +01:00
2017-11-02 11:10:55 +01:00
2018-08-10 17:27:53 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-08-30 00:57:26 +02:00
2018-04-18 22:02:29 +01:00
2017-06-28 12:22:39 +02:00
2017-05-27 15:38:02 -04:00
2016-10-07 18:46:30 -07:00
2017-10-25 11:01:08 +02:00
2017-11-02 11:10:55 +01:00
2017-11-03 09:02:30 -07:00