]> git.baikalelectronics.ru Git - kernel.git/commit
soc: fsl: qbman: replace CPU 0 with any online CPU in hotplug handlers
authorMadalin Bucur <madalin.bucur@nxp.com>
Fri, 28 Sep 2018 08:43:21 +0000 (11:43 +0300)
committerLi Yang <leoyang.li@nxp.com>
Fri, 5 Oct 2018 19:01:46 +0000 (14:01 -0500)
commit039f7481b6e36674e4ea49e0a57ff461a8eec5d5
treeb423fce7b8669fcc80961cabad77e420ac2f4f47
parent0a101250dd349b988bc74500b07dde03281b0838
soc: fsl: qbman: replace CPU 0 with any online CPU in hotplug handlers

The existing code sets portal IRQ affinity to CPU 0 in the
offline hotplug handler. If CPU 0 is offline this is invalid.
Use a different online CPU instead.

Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/qbman/bman_portal.c
drivers/soc/fsl/qbman/qman_portal.c