Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1673035

Re: [PATCH 3/7] asm-generic/io.h: make ioread64 and iowrite64 universally available

From Logan Gunthorpe <logang@deltatee.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/7] asm-generic/io.h: make ioread64 and iowrite64 universally available
Date 2017-06-22 22:40 +0200
Message-ID <tVh3s-18t-17@gated-at.bofh.it> (permalink)
References <tVdsS-7hT-17@gated-at.bofh.it> <tVdsT-7hT-33@gated-at.bofh.it> <tVgK5-10A-3@gated-at.bofh.it> <tVgTL-15s-5@gated-at.bofh.it> <tVh3r-18t-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 6/22/2017 2:36 PM, Alan Cox wrote:
> I think that makes sense for the platforms with that problem. I'm not
> sure there are many that can't do it for mmio at least. 486SX can't do it
> and I guess some ARM32 but I think almost everyone else can including
> most 32bit x86.
>
> What's more of a problem is a lot of platforms can do 64bit MMIO via
> ioread/write64 but not 64bit port I/O, and it's not clear how you
> represent that via an ioread/write API that abstracts it away.

In Patch 2, we call bad_io_access for anyone trying to do 64bit accesses 
on port I/O.

Logan

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 3/7] asm-generic/io.h: make ioread64 and iowrite64 universally available Logan Gunthorpe <logang@deltatee.com> - 2017-06-22 18:50 +0200
  Re: [PATCH 3/7] asm-generic/io.h: make ioread64 and iowrite64  universally available Alan Cox <gnomes@lxorguk.ukuu.org.uk> - 2017-06-22 22:20 +0200
    Re: [PATCH 3/7] asm-generic/io.h: make ioread64 and iowrite64  universally available Logan Gunthorpe <logang@deltatee.com> - 2017-06-22 22:30 +0200
      Re: [PATCH 3/7] asm-generic/io.h: make ioread64 and iowrite64  universally available Alan Cox <gnomes@lxorguk.ukuu.org.uk> - 2017-06-22 22:40 +0200
        Re: [PATCH 3/7] asm-generic/io.h: make ioread64 and iowrite64  universally available Logan Gunthorpe <logang@deltatee.com> - 2017-06-22 22:40 +0200

csiph-web