All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Rich Felker <dalias@libc.org>, Jiri Slaby <jirislaby@gmail.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	David Airlie <airlied@linux.ie>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	DRI Development <dri-devel@lists.freedesktop.org>,
	virtualization@lists.linux-foundation.org,
	"James E.J. Bottomley" <James.Bottomley@hansenpartnership.com>,
	netdev <netdev@vger.kernel.org>,
	Paul Mackerras <paulus@samba.org>,
	Linux-Arch <linux-arch@vger.kernel.org>,
	Dave Jiang <dave.jiang@intel.com>,
	Yoshinori Sato <ysato@users.sourceforge.jp>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Helge Deller <deller@gmx.de>,
	Linux-sh list <linux-sh@vger.kernel.org>,
	Alexey Brodkin <abrodkin@synopsys.com>,
	Ben Skeggs <bskeggs@redhat.com>,
	nouveau@lists.freedesktop.org, Dave Airlie <airlied@redhat.com>,
	Matt Turner <mattst88@gmail.com>,
	arcml <linux-snps-arc@lists.infradead.org>, Nick Kossifidis <mic>
Subject: Re: [RFT 00/13] iomap: Constify ioreadX() iomem argument
Date: Wed, 8 Jan 2020 09:15:50 +0100	[thread overview]
Message-ID: <CAJKOXPffZDPz6nAf8fGc-k76KiNWc2KXKJxkWuWjeDtEm1tTHA__48924.4789745257$1578471672$gmane$org@mail.gmail.com> (raw)
In-Reply-To: <CAMuHMdW4ek0OYQDrrbcpZjNUTTP04nSbwkmiZvBmKcU=PQM9qA@mail.gmail.com>

On Wed, 8 Jan 2020 at 09:08, Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>
> Hi Krzysztof,
>
> On Tue, Jan 7, 2020 at 5:53 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
> > The ioread8/16/32() and others have inconsistent interface among the
> > architectures: some taking address as const, some not.
> >
> > It seems there is nothing really stopping all of them to take
> > pointer to const.
>
> Shouldn't all of them take const volatile __iomem pointers?
> It seems the "volatile" is missing from all but the implementations in
> include/asm-generic/io.h.

It's kind of separate issue although I could squash it to limit
redundant changes.

> > Patchset was really tested on all affected architectures.

I just spot an error in my first message. I wanted to say:
"Patchset was NOT really tested on all affected architectures."

Obviously.


> > Build testing is in progress - I hope auto-builders will point any issues.
> >
> >
> > Todo
> > ====
> > Convert also string versions (ioread16_rep() etc) if this aproach looks OK.
> >
> >
> > Merging
> > =======
> > The first 5 patches - iomap, alpha, sh, parisc and powerpc - should probably go
> > via one tree, or even squashed into one.
>
> Yes, they should be squashed, cfr. Arnd's comment.
> I also wouldn't bother doing the updates in patches 6-10.

Indeed, thanks for comments.

Best regards,
Krzysztof

  parent reply	other threads:[~2020-01-08  8:15 UTC|newest]

Thread overview: 191+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-07 16:52 [RFT 00/13] iomap: Constify ioreadX() iomem argument Krzysztof Kozlowski
2020-01-07 16:52 ` Krzysztof Kozlowski
2020-01-07 16:52 ` Krzysztof Kozlowski
2020-01-07 16:52 ` Krzysztof Kozlowski
2020-01-07 16:52 ` [RFT 01/13] iomap: Constify ioreadX() iomem argument (as in generic implementation) Krzysztof Kozlowski
2020-01-07 16:52 ` Krzysztof Kozlowski
2020-01-07 16:52   ` Krzysztof Kozlowski
2020-01-07 16:52   ` Krzysztof Kozlowski
2020-01-07 16:52   ` Krzysztof Kozlowski
     [not found] ` <1578415992-24054-1-git-send-email-krzk-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2020-01-07 16:52   ` Krzysztof Kozlowski
