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

Michael Ellerman patch-notifications at ellerman.id.au
Thu Jan 11 13:25:43 AEDT 2018


On Wed, 2018-01-03 at 21:12:52 UTC, 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>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/e2d5915293ffdff977ddcfc12b817b

cheers


More information about the Linuxppc-dev mailing list