Re: [PATCH v2 2/2] hwspinlock: add sunxi hardware spinlock support

2020-12-07 Thread Maxime Ripard
On Fri, Dec 04, 2020 at 06:07:25PM +0100, Wilken Gottwalt wrote: > On Fri, 4 Dec 2020 17:21:17 +0100 > Maxime Ripard wrote: > > > On Fri, Dec 04, 2020 at 04:35:12PM +0100, Wilken Gottwalt wrote: > > > Adds the sunxi_hwspinlock driver for the hardware spinlock unit found in > > > most of the sun8i

Re: [PATCH v2 2/2] hwspinlock: add sunxi hardware spinlock support

2020-12-04 Thread Wilken Gottwalt
On Fri, 4 Dec 2020 17:21:17 +0100 Maxime Ripard wrote: > On Fri, Dec 04, 2020 at 04:35:12PM +0100, Wilken Gottwalt wrote: > > Adds the sunxi_hwspinlock driver for the hardware spinlock unit found in > > most of the sun8i and sun50i based SoCs. > > > > This unit provides at least 32 spinlocks in

Re: [PATCH v2 2/2] hwspinlock: add sunxi hardware spinlock support

2020-12-04 Thread Wilken Gottwalt
On Fri, 4 Dec 2020 17:21:17 +0100 Maxime Ripard wrote: > On Fri, Dec 04, 2020 at 04:35:12PM +0100, Wilken Gottwalt wrote: > > Adds the sunxi_hwspinlock driver for the hardware spinlock unit found in > > most of the sun8i and sun50i based SoCs. > > > > This unit provides at least 32 spinlocks in

Re: [PATCH v2 2/2] hwspinlock: add sunxi hardware spinlock support

2020-12-04 Thread Maxime Ripard
On Fri, Dec 04, 2020 at 04:35:12PM +0100, Wilken Gottwalt wrote: > Adds the sunxi_hwspinlock driver for the hardware spinlock unit found in > most of the sun8i and sun50i based SoCs. > > This unit provides at least 32 spinlocks in hardware. The implementation > supports 32, 64, 128 or 256 32bit re

[PATCH v2 2/2] hwspinlock: add sunxi hardware spinlock support

2020-12-04 Thread Wilken Gottwalt
Adds the sunxi_hwspinlock driver for the hardware spinlock unit found in most of the sun8i and sun50i based SoCs. This unit provides at least 32 spinlocks in hardware. The implementation supports 32, 64, 128 or 256 32bit registers, where one lock can be taken by reading a register and released by