[PATCH v3 1/1] powerpc/pseries: Make RAS IRQ explicitly dependent on DLPAR WQ

David Gibson david at gibson.dropbear.id.au
Thu Jan 4 11:48:11 AEDT 2018


On Wed, Jan 03, 2018 at 07:12:52PM -0200, Jose Ricardo Ziviani wrote:
> The hotplug engine uses its own workqueue to handle IRQ requests, the
> problem is that such workqueue is initialized after init_ras_IRQ, which
> will cause a kernel panic if any hotplug interruption is issued in that
> period of time.
> 
> This patch makes RAS IRQ registration explicitly dependent on DLPAR
> workqueue and adds a check to make sure that the workqueue is not
> initialized more than once.
> 
> Reported-by: Min Deng <mdeng at redhat.com>
> Reported-by: Daniel Henrique Barboza <danielhb at linux.vnet.ibm.com>
> Tested-by: Jose Ricardo Ziviani <joserz at linux.vnet.ibm.com>
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>

Reviewed-by: David Gibson <david at gibson.dropbear.id.au>

Michael, If this can be merged to a non-rebasing tree sooner rather
than later, that would be quite helpful to me.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20180104/5c5cd4ac/attachment.sig>


More information about the Linuxppc-dev mailing list