soc/fsl/qbman: Rework portal mapping calls for ARM/PPC
authorRoy Pledge <roy.pledge@nxp.com>
Mon, 18 Sep 2017 20:39:43 +0000 (16:39 -0400)
committerLi Yang <leoyang.li@nxp.com>
Fri, 22 Sep 2017 18:33:07 +0000 (13:33 -0500)
commite6e2df69c8321fcb5497a409a1a2a3139b15c3d8
treea75ba68290c69111fffe696588599de1fbdb3739
parent219e8e0580cc441504b75e291401cf108e1a78f3
soc/fsl/qbman: Rework portal mapping calls for ARM/PPC

Rework portal mapping for PPC and ARM. The PPC devices require a
cacheable coherent mapping while ARM will work with a non-cachable/write
combine mapping. This also eliminates the need for manual cache
flushes on ARM. This also fixes the code so sparse checking is clean.

Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/qbman/bman.c
drivers/soc/fsl/qbman/bman_portal.c
drivers/soc/fsl/qbman/bman_priv.h
drivers/soc/fsl/qbman/dpaa_sys.h
drivers/soc/fsl/qbman/qman.c
drivers/soc/fsl/qbman/qman_portal.c
drivers/soc/fsl/qbman/qman_priv.h