From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3xXTFC44v2zDrJp for ; Wed, 16 Aug 2017 22:29:51 +1000 (AEST) In-Reply-To: <1501704846-22625-2-git-send-email-leitao@debian.org> To: Breno Leitao , linuxppc-dev@lists.ozlabs.org From: Michael Ellerman Cc: Breno Leitao Subject: Re: [v3,2/2] powerpc/xmon: Disable tracing when entering xmon Message-Id: <3xXTFC2HSHz9t42@ozlabs.org> Date: Wed, 16 Aug 2017 22:29:51 +1000 (AEST) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2017-08-02 at 20:14:06 UTC, Breno Leitao wrote: > If tracing is enabled and you get into xmon, the tracing buffer > continues to be updated, causing possible loss of data and unnecessary > tracing information coming from xmon functions. > > This patch simple disables tracing when entering xmon, and re-enables it > if the kernel is resumed (with 'x'). > > Signed-off-by: Breno Leitao > Acked-by: Naveen N. Rao Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/ed49f7fd6438dcc8c93fa7d1d7d815 cheers