Re: [PATCH 3/7] soc: fsl: qe: avoid ppc-specific io accessors

2019-10-23 Thread Rasmus Villemoes
On 22/10/2019 17.01, Christophe Leroy wrote: > > > On 10/18/2019 12:52 PM, Rasmus Villemoes wrote: >> In preparation for allowing to build QE support for architectures >> other than PPC, replace the ppc-specific io accessors. Done via >> > > This patch is not transparent in terms of performance,

Re: [PATCH 3/7] soc: fsl: qe: avoid ppc-specific io accessors

2019-10-22 Thread Christophe Leroy
On 10/18/2019 12:52 PM, Rasmus Villemoes wrote: In preparation for allowing to build QE support for architectures other than PPC, replace the ppc-specific io accessors. Done via This patch is not transparent in terms of performance, functions get changed significantly. Before the patch:

[PATCH 3/7] soc: fsl: qe: avoid ppc-specific io accessors

2019-10-18 Thread Rasmus Villemoes
In preparation for allowing to build QE support for architectures other than PPC, replace the ppc-specific io accessors. Done via $ spatch --sp-file io.cocci --in-place drivers/soc/fsl/qe/ where io.cocci is @@ expression addr, val; @@ - out_be32(addr, val) + iowrite32be(val, addr) @@ expression