lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140925114417.GJ20043@arm.com>
Date:	Thu, 25 Sep 2014 12:44:17 +0100
From:	Will Deacon <will.deacon@....com>
To:	Arnd Bergmann <arnd@...db.de>
Cc:	"linux-arch@...r.kernel.org" <linux-arch@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"benh@...nel.crashing.org" <benh@...nel.crashing.org>,
	"chris@...kel.net" <chris@...kel.net>,
	"cmetcalf@...era.com" <cmetcalf@...era.com>,
	"davem@...emloft.net" <davem@...emloft.net>,
	"deller@....de" <deller@....de>,
	"dhowells@...hat.com" <dhowells@...hat.com>,
	"geert@...ux-m68k.org" <geert@...ux-m68k.org>,
	"heiko.carstens@...ibm.com" <heiko.carstens@...ibm.com>,
	"hpa@...or.com" <hpa@...or.com>,
	"jcmvbkbc@...il.com" <jcmvbkbc@...il.com>,
	"jesper.nilsson@...s.com" <jesper.nilsson@...s.com>,
	"mingo@...hat.com" <mingo@...hat.com>,
	"monstr@...str.eu" <monstr@...str.eu>,
	"paulmck@...ux.vnet.ibm.com" <paulmck@...ux.vnet.ibm.com>,
	"rdunlap@...radead.org" <rdunlap@...radead.org>,
	"sam@...nborg.org" <sam@...nborg.org>,
	"schwidefsky@...ibm.com" <schwidefsky@...ibm.com>,
	"starvik@...s.com" <starvik@...s.com>,
	"takata@...ux-m32r.org" <takata@...ux-m32r.org>,
	"tglx@...utronix.de" <tglx@...utronix.de>,
	"tony.luck@...el.com" <tony.luck@...el.com>,
	"daniel.thompson@...aro.org" <daniel.thompson@...aro.org>,
	"broonie@...aro.org" <broonie@...aro.org>,
	"linux@....linux.org.uk" <linux@....linux.org.uk>
Subject: Re: [PATCH v3 01/17] asm-generic: io: implement relaxed accessor
 macros as conditional wrappers

On Thu, Sep 25, 2014 at 11:43:41AM +0100, Arnd Bergmann wrote:
> On Thursday 25 September 2014 11:38:46 Will Deacon wrote:
> > On Thu, Sep 25, 2014 at 11:32:00AM +0100, Arnd Bergmann wrote:
> > > 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>
> > 
> > Thanks, Arnd. Do you have other patches queued for asm-generic, or shall I
> > take this patch (on its own) via the arm64 tree?
> 
> I don't have other patches queued up yet, but Thierry has another patch
> for asm-generic/io.h that I want to merge, so this time I'd prefer to
> take it through my tree in case there are conflicts.

Ok, suits me. I'll drop this from my series when it hits mainline.

Will
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