Re: [PATCH v3 03/10] x86/traps: Decode 0xEA #UD

Peter Zijlstra
2025-02-19T16:49:21Z

On Wed, Feb 19, 2025 at 04:47:10PM +0000, Andrew Cooper wrote:
> On 19/02/2025 4:21 pm, Peter Zijlstra wrote:
> > FineIBT will start using 0xEA as #UD
> >
> > Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
>
> FINEIBT probably ought to gain a "depends on X86_64" too, or this is
> going to go wrong in a very fun way.

It already is:

config X86_KERNEL_IBT
depends on X86_64 && CC_HAS_IBT && HAVE_OBJTOOL

Nobody wants to touch i386 if they don't have to :-)