Re: [PATCH] x86/entry: Zap the #VC entry user and kernel macros
From: Joerg Roedel
Date: Mon Apr 27 2026 - 07:54:00 EST
On Mon, Apr 20, 2026 at 06:43:52PM +0200, Borislav Petkov wrote:
> From: "Borislav Petkov (AMD)" <bp@xxxxxxxxx>
>
> Drop the separate kernel and user macros in favor of calling a single #VC
> C handler which multiplexes between the kernel and user #VC entry points
> by looking at CS's RPL.
>
> Zap unused DEFINE_IDTENTRY_VC while at it.
>
> There should be no functionality change resulting from this - just code
> simplification.
>
> Signed-off-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
Fine with me, though IIRC the current implementation was based on a review
comment on the original patch-set.
Acked-by: Joerg Roedel <joerg.roedel@xxxxxxx>