Re: [v5 08/12] soc/fsl/qbman: Rework portal mapping calls for ARM/PPC

2017-09-21 Thread Catalin Marinas
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

Re: [v5 08/12] soc/fsl/qbman: Rework portal mapping calls for ARM/PPC

2017-09-21 Thread Catalin Marinas
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

[v5 08/12] soc/fsl/qbman: Rework portal mapping calls for ARM/PPC

2017-09-18 Thread Roy Pledge
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

[v5 08/12] soc/fsl/qbman: Rework portal mapping calls for ARM/PPC

2017-09-18 Thread Roy Pledge
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