soc: fsl: dpio: Add support for memory backed QBMan portals
authorRoy Pledge <roy.pledge@nxp.com>
Fri, 5 Apr 2019 14:41:13 +0000 (14:41 +0000)
committerLi Yang <leoyang.li@nxp.com>
Mon, 20 May 2019 19:28:16 +0000 (14:28 -0500)
commit5842efa41f57a9efef95a3741bea0a6954033f4e
tree533a11b82b55d494813d7fdf850faeeb5acd52ca
parentdde2137d62b2d707c1b80f3c1f3182c3558dfa88
soc: fsl: dpio: Add support for memory backed QBMan portals

NXP devices with QBMan version 5 and above can enable software
portals that are memory backed. This allows the portal to be
mapped as cacheable/sharable (same as all normal memory) so
that portals can freely migrate between cores and clusters
in the SoC. The driver will enable this mode by default when
appropriate HW support is detected.

Signed-off-by: Youri Querry <youri.querry_1@nxp.com>
Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/dpio/dpio-driver.c
drivers/soc/fsl/dpio/qbman-portal.c
drivers/soc/fsl/dpio/qbman-portal.h