Re: [PATCH] arm64/entry: Don't disable preemption in debug_exception_enter() with RT kernel
From: Sebastian Andrzej Siewior
Date: Thu May 28 2026 - 11:43:19 EST
On 2026-05-28 16:51:24 [+0200], To Waiman Long wrote:
> > The kernel backtrace is produced using the latest v7.1-rc4 kernel. There are
> > a number of changes to the debug_exception_enter() and
> > debug_exception_exit() functions over the years, but the preemption disable
> > code remains since its introduction in v5.3.
>
> Let me look at this again.
So how do you reproduce this? The calls within debug_exception_enter()/
exit() look harmless or I miss the big thing here.
>From your backtrace, you have brk_handler() and this is gone since
commit 31575e11ecf7e ("arm64: debug: split brk64 exception entry") which
is v6.17-rc1. I can use gdb with breakpoint handling.
Sebastian