Re: [patch V6 23/37] x86/entry: Provide IDTENTRY_SYSVEC

From: Andy Lutomirski
Date: Tue May 19 2020 - 20:29:59 EST


On Fri, May 15, 2020 at 5:10 PM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
>
> Provide a IDTENTRY variant for system vectors to consolidate the different
> mechanisms to emit the ASM stubs for 32 an 64 bit.
>
> On 64bit this also moves the stack switching from ASM to C code. 32bit will
> excute the system vectors w/o stack switching as before. As some of the
> system vector handlers require access to pt_regs this requires a new stack
> switching macro which can handle an argument.

Is that last sentence obsolete?

Otherwise,

Acked-by: Andy Lutomirski <luto@xxxxxxxxxx>