On Wed, Jun 03, 2015 at 12:15:28AM +0530, Vaibhav Hiremath wrote: > To justify the need for hardware lock, lets take a real usecase scenario - > > In case of Marvell SoC, PXA910 silicon, both AP and CP are present and > these two ARM cores are sharing one pair of I2C pins. > > In order to keep I2C transaction operated with atomic, hardware lock > (RIPC) is required. > > This patch extends support for atomic operation by adding hardware lock support > to the i2c-core. > > PATCH[1/3] : Core changes for hardware lock > PATCH[2/3 & 3/3] : hardware lock support to i2c-pxa bus driver. Why don't you use the hwspinlock subsystem?
Attachment:
signature.asc
Description: Digital signature