Re: [PATCH v5 2/2] hwspinlock: add sun6i hardware spinlock support

2021-01-08 Thread Maxime Ripard
On Thu, Jan 07, 2021 at 09:43:14AM +0100, Wilken Gottwalt wrote: > On Wed, 6 Jan 2021 11:15:42 +0100 > Maxime Ripard wrote: > > > On Wed, Dec 23, 2020 at 12:35:10PM +0100, Wilken Gottwalt wrote: > > > Adds the sun6i_hwspinlock driver for the hardware spinlock unit found in > > > most of the sun6i

Re: [PATCH v5 2/2] hwspinlock: add sun6i hardware spinlock support

2021-01-08 Thread Wilken Gottwalt
On Thu, 7 Jan 2021 11:43:48 -0600 Bjorn Andersson wrote: > On Wed 23 Dec 05:35 CST 2020, Wilken Gottwalt wrote: > > > Adds the sun6i_hwspinlock driver for the hardware spinlock unit found in > > most of the sun6i compatible SoCs. > > > > This unit provides at least 32 spinlocks in hardware. The

Re: [PATCH v5 2/2] hwspinlock: add sun6i hardware spinlock support

2021-01-07 Thread Bjorn Andersson
On Wed 23 Dec 05:35 CST 2020, Wilken Gottwalt wrote: > Adds the sun6i_hwspinlock driver for the hardware spinlock unit found in > most of the sun6i compatible SoCs. > > This unit provides at least 32 spinlocks in hardware. The implementation > supports 32, 64, 128 or 256 32bit registers. A lock c

Re: [PATCH v5 2/2] hwspinlock: add sun6i hardware spinlock support

2021-01-07 Thread Wilken Gottwalt
On Wed, 6 Jan 2021 11:15:42 +0100 Maxime Ripard wrote: > On Wed, Dec 23, 2020 at 12:35:10PM +0100, Wilken Gottwalt wrote: > > Adds the sun6i_hwspinlock driver for the hardware spinlock unit found in > > most of the sun6i compatible SoCs. > > > > This unit provides at least 32 spinlocks in hardwa

Re: [PATCH v5 2/2] hwspinlock: add sun6i hardware spinlock support

2021-01-06 Thread Maxime Ripard
On Wed, Dec 23, 2020 at 12:35:10PM +0100, Wilken Gottwalt wrote: > Adds the sun6i_hwspinlock driver for the hardware spinlock unit found in > most of the sun6i compatible SoCs. > > This unit provides at least 32 spinlocks in hardware. The implementation > supports 32, 64, 128 or 256 32bit register

[PATCH v5 2/2] hwspinlock: add sun6i hardware spinlock support

2020-12-23 Thread Wilken Gottwalt
Adds the sun6i_hwspinlock driver for the hardware spinlock unit found in most of the sun6i compatible SoCs. This unit provides at least 32 spinlocks in hardware. The implementation supports 32, 64, 128 or 256 32bit registers. A lock can be taken by reading a register and released by writing a 0 to