linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: ido@wizery.com (Ido Yariv)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] hwspinlock/core: Add testing capabilities
Date: Sun, 30 Dec 2012 16:27:10 +0200	[thread overview]
Message-ID: <20121230142710.GA16250@WorkStation.localnet> (raw)
In-Reply-To: <CAKvkGKep9Fgib=iwCE4RnBWrfsMkJu4CcpNxUDqnkyHpkjohuA@mail.gmail.com>

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.

  reply	other threads:[~2012-12-30 14:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-29  9:19 [PATCH] hwspinlock/core: Add testing capabilities steve.zhan
2012-12-30 11:20 ` Ido Yariv
2012-12-30 14:13   ` steve.zhan
2012-12-30 14:27     ` Ido Yariv [this message]
2012-12-30 14:56       ` steve.zhan
2012-12-30 15:17         ` Ido Yariv
2012-12-30 15:39           ` steve.zhan
  -- strict thread matches above, loose matches on Subject: below --
2012-12-12 20:27 Ido Yariv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121230142710.GA16250@WorkStation.localnet \
    --to=ido@wizery.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).