[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZfuC9Zyutno+MhrnYhDMdSr0-WOOtDzdMvrak8gpME+Q@mail.gmail.com>
Date: Thu, 28 Jun 2012 17:56:55 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: John Stultz <john.stultz@...aro.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Arve Hjønnevåg <arve@...roid.com>,
Russell King <linux@....linux.org.uk>,
Paul Gortmaker <paul.gortmaker@...driver.com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Subject: Re: [PATCH 06/15] ARM: etm: Add some missing locks and error checks
On Thu, Jun 21, 2012 at 12:47 AM, John Stultz <john.stultz@...aro.org> wrote:
> From: Arve Hjønnevåg <arve@...roid.com>
>
> It is not safe to call etm_lock or etb_lock without holding the
> mutex since another thread may also have unlocked the registers.
>
> Also add some missing checks for valid etb_regs in the etm sysfs
> entries.
>
> CC: Russell King <linux@....linux.org.uk>
> CC: Paul Gortmaker <paul.gortmaker@...driver.com>
> CC: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
> Acked-by: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
> Signed-off-by: Arve Hjønnevåg <arve@...roid.com>
> Signed-off-by: John Stultz <john.stultz@...aro.org>
Acked-by: Linus Walleij <linus.walleij@...aro.org>
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists