Boris Ostrovsky
588c0f3282
x86/xen: Return from panic notifier
...
[ Upstream commit c6875f3aacf2a5a913205accddabf0bfb75cac76 ]
Currently execution of panic() continues until Xen's panic notifier
(xen_panic_event()) is called at which point we make a hypercall that
never returns.
This means that any notifier that is supposed to be called later as
well as significant part of panic() code (such as pstore writes from
kmsg_dump()) is never executed.
There is no reason for xen_panic_event() to be this last point in
execution since panic()'s emergency_restart() will call into
xen_emergency_restart() from where we can perform our hypercall.
Nevertheless, we will provide xen_legacy_crash boot option that will
preserve original behavior during crash. This option could be used,
for example, if running kernel dumper (which happens after panic
notifiers) is undesirable.
Reported-by: James Dingwall <james@dingwall.me.uk>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-06 12:43:13 +01:00
..
2019-07-21 09:04:26 +02:00
2017-07-07 12:40:27 -07:00
2019-11-06 12:43:13 +01:00
2019-04-05 22:31:34 +02:00
2019-10-29 09:17:10 +01:00
2017-08-31 13:55:26 -06:00
2017-09-07 21:11:05 -07:00
2017-07-10 16:32:31 -07:00
2017-10-19 22:26:11 -04:00
2017-09-28 02:08:43 +02:00
2017-07-14 11:01:38 +10:00
2018-02-22 15:42:24 +01:00
2018-04-26 11:02:07 +02:00
2019-08-04 09:32:00 +02:00
2017-09-06 21:55:10 +05:30
2017-08-26 15:50:27 -06:00
2019-05-08 07:20:46 +02:00
2017-09-19 09:20:33 +02:00
2017-07-14 15:05:13 -07:00
2017-09-04 16:00:49 +02:00
2017-08-07 14:18:40 -06:00
2019-01-26 09:37:07 +01:00
2017-09-07 13:39:21 -07:00
2017-08-22 10:03:07 +10:00
2018-10-03 17:00:58 -07:00
2017-10-05 14:44:56 +02:00
2017-07-25 19:56:23 +01:00
2017-08-29 08:30:21 -04:00
2017-08-30 15:18:24 -06:00
2017-06-26 15:01:11 -04:00
2018-07-17 11:39:30 +02:00
2017-07-12 16:26:00 -07:00
2017-07-03 21:13:25 -07:00
2017-08-18 15:57:24 -07:00
2017-09-04 11:01:18 +02:00
2018-11-13 11:15:12 -08:00
2019-06-17 19:52:44 +02:00
2017-08-24 13:31:58 -06:00
2017-09-04 00:06:02 +02:00
2017-07-07 13:55:45 -07:00
2017-09-08 18:26:51 -07:00
2018-08-17 21:01:10 +02:00
2017-08-17 07:31:14 -07:00
2017-06-08 10:31:56 +02:00
2017-08-30 15:27:58 -06:00
2017-06-03 18:48:52 +09:00
2017-07-06 10:56:51 -07:00
2019-06-09 09:18:17 +02:00
2017-07-17 13:48:45 -06:00
2017-05-26 13:11:00 +01:00
2019-08-25 10:50:03 +02:00
2017-06-08 18:52:43 -07:00
2017-08-25 17:58:34 +03:00
2017-09-08 10:10:53 -06:00
2019-10-17 13:43:20 -07:00
2019-07-21 09:04:31 +02:00
2019-04-03 06:25:20 +02:00
2017-09-08 18:26:45 -07:00
2017-09-09 17:41:24 +02:00
2019-05-21 18:50:13 +02:00
2017-06-22 11:22:06 -05:00
2017-07-07 14:04:47 -07:00
2017-08-10 12:29:00 +02:00
2019-07-31 07:28:26 +02:00
2017-07-14 13:51:27 -06:00
2017-07-14 13:51:27 -06:00
2017-07-14 13:51:27 -06:00
2017-07-14 13:51:28 -06:00
2017-07-14 13:51:28 -06:00
2017-08-02 12:05:20 -07:00
2017-07-14 13:51:29 -06:00
2017-07-14 13:51:29 -06:00
2019-06-09 09:18:17 +02:00
2017-07-14 13:51:30 -06:00
2017-07-14 13:51:30 -06:00
2017-07-14 13:51:30 -06:00
2017-07-14 13:51:31 -06:00
2017-07-14 13:51:34 -06:00
2017-07-14 13:58:12 -06:00
2017-07-14 13:51:31 -06:00
2017-07-14 13:51:32 -06:00
2017-09-01 11:59:17 +02:00
2017-07-14 13:51:33 -06:00
2017-07-14 13:51:33 -06:00
2017-08-19 11:02:53 -07:00
2017-07-14 13:51:34 -06:00
2017-07-14 13:51:34 -06:00
2017-07-29 09:01:02 -04:00
2017-07-14 13:51:35 -06:00
2017-07-14 13:51:35 -06:00
2017-07-14 13:51:36 -06:00
2017-07-14 13:51:36 -06:00
2017-07-14 13:51:37 -06:00
2017-07-14 13:51:37 -06:00
2019-05-14 19:18:43 +02:00
2017-07-14 13:51:38 -06:00
2017-07-14 13:51:38 -06:00
2017-07-14 13:51:39 -06:00
2017-07-14 13:51:38 -06:00
2017-07-14 13:51:40 -06:00
2017-07-14 13:51:40 -06:00
2017-07-14 13:51:41 -06:00
2017-07-14 13:51:41 -06:00
2017-07-14 13:51:42 -06:00
2017-07-14 13:51:42 -06:00
2017-07-14 13:51:43 -06:00
2017-07-14 13:51:43 -06:00
2017-07-14 13:51:43 -06:00
2017-07-14 13:51:44 -06:00
2017-07-14 13:58:14 -06:00
2017-07-14 13:51:45 -06:00
2017-07-14 13:51:45 -06:00
2017-07-14 13:51:46 -06:00
2017-07-14 13:51:46 -06:00
2017-07-14 13:51:47 -06:00
2017-08-24 13:18:30 -06:00
2017-09-04 11:52:29 -07:00
2017-07-14 13:57:53 -06:00
2017-07-14 13:57:54 -06:00
2017-07-14 13:57:55 -06:00
2017-07-15 12:58:58 -07:00
2017-07-14 13:57:56 -06:00
2017-07-14 13:57:56 -06:00
2017-07-14 13:57:57 -06:00
2017-07-14 13:57:58 -06:00
2017-07-14 13:57:58 -06:00
2017-07-14 13:57:59 -06:00
2017-07-14 13:57:59 -06:00
2017-07-14 13:58:00 -06:00
2018-07-03 11:24:48 +02:00
2017-07-06 08:23:30 +02:00
2017-09-08 18:26:48 -07:00
2017-07-14 13:58:02 -06:00
2017-07-14 13:58:02 -06:00
2017-07-14 13:58:03 -06:00
2019-07-03 13:16:03 +02:00
2017-07-14 13:58:04 -06:00
2017-07-07 13:14:14 +02:00
2017-07-14 13:58:04 -06:00
2017-07-14 13:58:05 -06:00
2017-07-14 13:58:06 -06:00
2017-07-14 13:58:06 -06:00
2017-07-14 13:58:07 -06:00
2018-02-07 11:12:22 -08:00
2017-08-10 12:28:59 +02:00
2017-07-14 13:58:08 -06:00
2017-07-14 13:58:14 -06:00
2017-07-14 13:58:08 -06:00
2017-07-14 13:58:09 -06:00
2018-08-03 07:50:22 +02:00
2017-07-14 13:58:10 -06:00
2017-07-14 13:58:11 -06:00
2017-07-14 13:58:11 -06:00
2017-07-14 13:58:12 -06:00