]> git.baikalelectronics.ru Git - kernel.git/commit
soc: fsl: qbman: Check if CPU is offline when initializing portals
authorRoy Pledge <roy.pledge@nxp.com>
Fri, 28 Sep 2018 08:43:20 +0000 (11:43 +0300)
committerLi Yang <leoyang.li@nxp.com>
Fri, 5 Oct 2018 19:01:46 +0000 (14:01 -0500)
commit0aa6e8d6e5f0f4d2666298d87f8ffed472f56f09
tree1b70ad14038759d6e9e833616fa4ec55fb9e0894
parent21e971d8be6289f709ee20bce14b9956f214c042
soc: fsl: qbman: Check if CPU is offline when initializing portals

If the CPU to affine the portal interrupt is offline at boot time
affine the portal interrupt to another online CPU. If the CPU is later
brought online the hotplug handler will correctly adjust the affinity.
Moved common code in a function.

Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/qbman/bman.c
drivers/soc/fsl/qbman/dpaa_sys.h
drivers/soc/fsl/qbman/qman.c