OSDN Git Service

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)
commitd8bac81ed144cc5928efcbbf5f1f6301954e9e9b
treeb423fce7b8669fcc80961cabad77e420ac2f4f47
parent9beaf661d6a72b7c05efb4b33d228032c7152f34
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