Greg Kurz
82e2756897
event_notifier: Set ->initialized earlier in event_notifier_init()
...
Otherwise the call to event_notifier_set() is a nop, which causes
the SLOF firmware on POWER to hang when booting from a virtio-scsi
device:
virtio_scsi_dataplane_start()
virtio_scsi_vring_init()
virtio_bus_set_host_notifier() <- assign == true
event_notifier_init() <- active == 1
event_notifier_set() <- fails right away if !e->initialized
Fixes: e34e47eb28c0 ("event_notifier: handle initialization failure better")
Cc: mlevitsk@redhat.com
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <20210216120247.1293569-1-groug@kaod.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-02-16 17:15:39 +01:00
..
2020-10-09 07:08:20 +02:00
2020-03-09 16:45:16 +00:00
2020-09-23 16:07:44 +01:00
2020-11-03 16:24:56 +01:00
2020-10-09 07:08:20 +02:00
2020-09-23 16:07:44 +01:00
2020-11-15 17:04:40 +01:00
2020-09-23 16:07:44 +01:00
2020-10-23 13:42:16 +01:00
2020-10-23 13:42:16 +01:00
2020-11-15 17:04:40 +01:00
2020-04-01 14:24:03 -04:00
2021-01-21 13:00:41 +01:00
2021-01-07 05:09:41 -10:00
2020-07-13 14:36:10 +01:00
2021-01-26 14:36:37 +01:00
2020-07-13 11:40:52 +02:00
2021-01-24 20:10:54 +01:00
2021-02-16 17:15:39 +01:00
2020-01-06 18:41:32 +04:00
2020-07-13 14:36:10 +01:00
2019-12-18 08:36:16 +01:00
2021-02-16 17:15:39 +01:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-09-23 13:45:52 +01:00
2021-02-07 20:38:20 +00:00
2020-11-15 17:04:40 +01:00
2020-11-15 17:04:40 +01:00
2020-06-26 06:45:29 -04:00
2020-01-07 12:08:39 +01:00
2020-03-18 14:03:46 -04:00
2020-09-29 02:14:30 -04:00
2020-01-07 16:50:09 +04:00
2021-02-03 08:00:33 -06:00
2020-12-19 10:39:23 +01:00
2020-09-23 16:07:44 +01:00
2020-11-15 17:04:40 +01:00
2021-01-02 21:03:35 +01:00
2021-02-08 11:19:51 +00:00
2021-02-09 20:53:56 +00:00
2020-10-29 06:37:24 +01:00
2020-12-10 17:16:44 +01:00
2020-09-22 15:42:23 +01:00
2021-02-09 20:53:56 +00:00
2021-01-11 14:59:21 +01:00
2020-12-19 10:20:14 +01:00
2020-11-04 08:02:24 +01:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2021-02-01 10:50:55 +00:00
2020-07-13 14:36:09 +01:00
2021-01-23 15:55:08 -05:00
2020-10-09 07:08:19 +02:00
2020-09-17 20:38:42 +02:00
2020-11-03 13:17:25 +00:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2021-01-18 10:05:06 +00:00
2020-10-05 16:41:22 +02:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2021-01-04 11:13:39 +00:00
2020-04-07 16:19:49 +01:00
2020-09-23 16:07:44 +01:00
2020-05-04 14:54:35 -05:00
2020-05-04 16:07:43 +01:00
2021-01-08 15:13:38 +00:00
2021-02-08 11:19:51 +00:00
2020-08-21 06:18:24 -04:00
2021-02-08 11:19:51 +00:00
2020-11-23 13:03:13 +00:00
2020-10-23 13:42:16 +01:00
2021-01-13 10:21:17 +01:00