[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <40skql47Ddz9s28@ozlabs.org>
Date: Fri, 25 May 2018 21:41:54 +1000 (AEST)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Michal Suchanek <msuchanek@...e.de>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Balbir Singh <bsingharora@...il.com>,
Nicholas Piggin <npiggin@...il.com>,
Breno Leitao <leitao@...ian.org>,
Vaibhav Jain <vaibhav@...ux.vnet.ibm.com>,
"Guilherme G. Piccoli" <gpiccoli@...ux.vnet.ibm.com>,
Michal Suchanek <msuchanek@...e.de>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [v2] powerpc/xmon: Also setup debugger hooks when single-stepping
On Wed, 2018-05-23 at 18:00:54 UTC, Michal Suchanek wrote:
> When single-stepping kernel code from xmon without a debug hook enabled
> the kernel crashes. This can happen when kernel starts with xmon on
> crash disabled but xmon is entered using sysrq.
>
> Call force_enable_xmon when single-stepping in xmon to install the xmon
> debug hooks.
>
> Fixes: e1368d0c9edb ("powerpc/xmon: Setup debugger hooks when first
> break-point is set")
>
> Signed-off-by: Michal Suchanek <msuchanek@...e.de>
> Reviewed-by: Vaibhav Jain <vaibhav@...ux.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/7daf59300999693b85233762b847f1
cheers
Powered by blists - more mailing lists