[v5 08/12] soc/fsl/qbman: Rework portal mapping calls for ARM/PPC
From: catalin.marinas@arm.com (Catalin Marinas)
Date: 2017-09-21 14:32:48
Also in:
linux-devicetree, linuxppc-dev, lkml
From: catalin.marinas@arm.com (Catalin Marinas)
Date: 2017-09-21 14:32:48
Also in:
linux-devicetree, linuxppc-dev, lkml
On Mon, Sep 18, 2017 at 04:39:43PM -0400, Roy Pledge wrote:
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>