[PATCH] hwspinlock/core: Add testing capabilities
From: Ido Yariv <hidden>
Date: 2012-12-30 14:27:18
Also in:
linux-omap, lkml
From: Ido Yariv <hidden>
Date: 2012-12-30 14:27:18
Also in:
linux-omap, lkml
Hi Steve, On Sun, Dec 30, 2012 at 10:13:08PM +0800, steve.zhan wrote:
Hi, ?? Acked-by: Steve zhan zhanzhenbo at gmail.com ? ?? "I'd rather not test the spinlocks after they are registering as they might already be in use by then." ??? Why? I think user must use it after hwspin_lock_register have retured sucess.
Once the spinlocks are registered anyone can request and acquire these. The tests could then interfere with any users of the hwspinlock layer, or simply fail (because the spinlocks might already be acquired). Thanks, Ido.