]> 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)
commit0a101250dd349b988bc74500b07dde03281b0838
tree1b70ad14038759d6e9e833616fa4ec55fb9e0894
parent784c589a3128ebd1efcc0f9d51233582185b3962
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