Re: [PATCH v2 1/2] soc: qcom: provide mechanism for drivers to access L2 registers

2016-08-05 Thread Neil Leeder
On 8/5/2016 06:00 AM, Mark Rutland wrote: > On Thu, Aug 04, 2016 at 05:11:10PM -0400, Neil Leeder wrote: >> L2 registers are accessed using a select register and data >> register pair. To prevent multiple concurrent writes to the >> select register by independent drivers, the write to the >>

Re: [PATCH v2 1/2] soc: qcom: provide mechanism for drivers to access L2 registers

2016-08-05 Thread Neil Leeder
On 8/5/2016 06:00 AM, Mark Rutland wrote: > On Thu, Aug 04, 2016 at 05:11:10PM -0400, Neil Leeder wrote: >> L2 registers are accessed using a select register and data >> register pair. To prevent multiple concurrent writes to the >> select register by independent drivers, the write to the >>

Re: [PATCH v2 1/2] soc: qcom: provide mechanism for drivers to access L2 registers

2016-08-05 Thread Mark Rutland
On Thu, Aug 04, 2016 at 05:11:10PM -0400, Neil Leeder wrote: > L2 registers are accessed using a select register and data > register pair. To prevent multiple concurrent writes to the > select register by independent drivers, the write to the > select register and the associated access of the data

Re: [PATCH v2 1/2] soc: qcom: provide mechanism for drivers to access L2 registers

2016-08-05 Thread Mark Rutland
On Thu, Aug 04, 2016 at 05:11:10PM -0400, Neil Leeder wrote: > L2 registers are accessed using a select register and data > register pair. To prevent multiple concurrent writes to the > select register by independent drivers, the write to the > select register and the associated access of the data

[PATCH v2 1/2] soc: qcom: provide mechanism for drivers to access L2 registers

2016-08-04 Thread Neil Leeder
L2 registers are accessed using a select register and data register pair. To prevent multiple concurrent writes to the select register by independent drivers, the write to the select register and the associated access of the data register are protected with a lock. All drivers accessing the L2

[PATCH v2 1/2] soc: qcom: provide mechanism for drivers to access L2 registers

2016-08-04 Thread Neil Leeder
L2 registers are accessed using a select register and data register pair. To prevent multiple concurrent writes to the select register by independent drivers, the write to the select register and the associated access of the data register are protected with a lock. All drivers accessing the L2