[PATCH 4/7] io-64-nonatomic: Add relaxed accessor variants

Arnd Bergmann arnd at arndb.de
Mon Apr 25 09:11:55 PDT 2016

On Wednesday 13 April 2016 18:13:00 Robin Murphy wrote:
> Whilst commit 9439eb3ab9d1 ("asm-generic: io: implement relaxed
> accessor macros as conditional wrappers") makes the *_relaxed forms of
> I/O accessors universally available to drivers, in cases where writeq()
> is implemented via the io-64-nonatomic helpers, writeq_relaxed() will
> end up falling back to writel() regardless of whether writel_relaxed()
> is available (identically for s/write/read/).
> Add corresponding relaxed forms of the nonatomic helpers to delegate
> to the equivalent 32-bit accessors as appropriate.
> CC: Arnd Bergmann <arnd at arndb.de>
> CC: Christoph Hellwig <hch at lst.de>
> CC: Darren Hart <dvhart at linux.intel.com>
> CC: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
> Signed-off-by: Robin Murphy <robin.murphy at arm.com>
> ---

Acked-by: Arnd Bergmann <arnd at arndb.de>

More information about the linux-arm-kernel mailing list