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


Groups > linux.kernel > #1673017

Re: [PATCH 4/7] alpha: provide ioread64 and iowrite64 implementations

From Alan Cox <gnomes@lxorguk.ukuu.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH 4/7] alpha: provide ioread64 and iowrite64 implementations
Date 2017-06-22 22:10 +0200
Message-ID <tVgAp-Xd-9@gated-at.bofh.it> (permalink)
References <tVdsS-7hT-17@gated-at.bofh.it> <tVdCA-7lD-69@gated-at.bofh.it>
Organization Intel Corporation

Show all headers | View raw


On Thu, 22 Jun 2017 10:48:14 -0600
Logan Gunthorpe <logang@deltatee.com> wrote:

> Alpha implements its own io operation and doesn't use the
> common library. Thus to make ioread64 and iowrite64 globally
> available we need to add implementations for alpha.
> 
> For this, we simply use calls that chain two 32-bit operations.
> (mostly because I don't really understand the alpha architecture.)

But this does not do the same thing as an ioread64 with regards to
atomicity or side effects on the device. The same is true of the other
hacks. You either have a real 64bit single read/write from MMIO space or
you don't. You can't fake it.


Alan

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


Thread

[PATCH 4/7] alpha: provide ioread64 and iowrite64 implementations Logan Gunthorpe <logang@deltatee.com> - 2017-06-22 19:00 +0200
  Re: [PATCH 4/7] alpha: provide ioread64 and iowrite64 implementations "Stephen  Bates" <sbates@raithlin.com> - 2017-06-22 19:30 +0200
    Re: [PATCH 4/7] alpha: provide ioread64 and iowrite64 implementations Logan Gunthorpe <logang@deltatee.com> - 2017-06-22 19:40 +0200
  Re: [PATCH 4/7] alpha: provide ioread64 and iowrite64  implementations Alan Cox <gnomes@lxorguk.ukuu.org.uk> - 2017-06-22 22:10 +0200
    Re: [PATCH 4/7] alpha: provide ioread64 and iowrite64 implementations Logan Gunthorpe <logang@deltatee.com> - 2017-06-22 22:20 +0200
      Re: [PATCH 4/7] alpha: provide ioread64 and iowrite64 implementations Arnd Bergmann <arnd@arndb.de> - 2017-06-22 23:10 +0200
        Re: [PATCH 4/7] alpha: provide ioread64 and iowrite64 implementations Logan Gunthorpe <logang@deltatee.com> - 2017-06-22 23:20 +0200
  Re: [PATCH 4/7] alpha: provide ioread64 and iowrite64 implementations Richard Henderson <rth@twiddle.net> - 2017-06-22 23:30 +0200

csiph-web