[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140417154714.GD30553@arm.com>
Date: Thu, 17 Apr 2014 16:47:15 +0100
From: Will Deacon <will.deacon@....com>
To: Sam Ravnborg <sam@...nborg.org>
Cc: "linux-arch@...r.kernel.org" <linux-arch@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"arnd@...db.de" <arnd@...db.de>,
"monstr@...str.eu" <monstr@...str.eu>,
"dhowells@...hat.com" <dhowells@...hat.com>,
"broonie@...aro.org" <broonie@...aro.org>,
"benh@...nel.crashing.org" <benh@...nel.crashing.org>,
"peterz@...radead.org" <peterz@...radead.org>,
"paulmck@...ux.vnet.ibm.com" <paulmck@...ux.vnet.ibm.com>
Subject: Re: [PATCH 00/18] Cross-architecture definitions of relaxed MMIO
accessors
Hi Sam,
On Thu, Apr 17, 2014 at 04:36:38PM +0100, Sam Ravnborg wrote:
> On Thu, Apr 17, 2014 at 02:44:03PM +0100, Will Deacon wrote:
> > Hello,
> >
> > This RFC series attempts to define a portable (i.e. cross-architecture)
> > definition of the {readX,writeX}_relaxed MMIO accessor functions. These
> > functions are already in widespread use amongst drivers (mainly those supporting
> > devices embedded in ARM SoCs), but lack any well-defined semantics and,
> > subsequently, any portable definitions to allow these drivers to be compiled for
> > other architectures.
>
> Could this be made in such a way that only architectures that need
> to provide their own versions actually have to add them?
>
> The current patch-set adds the same dummy defines all over,
> and will put this burden also on new architectures.
It shouldn't be a burden for new architectures, as they will use
asm-generic/io.h and get the definitions from there.
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