2020-01-07 16:52   ` [RFT 02/13] alpha: " Krzysztof Kozlowski
2020-01-07 16:53   ` [RFT 02/13] sh: " Krzysztof Kozlowski
2020-01-07 16:53   ` [RFT 03/13] alpha: " Krzysztof Kozlowski
2020-01-07 16:53   ` [RFT 03/13] sh: " Krzysztof Kozlowski
2020-01-07 16:53   ` [RFT 04/13] parisc: " Krzysztof Kozlowski
2020-01-07 16:53   ` [RFT 05/13] powerpc: " Krzysztof Kozlowski
2020-01-07 16:53   ` [RFT 06/13] arc: " Krzysztof Kozlowski
2020-01-07 16:53   ` [RFT 07/13] drm/mgag200: " Krzysztof Kozlowski
2020-01-07 16:53   ` [RFT 08/13] drm/nouveau: " Krzysztof Kozlowski
2020-01-07 16:53   ` [RFT 09/13] media: fsl-viu: " Krzysztof Kozlowski
2020-01-07 16:53   ` [RFT 10/13] net: wireless: ath5k: " Krzysztof Kozlowski
2020-01-07 16:53   ` [RFT 11/13] net: wireless: rtl818x: " Krzysztof Kozlowski
2020-01-07 16:53   ` [RFT 12/13] ntb: intel: " Krzysztof Kozlowski
2020-01-07 16:53   ` [RFT 13/13] virtio: pci: " Krzysztof Kozlowski
2020-01-07 16:52 ` [RFT 02/13] alpha: " Krzysztof Kozlowski
2020-01-07 16:52 ` Krzysztof Kozlowski
2020-01-07 16:52   ` Krzysztof Kozlowski
2020-01-07 16:52   ` Krzysztof Kozlowski
2020-01-07 16:52   ` Krzysztof Kozlowski
2020-01-08  8:10   ` Geert Uytterhoeven
2020-01-08  8:10   ` Geert Uytterhoeven
2020-01-08  8:10     ` Geert Uytterhoeven
2020-01-08  8:10     ` Geert Uytterhoeven
2020-01-08  8:10     ` Geert Uytterhoeven
2020-01-08  8:10     ` Geert Uytterhoeven
2020-01-08  9:07     ` Krzysztof Kozlowski
2020-01-08  9:07     ` Krzysztof Kozlowski
2020-01-08  9:07       ` Krzysztof Kozlowski
2020-01-08  9:07       ` Krzysztof Kozlowski
2020-01-08  9:07       ` Krzysztof Kozlowski
2020-01-08  9:07       ` Krzysztof Kozlowski
2020-01-07 16:53 ` [RFT 02/13] sh: " Krzysztof Kozlowski
2020-01-07 16:53 ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53 ` [RFT 03/13] alpha: " Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53 ` Krzysztof Kozlowski
2020-01-07 16:53 ` [RFT 03/13] sh: " Krzysztof Kozlowski
2020-01-07 16:53 ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 17:08   ` Arnd Bergmann
2020-01-07 17:08     ` Arnd Bergmann
2020-01-07 17:08     ` Arnd Bergmann
2020-01-07 17:08     ` Arnd Bergmann
2020-01-07 17:08     ` Arnd Bergmann
2020-01-07 17:08   ` Arnd Bergmann
2020-01-07 16:53 ` [RFT 04/13] parisc: " Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53 ` Krzysztof Kozlowski
2020-01-07 16:53 ` [RFT 05/13] powerpc: " Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53 ` Krzysztof Kozlowski
2020-01-07 16:53 ` [RFT 06/13] arc: " Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 17:10   ` Arnd Bergmann
2020-01-07 17:10     ` Arnd Bergmann
2020-01-07 17:10     ` Arnd Bergmann
2020-01-07 17:10     ` Arnd Bergmann
2020-01-07 17:10     ` Arnd Bergmann
2020-01-07 17:10   ` Arnd Bergmann
2020-01-07 16:53 ` Krzysztof Kozlowski
2020-01-07 16:53 ` [RFT 07/13] drm/mgag200: " Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53 ` Krzysztof Kozlowski
2020-01-07 16:53 ` [RFT 08/13] drm/nouveau: " Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53 ` Krzysztof Kozlowski
2020-01-07 16:53 ` [RFT 09/13] media: fsl-viu: " Krzysztof Kozlowski
2020-01-07 16:53 ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53 ` [RFT 10/13] net: wireless: ath5k: " Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53 ` Krzysztof Kozlowski
2020-01-07 16:53 ` [RFT 11/13] net: wireless: rtl818x: " Krzysztof Kozlowski
2020-01-07 16:53 ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53 ` [RFT 12/13] ntb: intel: " Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53 ` Krzysztof Kozlowski
2020-01-07 16:53 ` [RFT 13/13] virtio: pci: " Krzysztof Kozlowski
2020-01-07 16:53 ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-07 16:53   ` Krzysztof Kozlowski
2020-01-08  8:07 ` [RFT 00/13] iomap: Constify ioreadX() iomem argument Geert Uytterhoeven
2020-01-08  8:07   ` Geert Uytterhoeven
2020-01-08  8:07   ` Geert Uytterhoeven
2020-01-08  8:07   ` Geert Uytterhoeven
2020-01-08  8:07   ` Geert Uytterhoeven
2020-01-08  8:12   ` Geert Uytterhoeven
2020-01-08  8:12   ` Geert Uytterhoeven
2020-01-08  8:12     ` Geert Uytterhoeven
2020-01-08  8:12     ` Geert Uytterhoeven
2020-01-08  8:12     ` Geert Uytterhoeven
2020-01-08  8:12     ` Geert Uytterhoeven
2020-01-08  8:18     ` Krzysztof Kozlowski
2020-01-08  8:18       ` Krzysztof Kozlowski
2020-01-08  8:18       ` Krzysztof Kozlowski
2020-01-08  8:18       ` Krzysztof Kozlowski
2020-01-08  8:18       ` Krzysztof Kozlowski
2020-01-08  8:35       ` Christophe Leroy
2020-01-08  8:35         ` Christophe Leroy
2020-01-08  8:35         ` Christophe Leroy
2020-01-08  8:35         ` Christophe Leroy
2020-01-08  8:35         ` Christophe Leroy
2020-01-08  8:35         ` Christophe Leroy
2020-01-08  8:43         ` Geert Uytterhoeven
2020-01-08  8:43         ` Geert Uytterhoeven
2020-01-08  8:43           ` Geert Uytterhoeven
2020-01-08  8:43           ` Geert Uytterhoeven
2020-01-08  8:43           ` Geert Uytterhoeven
2020-01-08  8:43           ` Geert Uytterhoeven
2020-01-08  8:43           ` Geert Uytterhoeven
2020-01-08  8:43           ` Geert Uytterhoeven
2020-01-08  8:48           ` Christophe Leroy
2020-01-08  8:48           ` Christophe Leroy
2020-01-08  8:48             ` Christophe Leroy
2020-01-08  8:48             ` Christophe Leroy
2020-01-08  8:48             ` Christophe Leroy
2020-01-08  8:48             ` Christophe Leroy
2020-01-08  8:48             ` Christophe Leroy
2020-01-08  8:48             ` Christophe Leroy
2020-01-08 17:39             ` David Laight
2020-01-08 17:39               ` David Laight
2020-01-08 17:39               ` David Laight
2020-01-08 17:39               ` David Laight
2020-01-08 17:39               ` David Laight
2020-01-08  8:44         ` Arnd Bergmann
2020-01-08  8:44         ` Arnd Bergmann
2020-01-08  8:44           ` Arnd Bergmann
2020-01-08  8:44           ` Arnd Bergmann
2020-01-08  8:44           ` Arnd Bergmann
2020-01-08  8:44           ` Arnd Bergmann
2020-01-08  8:44           ` Arnd Bergmann
2020-01-08  9:15           ` Krzysztof Kozlowski
2020-01-08  9:15             ` Krzysztof Kozlowski
2020-01-08  9:15             ` Krzysztof Kozlowski
2020-01-08  9:15             ` Krzysztof Kozlowski
2020-01-08  9:15             ` Krzysztof Kozlowski
2020-01-08 11:55             ` Arnd Bergmann
2020-01-08 11:55             ` Arnd Bergmann
2020-01-08 11:55               ` Arnd Bergmann
2020-01-08 11:55               ` Arnd Bergmann
2020-01-08 11:55               ` Arnd Bergmann
2020-01-08 11:55               ` Arnd Bergmann
2020-01-08 11:55               ` Arnd Bergmann
2020-01-08  8:35       ` Christophe Leroy
2020-01-08  8:18     ` Krzysztof Kozlowski
2020-01-08  8:15   ` Krzysztof Kozlowski [this message]
2020-01-08  8:15   ` Krzysztof Kozlowski
2020-01-08  8:15     ` Krzysztof Kozlowski
2020-01-08  8:15     ` Krzysztof Kozlowski
2020-01-08  8:15     ` Krzysztof Kozlowski
2020-01-08  8:15     ` Krzysztof Kozlowski
2020-01-08  8:07 ` Geert Uytterhoeven
2020-01-07 16:52 Krzysztof Kozlowski
2020-01-07 16:52 Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJKOXPffZDPz6nAf8fGc-k76KiNWc2KXKJxkWuWjeDtEm1tTHA__48924.4789745257$1578471672$gmane$org@mail.gmail.com' \
    --to=krzk@kernel.org \
    --cc=James.Bottomley@hansenpartnership.com \
    --cc=abrodkin@synopsys.com \
    --cc=airlied@linux.ie \
    --cc=airlied@redhat.com \
    --cc=benh@kernel.crashing.org \
    --cc=bskeggs@redhat.com \
    --cc=dalias@libc.org \
    --cc=dave.jiang@intel.com \
    --cc=deller@gmx.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=geert@linux-m68k.org \
    --cc=jirislaby@gmail.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=linux-snps-arc@lists.infradead.org \
    --cc=mattst88@gmail.com \
    --cc=mpe@ellerman.id.au \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=nouveau@lists.freedesktop.org \
    --cc=paulus@samba.org \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=ysato@users.sourceforge.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.