Re: [PATCH 2/2] sparc64: add reads{b,w,l}/writes{b,w,l}

From: Miquel Raynal
Date: Thu Jul 26 2018 - 19:28:04 EST


Hi Boris,

Boris Brezillon <boris.brezillon@xxxxxxxxxxx> wrote on Fri, 20 Jul 2018
10:23:39 +0200:

> +Miquel who's in charge of the NAND tree for this release
>
> On Wed, 11 Jul 2018 14:08:06 +0200
> Arnd Bergmann <arnd@xxxxxxxx> wrote:
>
> > Some drivers need these for compile-testing. On most architectures
> > they come from asm-generic/io.h, but not on sparc64, which has its
> > own definitions.
> >
> > Since we already have ioread*_rep()/iowrite*_rep() that have the
> > same behavior on sparc64 (i.e. all PCI I/O space is memory mapped),
> > we can rename the existing helpers and add macros to define them
> > to the same implementation.
> >
> > Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
>
> I tried to compile a sparc64 kernel with COMPILE_TEST=y plus the
> orion and s3c2410 NAND drivers enabled and it compiles fine (it does
> without this patch). So it seems to fix the compilation error reported
> by kbuild robots.
>
> Tested-by: Boris Brezillon <boris.brezillon@bootlin>
> (only compile-tested)
>
> Dave gave his A-b, so, if everyone is okay with that, I'd like this
> patch to go trough the NAND tree.

Applied to nand/next.

Thanks,
MiquÃl