Thread (80 messages) 80 messages, 6 authors, 2019-11-20

Re: [PATCH v4 04/47] soc: fsl: qe: introduce qe_io{read, write}* wrappers

From: Timur Tabi <timur@kernel.org>
Date: 2019-11-12 05:18:00
Also in: linuxppc-dev, lkml

On Fri, Nov 8, 2019 at 7:03 AM Rasmus Villemoes
[off-list ref] wrote:
The QUICC engine drivers use the powerpc-specific out_be32() etc. In
order to allow those drivers to build for other architectures, those
must be replaced by iowrite32be(). However, on powerpc, out_be32() is
a simple inline function while iowrite32be() is out-of-line. So in
order not to introduce a performance regression on powerpc when making
the drivers work on other architectures, introduce qe_io* helpers.
Isn't it also true that iowrite32be() assumes a little-endian platform
and always does a byte swap?

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help