Greg Kurz
8c6a0a1f40
powerpc/pseries: start rtasd before PCI probing
...
A strange behaviour is observed when comparing PCI hotplug in QEMU, between
x86 and pseries. If you consider the following steps:
- start a VM
- add a PCI device via the QEMU monitor before the rtasd has started (for
example starting the VM in paused state, or hotplug during FW or boot
loader)
- resume the VM execution
The x86 kernel detects the PCI device, but the pseries one does not.
This happens because the rtasd kernel worker is currently started under
device_initcall, while PCI probing happens earlier under subsys_initcall.
As a consequence, if we have a pending RTAS event at boot time, a message
is printed and the event is dropped.
This patch moves all the initialization of rtasd to arch_initcall, which is
run before subsys_call: this way, logging_enabled is true when the RTAS
event pops up and it is not lost anymore.
The proc fs bits stay at device_initcall because they cannot be run before
fs_initcall.
Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com >
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au >
2016-07-08 19:22:15 +10:00
..
2016-01-20 17:09:18 -08:00
2016-01-20 17:09:18 -08:00
2016-07-05 23:49:51 +10:00
2016-06-16 15:11:25 +10: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
2016-07-05 23:49:47 +10:00
2016-05-11 21:54:00 +10:00
2014-11-10 09:59:26 +11:00
2016-06-16 22:23:11 +10:00
2015-03-20 14:51:53 +11:00
2015-07-13 10:10:55 +10:00
2015-07-13 10:10:55 +10:00
2015-10-28 14:20:50 +09:00
2016-03-09 09:58:17 +11:00
2016-06-21 15:30:56 +10:00
2016-06-14 13:58:26 +10:00
2016-04-12 21:05:18 +10:00
2016-04-27 09:19:37 +10:00
2014-11-27 09:32:58 +11:00
2016-05-12 19:52:21 +10:00
2015-07-29 11:56:11 +10:00
2016-06-14 13:58:27 +10:00
2014-06-10 18:54:22 -07:00
2016-06-14 13:58:26 +10:00
2016-05-11 21:54:11 +10:00
2016-07-05 23:49:46 +10:00
2016-03-02 23:34:49 +11:00
2015-08-07 23:00:01 -05:00
2016-06-14 13:58:27 +10:00
2016-03-11 17:20:11 -06:00
2014-06-11 16:31:21 +10:00
2016-03-01 19:27:20 +11:00
2016-06-14 13:58:27 +10:00
2013-05-02 10:31:01 +10:00
2016-03-04 23:44:51 -06:00
2016-03-03 22:06:08 +11:00
2016-04-12 21:05:18 +10:00
2014-04-23 10:05:16 +10:00
2015-06-02 21:37:19 -05:00
2014-04-23 10:05:16 +10:00
2016-03-03 21:19:21 +11:00
2013-07-01 11:10:35 +10:00
2015-10-12 15:30:09 +11:00
2013-08-14 14:58:08 +10:00
2014-06-24 12:43:13 +10:00
2015-06-11 15:16:49 +10:00
2016-04-14 15:47:06 +10:00
2016-05-01 18:32:32 +10:00
2015-08-03 11:34:12 +02:00
2016-02-18 00:03:26 +11:00
2016-06-21 15:30:49 +10:00
2015-08-06 15:10:20 +10:00
2014-09-25 23:14:46 +10:00
2016-06-16 22:39:54 +10:00
2016-05-11 21:54:04 +10:00
2016-03-07 14:53:55 +11:00
2016-05-11 21:53:59 +10:00
2016-05-20 10:12:41 -07:00
2016-06-14 13:58:26 +10:00
2016-06-14 13:58:27 +10:00
2014-10-15 11:23:20 +11:00
2016-03-07 14:53:53 +11:00
2016-06-14 13:58:27 +10:00
2016-03-07 14:53:53 +11:00
2015-06-02 11:47:45 +10:00
2016-04-11 20:30:43 +10:00
2015-03-24 13:15:52 +11:00
2016-03-07 14:53:52 +11:00
2014-11-19 21:41:51 +11:00
2016-06-14 13:58:26 +10:00
2016-07-07 16:33:27 +10:00
2015-11-24 17:45:18 -06:00
2016-07-07 22:06:55 +10:00
2016-05-11 21:54:26 +10:00
2016-03-11 17:20:11 -06:00
2016-03-11 17:20:12 -06:00
2013-06-29 12:57:50 +04:00
2016-06-21 15:30:50 +10:00
2014-09-25 23:14:46 +10:00
2016-06-08 10:40:05 +10:00
2013-08-14 15:33:26 +10:00
2016-05-20 10:12:41 -07:00
2013-10-18 18:44:49 -05:00
2016-06-06 10:48:07 +10:00
2013-07-01 11:10:34 +10:00
2014-03-07 13:50:19 +11:00
2014-07-28 11:30:54 +10:00
2015-04-11 20:49:09 +10:00
2016-06-14 13:58:26 +10:00
2016-07-05 23:49:52 +10:00
2016-07-08 19:22:15 +10:00
2016-02-09 12:03:25 +01:00
2016-06-21 15:30:49 +10:00
2016-05-11 21:54:01 +10:00
2015-12-14 20:40:32 +11:00
2016-06-14 13:58:25 +10:00
2016-03-01 19:27:20 +11:00
2016-03-01 19:27:20 +11:00
2014-01-15 13:46:44 +11:00
2016-06-21 15:30:51 +10:00
2016-01-11 14:27:28 +11:00
2014-10-09 22:26:04 -04:00
2013-10-31 12:37:29 +11:00
2014-01-07 19:06:03 -06:00
2016-05-01 18:33:04 +10:00
2013-05-09 13:46:38 -04:00
2015-03-28 22:03:40 +11:00
2016-06-16 22:23:11 +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
2016-07-05 23:58:53 +10:00
2015-06-07 19:29:00 +10:00
2015-08-06 16:36:23 +10:00
2016-06-21 15:30:50 +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
2016-05-23 17:04:14 -07:00
2013-10-11 17:26:49 +11:00
2016-03-02 23:34:50 +11:00
2016-04-12 21:05:18 +10:00
2016-03-25 16:37:42 -07:00