powerpc/pseries: Add pseries hotplug workqueue
authorJohn Allen <jallen@linux.vnet.ibm.com>
Thu, 7 Jul 2016 15:00:34 +0000 (10:00 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 19 Jul 2016 10:12:30 +0000 (20:12 +1000)
commit9054619ef54a3a832863ae25d15ac410ae3df146
treedfe4f17ba628fdac73c92d1669fc74e78250d8c3
parent8fbaa51d43ef2c6a72849ec34060910723a0365f
powerpc/pseries: Add pseries hotplug workqueue

In support of PAPR changes to add a new hotplug interrupt, introduce a
hotplug workqueue to avoid processing hotplug events in interrupt context.
We will also take advantage of the queue on PowerVM to ensure hotplug
events initiated from different sources (HMC and PRRN events) are handled
and serialized properly.

Signed-off-by: John Allen <jallen@linux.vnet.ibm.com>
Reviewed-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/dlpar.c