[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4501051.vdxhyhkTWv@wuerfel>
Date: Thu, 25 Sep 2014 12:32 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Will Deacon <will.deacon@....com>
Cc: linux-arch@...r.kernel.org, linux-kernel@...r.kernel.org,
benh@...nel.crashing.org, chris@...kel.net, cmetcalf@...era.com,
davem@...emloft.net, deller@....de, dhowells@...hat.com,
geert@...ux-m68k.org, heiko.carstens@...ibm.com, hpa@...or.com,
jcmvbkbc@...il.com, jesper.nilsson@...s.com, mingo@...hat.com,
monstr@...str.eu, paulmck@...ux.vnet.ibm.com,
rdunlap@...radead.org, sam@...nborg.org, schwidefsky@...ibm.com,
starvik@...s.com, takata@...ux-m32r.org, tglx@...utronix.de,
tony.luck@...el.com, daniel.thompson@...aro.org,
broonie@...aro.org, linux@....linux.org.uk
Subject: Re: [PATCH v3 01/17] asm-generic: io: implement relaxed accessor macros as conditional wrappers
On Wednesday 24 September 2014 18:17:20 Will Deacon wrote:
> {read,write}{b,w,l,q}_relaxed are implemented by some architectures in
> order to permit memory-mapped I/O accesses with weaker barrier semantics
> than the non-relaxed variants.
>
> This patch adds wrappers to asm-generic so that drivers can rely on the
> relaxed accessors being available, even if they don't always provide
> weaker ordering guarantees. Since some architectures both include
> asm-generic/io.h and define some relaxed accessors, the definitions here
> are conditional for the time being.
>
> Cc: Arnd Bergmann <arnd@...db.de>
> Signed-off-by: Will Deacon <will.deacon@....com>
> ---
> include/asm-generic/io.h | 26 ++++++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
>
Acked-by: Arnd Bergmann <arnd@...db.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists