Re: [PATCH 1/3] arch: Introduce load_acquire() and store_release()

2014-11-14 Thread Alexander Duyck
On 11/14/2014 02:45 AM, David Laight wrote: From: Alexander Duyck It is common for device drivers to make use of acquire/release semantics when dealing with descriptors stored in device memory. On reviewing the documentation and code for smp_load_acquire() and smp_store_release() as well as

Re: [PATCH 1/3] arch: Introduce load_acquire() and store_release()

2014-11-14 Thread Alexander Duyck
On 11/14/2014 02:19 AM, Will Deacon wrote: Hi Alex, On Thu, Nov 13, 2014 at 07:27:23PM +, Alexander Duyck wrote: It is common for device drivers to make use of acquire/release semantics when dealing with descriptors stored in device memory. On reviewing the documentation and code for

RE: [PATCH 1/3] arch: Introduce load_acquire() and store_release()

2014-11-14 Thread David Laight
From: Alexander Duyck > It is common for device drivers to make use of acquire/release semantics > when dealing with descriptors stored in device memory. On reviewing the > documentation and code for smp_load_acquire() and smp_store_release() as > well as reviewing an IBM website that goes over

Re: [PATCH 1/3] arch: Introduce load_acquire() and store_release()

2014-11-14 Thread Will Deacon
Hi Alex, On Thu, Nov 13, 2014 at 07:27:23PM +, Alexander Duyck wrote: > It is common for device drivers to make use of acquire/release semantics > when dealing with descriptors stored in device memory. On reviewing the > documentation and code for smp_load_acquire() and smp_store_release()

Re: [PATCH 1/3] arch: Introduce load_acquire() and store_release()

2014-11-14 Thread Will Deacon
Hi Alex, On Thu, Nov 13, 2014 at 07:27:23PM +, Alexander Duyck wrote: It is common for device drivers to make use of acquire/release semantics when dealing with descriptors stored in device memory. On reviewing the documentation and code for smp_load_acquire() and smp_store_release() as

RE: [PATCH 1/3] arch: Introduce load_acquire() and store_release()

2014-11-14 Thread David Laight
From: Alexander Duyck It is common for device drivers to make use of acquire/release semantics when dealing with descriptors stored in device memory. On reviewing the documentation and code for smp_load_acquire() and smp_store_release() as well as reviewing an IBM website that goes over the

Re: [PATCH 1/3] arch: Introduce load_acquire() and store_release()

2014-11-14 Thread Alexander Duyck
On 11/14/2014 02:19 AM, Will Deacon wrote: Hi Alex, On Thu, Nov 13, 2014 at 07:27:23PM +, Alexander Duyck wrote: It is common for device drivers to make use of acquire/release semantics when dealing with descriptors stored in device memory. On reviewing the documentation and code for

Re: [PATCH 1/3] arch: Introduce load_acquire() and store_release()

2014-11-14 Thread Alexander Duyck
On 11/14/2014 02:45 AM, David Laight wrote: From: Alexander Duyck It is common for device drivers to make use of acquire/release semantics when dealing with descriptors stored in device memory. On reviewing the documentation and code for smp_load_acquire() and smp_store_release() as well as