Re: [patch V6 36/37] x86/entry: Move paranoid irq tracing out of ASM code

From: Andy Lutomirski
Date: Tue May 19 2020 - 20:53:36 EST


On Fri, May 15, 2020 at 5:11 PM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>

I think something's missing here. With this patch applied, don't we
get to exc_debug_kernel() -> handle_debug() without doing
idtentry_enter() or equivalent? And that can even enable IRQs.

Maybe exc_debug_kernel() should wrap handle_debug() in some
appropriate _enter() / _exit() pair?

--Andy