[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200314110258.GA16135@kozik-lap>
Date: Sat, 14 Mar 2020 12:02:58 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: Richard Henderson <rth@...ddle.net>,
Ivan Kokshaysky <ink@...assic.park.msu.ru>,
Matt Turner <mattst88@...il.com>,
Alexey Brodkin <abrodkin@...opsys.com>,
Vineet Gupta <vgupta@...opsys.com>,
"James E.J. Bottomley" <James.Bottomley@...senPartnership.com>,
Helge Deller <deller@....de>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <mpe@...erman.id.au>,
Yoshinori Sato <ysato@...rs.sourceforge.jp>,
Rich Felker <dalias@...c.org>,
Dave Airlie <airlied@...hat.com>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
Ben Skeggs <bskeggs@...hat.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Jiri Slaby <jirislaby@...il.com>,
Nick Kossifidis <mickflemm@...il.com>,
Luis Chamberlain <mcgrof@...nel.org>,
Kalle Valo <kvalo@...eaurora.org>,
"David S. Miller" <davem@...emloft.net>,
Dave Jiang <dave.jiang@...el.com>,
Jon Mason <jdmason@...zu.us>, Allen Hubbe <allenbh@...il.com>,
"Michael S. Tsirkin" <mst@...hat.com>,
Jason Wang <jasowang@...hat.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Andrew Morton <akpm@...ux-foundation.org>,
Thomas Gleixner <tglx@...utronix.de>,
linux-alpha@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-snps-arc@...ts.infradead.org, linux-parisc@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, linux-sh@...r.kernel.org,
dri-devel@...ts.freedesktop.org, nouveau@...ts.freedesktop.org,
linux-media@...r.kernel.org, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org, linux-ntb@...glegroups.com,
virtualization@...ts.linux-foundation.org,
linux-arch@...r.kernel.org
Subject: Re: [RESEND PATCH v2 1/9] iomap: Constify ioreadX() iomem argument
(as in generic implementation)
On Wed, Feb 19, 2020 at 06:49:59PM +0100, Krzysztof Kozlowski wrote:
> The ioreadX() and ioreadX_rep() helpers have inconsistent interface. On
> some architectures void *__iomem address argument is a pointer to const,
> on some not.
>
> Implementations of ioreadX() do not modify the memory under the address
> so they can be converted to a "const" version for const-safety and
> consistency among architectures.
>
> Suggested-by: Geert Uytterhoeven <geert@...ux-m68k.org>
> Signed-off-by: Krzysztof Kozlowski <krzk@...nel.org>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@...der.be>
> Reviewed-by: Arnd Bergmann <arnd@...db.de>
Hi Arnd,
This patch touches multipel file systems so no one is brave enough to
pick it up. However you are mentioned as maintainer of generic asm
headers so maybe you could apply it to arm-soc?
Best regards,
Krzysztof
>
> ---
>
> Changes since v1:
> 1. Constify also ioreadX_rep() and mmio_insX(),
> 2. Squash lib+alpha+powerpc+parisc+sh into one patch for bisectability,
> 3. Add Geert's review.
> 4. Add Arnd's review.
> ---
> arch/alpha/include/asm/core_apecs.h | 6 +--
> arch/alpha/include/asm/core_cia.h | 6 +--
> arch/alpha/include/asm/core_lca.h | 6 +--
> arch/alpha/include/asm/core_marvel.h | 4 +-
> arch/alpha/include/asm/core_mcpcia.h | 6 +--
> arch/alpha/include/asm/core_t2.h | 2 +-
> arch/alpha/include/asm/io.h | 12 ++---
> arch/alpha/include/asm/io_trivial.h | 16 +++---
> arch/alpha/include/asm/jensen.h | 2 +-
> arch/alpha/include/asm/machvec.h | 6 +--
> arch/alpha/kernel/core_marvel.c | 2 +-
> arch/alpha/kernel/io.c | 12 ++---
> arch/parisc/include/asm/io.h | 4 +-
> arch/parisc/lib/iomap.c | 72 +++++++++++++--------------
> arch/powerpc/kernel/iomap.c | 28 +++++------
> arch/sh/kernel/iomap.c | 22 ++++----
> include/asm-generic/iomap.h | 28 +++++------
> include/linux/io-64-nonatomic-hi-lo.h | 4 +-
> include/linux/io-64-nonatomic-lo-hi.h | 4 +-
> lib/iomap.c | 30 +++++------
> 20 files changed, 136 insertions(+), 136 deletions(-)
>
Powered by blists - more mailing lists