Re: [PATCH v10 09/15] x86/traps: Consolidate user fixups in exc_general_protection()

From: Edgecombe, Rick P

Date: Tue Oct 07 2025 - 13:46:32 EST


On Mon, 2025-10-06 at 23:51 -0700, Sohil Mehta wrote:
> Move the UMIP exception fixup along with the other user mode fixups,
> that is, under the common "if (user_mode(regs))" condition where the
> rest of the fixups reside.

Can you mention that it also drops static_cpu_has(X86_FEATURE_UMIP) check
because fixup_umip_exception() already checks
cpu_feature_enabled(X86_FEATURE_UMIP)?

>
> No functional change intended.