Naveen N. Rao
d04c02f8aa
powerpc/kprobes: Fix handling of instruction emulation on probe re-entry
...
Commit 22d8b3dec214c ("powerpc/kprobes: Emulate instructions on kprobe
handler re-entry") enabled emulating instructions on kprobe re-entry,
rather than single-stepping always. However, we didn't update the single
stepping code to only be run if the emulation fails. Also, we missed
re-enabling preemption if the instruction emulation was successful. Fix
those issues.
Fixes: 22d8b3dec214c ("powerpc/kprobes: Emulate instructions on kprobe handler re-entry")
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-05-16 13:11:07 +10:00
..
2017-04-27 22:20:29 +10:00
2016-08-10 23:04:12 +10:00
2016-09-29 15:17:57 +10:00
2017-04-04 23:16:57 +10:00
2017-05-09 11:50:01 +02:00
2016-05-01 18:32:32 +10:00
2015-04-11 20:49:28 +10:00
2016-06-14 13:58:26 +10:00
2016-03-04 23:44:51 -06:00
2017-05-03 20:45:55 +10:00
2017-05-09 23:42:55 +10:00
2016-12-24 11:46:01 -08:00
2017-05-08 17:15:11 -07:00
2017-04-13 23:34:33 +10:00
2016-08-04 08:50:07 -04:00
2017-01-24 12:23:35 -05:00
2017-01-24 12:23:35 -05:00
2017-05-09 23:42:55 +10:00
2016-07-08 22:09:50 +10:00
2016-06-21 15:30:56 +10:00
2017-05-02 22:41:43 +10:00
2016-11-22 11:57:07 +11:00
2016-11-22 11:57:07 +11:00
2014-11-27 09:32:58 +11:00
2017-04-11 07:46:03 +10:00
2017-04-27 22:20:29 +10:00
2017-05-05 11:36:44 -07:00
2016-08-07 23:50:09 -04:00
2014-06-10 18:54:22 -07:00
2017-04-30 01:05:18 -05:00
2017-05-12 10:04:09 -07:00
2017-05-08 17:15:11 -07:00
2016-10-14 14:26:58 -07:00
2015-08-07 23:00:01 -05:00
2017-01-26 17:49:34 -06:00
2017-03-21 22:09:26 +11:00
2016-08-07 23:50:09 -04:00
2016-08-07 23:50:09 -04:00
2017-03-20 19:02:49 +11:00
2016-08-07 23:50:09 -04:00
2017-02-18 21:37:14 +11:00
2014-04-23 10:05:16 +10:00
2017-05-16 13:03:21 +10:00
2015-06-02 21:37:19 -05:00
2014-04-23 10:05:16 +10:00
2016-12-20 09:48:44 -08:00
2017-03-02 08:42:37 +01:00
2013-08-14 14:58:08 +10:00
2017-01-31 13:54:17 +11:00
2017-04-20 11:39:21 +10:00
2017-04-12 22:31:37 +10:00
2017-01-31 13:54:17 +11:00
2015-08-03 11:34:12 +02:00
2016-12-20 09:48:44 -08:00
2016-02-18 00:03:26 +11:00
2017-04-24 19:07:58 +10:00
2017-05-16 13:11:07 +10:00
2015-08-06 15:10:20 +10:00
2017-01-31 13:54:18 +11:00
2016-11-30 23:15:26 +11:00
2016-12-20 09:48:44 -08:00
2016-05-11 21:54:04 +10:00
2017-05-09 23:42:55 +10:00
2017-04-19 20:00:18 +10:00
2017-05-03 14:45:39 +10:00
2016-12-25 16:12:20 -08:00
2017-04-05 21:40:21 +10:00
2016-08-07 23:50:09 -04:00
2016-03-07 14:53:53 +11:00
2017-02-03 08:28:25 -08:00
2016-12-24 11:46:01 -08:00
2015-06-02 11:47:45 +10:00
2017-04-27 14:49:05 -07:00
2016-11-25 14:07:51 +11:00
2017-02-23 08:23:30 +11:00
2017-04-24 19:07:58 +10:00
2017-04-01 21:12:27 +11:00
2016-12-24 11:46:01 -08:00
2016-07-15 14:57:47 +10:00
2016-07-07 16:33:27 +10:00
2016-09-20 20:57:12 +10:00
2017-04-28 10:34:34 -05:00
2016-05-11 21:54:26 +10:00
2016-12-24 11:46:01 -08:00
2017-05-15 19:31:38 +10:00
2014-09-25 23:14:46 +10:00
2017-04-04 13:27:59 +10:00
2013-08-14 15:33:26 +10:00
2017-05-09 23:42:55 +10:00
2016-12-24 11:46:01 -08:00
2017-01-20 14:55:19 +11:00
2014-03-07 13:50:19 +11:00
2016-12-24 11:46:01 -08:00
2015-04-11 20:49:09 +10:00
2016-12-24 11:46:01 -08:00
2017-01-25 13:34:21 +11:00
2017-02-02 20:36:38 +11:00
2017-02-06 19:46:04 +11:00
2017-05-12 10:04:09 -07:00
2017-05-12 10:04:09 -07:00
2016-07-21 19:17:46 +10:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2017-03-08 09:20:19 +01:00
2016-10-04 20:33:16 +11:00
2014-01-15 13:46:44 +11:00
2017-05-05 11:36:44 -07:00
2017-03-28 14:43:59 +11:00
2014-10-09 22:26:04 -04:00
2017-03-02 08:42:30 +01:00
2013-10-31 12:37:29 +11:00
2014-01-07 19:06:03 -06:00
2017-03-20 19:02:49 +11:00
2016-12-24 11:46:01 -08:00
2017-04-12 22:32:43 +10:00
2017-05-03 14:45:38 +10:00
2015-11-26 22:11:17 +11:00
2015-11-26 22:11:17 +11:00
2015-03-28 22:03:40 +11:00
2017-04-14 13:11:10 -07:00
2016-10-04 20:33:16 +11:00
2017-05-03 14:45:39 +10:00
2014-11-12 13:47:20 +11:00
2015-04-07 17:15:13 +10:00
2013-11-20 16:31:01 +01:00
2017-02-06 19:46:04 +11:00
2016-12-24 11:46:01 -08:00
2016-10-14 14:26:58 -07:00
2017-05-05 11:36:44 -07:00