[RFC PATCH 0/5] powerpc: make iowrite32be etc. inline

Arnd Bergmann arnd at arndb.de
Fri Nov 1 00:46:41 AEDT 2019


On Thu, Oct 31, 2019 at 8:39 AM Rasmus Villemoes
<linux at rasmusvillemoes.dk> wrote:
> On 31/10/2019 01.31, Rasmus Villemoes wrote:
>
> So sorry for the noise. Maybe I'll just have to bite the bullet and
> introduce private qe_iowrite32be etc. and define them based on $ARCH.
> Any better ideas would be much appreciated.

We use that approach in a number of drivers already, I think it's ok to add it
to another driver. Just make the powerpc case use out_be32 and everything
else use iowrite32_be. You may also be able to enable the driver for
CONFIG_COMPILE_TEST after that.

     Arnd


More information about the Linuxppc-dev mailing list