Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755276Ab2F1P45 (ORCPT ); Thu, 28 Jun 2012 11:56:57 -0400 Received: from mail-qc0-f174.google.com ([209.85.216.174]:50509 "EHLO mail-qc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752951Ab2F1P44 convert rfc822-to-8bit (ORCPT ); Thu, 28 Jun 2012 11:56:56 -0400 MIME-Version: 1.0 In-Reply-To: <1340232467-6023-7-git-send-email-john.stultz@linaro.org> References: <1340232467-6023-1-git-send-email-john.stultz@linaro.org> <1340232467-6023-7-git-send-email-john.stultz@linaro.org> Date: Thu, 28 Jun 2012 17:56:55 +0200 Message-ID: Subject: Re: [PATCH 06/15] ARM: etm: Add some missing locks and error checks From: Linus Walleij To: John Stultz Cc: LKML , =?ISO-8859-1?Q?Arve_Hj=F8nnev=E5g?= , Russell King , Paul Gortmaker , Alexander Shishkin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 988 Lines: 26 On Thu, Jun 21, 2012 at 12:47 AM, John Stultz wrote: > From: Arve Hj?nnev?g > > 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 > CC: Paul Gortmaker > CC: Alexander Shishkin > Acked-by: Alexander Shishkin > Signed-off-by: Arve Hj?nnev?g > Signed-off-by: John Stultz Acked-by: Linus Walleij Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/