Re: [PATCH 2/2] hwspinlock: Introduce one new mode for hwspinlock

2018-04-17 Thread Bjorn Andersson
On Sat 07 Apr 20:06 PDT 2018, Baolin Wang wrote: > In some scenarios, user need do some time-consuming or sleepable > operations under the hardware spinlock protection for synchronization > between the multiple subsystems. > > For example, there is one PMIC efuse on Spreadtrum platform, which > n

[PATCH 2/2] hwspinlock: Introduce one new mode for hwspinlock

2018-04-07 Thread Baolin Wang
In some scenarios, user need do some time-consuming or sleepable operations under the hardware spinlock protection for synchronization between the multiple subsystems. For example, there is one PMIC efuse on Spreadtrum platform, which need to be accessed under one hardware lock. But during the har