Re: [PATCH v10] iopoll: Introduce memory-mapped IO polling macros

2015-01-19 Thread Arnd Bergmann
On Monday 19 January 2015 14:40:28 Will Deacon wrote: > On Mon, Jan 19, 2015 at 12:43:48PM +, Joerg Roedel wrote: > > On Thu, Jan 15, 2015 at 10:25:11AM +, Will Deacon wrote: > > > If you get an Ack from any of Arnd/Joerg/akpm then I'm happy to take it > > > via > > > the arm-smmu pull (al

Re: [PATCH v10] iopoll: Introduce memory-mapped IO polling macros

2015-01-19 Thread Will Deacon
On Mon, Jan 19, 2015 at 12:43:48PM +, Joerg Roedel wrote: > On Thu, Jan 15, 2015 at 10:25:11AM +, Will Deacon wrote: > > If you get an Ack from any of Arnd/Joerg/akpm then I'm happy to take it via > > the arm-smmu pull (along with the patch making use of it). > > > > Joerg, would you be ok

Re: [PATCH v10] iopoll: Introduce memory-mapped IO polling macros

2015-01-19 Thread Joerg Roedel
On Thu, Jan 15, 2015 at 10:25:11AM +, Will Deacon wrote: > If you get an Ack from any of Arnd/Joerg/akpm then I'm happy to take it via > the arm-smmu pull (along with the patch making use of it). > > Joerg, would you be ok with that? I am ok with that, but like to have another Ack for it.

Re: [PATCH v10] iopoll: Introduce memory-mapped IO polling macros

2015-01-15 Thread Will Deacon
On Wed, Jan 14, 2015 at 07:42:53PM +, Mitchel Humpherys wrote: > On Tue, Dec 16 2014 at 01:45:27 AM, Will Deacon wrote: > > On Mon, Dec 15, 2014 at 11:47:23PM +, Mitchel Humpherys wrote: > >> From: Matt Wagantall > >> > >> It is sometimes necessary to poll a memory-mapped register until

Re: [PATCH v10] iopoll: Introduce memory-mapped IO polling macros

2015-01-14 Thread Mitchel Humpherys
On Tue, Dec 16 2014 at 01:45:27 AM, Will Deacon wrote: > On Mon, Dec 15, 2014 at 11:47:23PM +, Mitchel Humpherys wrote: >> From: Matt Wagantall >> >> It is sometimes necessary to poll a memory-mapped register until its value >> satisfies some condition. Introduce a family of convenience macr

Re: [PATCH v10] iopoll: Introduce memory-mapped IO polling macros

2014-12-16 Thread Will Deacon
On Mon, Dec 15, 2014 at 11:47:23PM +, Mitchel Humpherys wrote: > From: Matt Wagantall > > It is sometimes necessary to poll a memory-mapped register until its value > satisfies some condition. Introduce a family of convenience macros that do > this. Tight-looping, sleeping, and timing out can

[PATCH v10] iopoll: Introduce memory-mapped IO polling macros

2014-12-15 Thread Mitchel Humpherys
From: Matt Wagantall It is sometimes necessary to poll a memory-mapped register until its value satisfies some condition. Introduce a family of convenience macros that do this. Tight-looping, sleeping, and timing out can all be accomplished using these macros. Cc: Thierry Reding Cc: Will Deacon