From mboxrd@z Thu Jan 1 00:00:00 1970 From: ido@wizery.com (Ido Yariv) Date: Sun, 30 Dec 2012 16:27:10 +0200 Subject: [PATCH] hwspinlock/core: Add testing capabilities In-Reply-To: References: <20121230112018.GA14042@WorkStation.localnet> Message-ID: <20121230142710.GA16250@WorkStation.localnet> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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.