Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755455Ab2F1P5w (ORCPT ); Thu, 28 Jun 2012 11:57:52 -0400 Received: from mail-qc0-f174.google.com ([209.85.216.174]:45744 "EHLO mail-qc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753043Ab2F1P5v convert rfc822-to-8bit (ORCPT ); Thu, 28 Jun 2012 11:57:51 -0400 MIME-Version: 1.0 In-Reply-To: <1340232467-6023-8-git-send-email-john.stultz@linaro.org> References: <1340232467-6023-1-git-send-email-john.stultz@linaro.org> <1340232467-6023-8-git-send-email-john.stultz@linaro.org> Date: Thu, 28 Jun 2012 17:57:50 +0200 Message-ID: Subject: Re: [PATCH 07/15] ARM: etm: Return the entire trace buffer if it is empty after reset 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: 1115 Lines: 27 On Thu, Jun 21, 2012 at 12:47 AM, John Stultz wrote: > From: Arve Hj?nnev?g > > On some SOCs the read and write pointer are reset when the chip > resets, but the trace buffer content is preserved. If the status > bits indicates that the buffer is empty and we have never started > tracing, assume the buffer is full instead. This can be useful > if the system rebooted from a watchdog reset. > > 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 This looks *very* useful. 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/