Re: [PATCH] lib: 64bit IO

From: Greg Kroah-Hartman
Date: Tue Jan 29 2019 - 11:01:35 EST


On Tue, Jan 29, 2019 at 05:41:02PM +0200, Vladimir Kondratiev wrote:
> implement missing io{read|write}64
>
> For 64-bit platforms, these 64-bit io functions are defined in
> include/asm-generic/iomap.h,
> but actual implementation missing. Provide it.

What is in include/asm-generic/io.h?

$ git grep iowrite64be | grep generic
include/asm-generic/io.h:#ifndef iowrite64be
include/asm-generic/io.h:#define iowrite64be iowrite64be
include/asm-generic/io.h:static inline void iowrite64be(u64 value, volatile void __iomem *addr)
include/asm-generic/iomap.h:extern void iowrite64be(u64, void __iomem *);

so are you sure this is needed?

What code is failing to build for you?

thanks,

greg k-h