soc/fsl/qbman: Cleanup QMan queues if device was already initialized
authorRoy Pledge <roy.pledge@nxp.com>
Thu, 1 Aug 2019 20:16:57 +0000 (20:16 +0000)
committerLi Yang <leoyang.li@nxp.com>
Thu, 15 Aug 2019 21:41:47 +0000 (16:41 -0500)
commitc5501aa92a881e599e1dc80f387d27763d07f67c
treeb63ad6e714f67ba0d1162c1c8907a526adce64d9
parent0505d00c8dbaf06cb71e7a16818313ce1959e6d7
soc/fsl/qbman: Cleanup QMan queues if device was already initialized

If the QMan device was previously initialized make sure all the
frame queues are out of service once all the portals are probed.
This handles the case where the kernel is restarted without the
SoC being reset (kexec for example)

Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/qbman/qman.c
drivers/soc/fsl/qbman/qman_ccsr.c
drivers/soc/fsl/qbman/qman_portal.c
drivers/soc/fsl/qbman/qman_priv.h