> -----Original Message----- > From: Hansen, Dave <[email protected]> > Sent: Wednesday, October 15, 2025 11:43 PM > To: Reshetova, Elena <[email protected]> > Cc: [email protected]; [email protected]; Huang, Kai > <[email protected]>; [email protected]; [email protected]; linux- > [email protected]; [email protected]; Mallick, Asit K > <[email protected]>; Scarlata, Vincent R > <[email protected]>; > Cai, Chong <[email protected]>; Aktas, Erdem <[email protected]>; > Annapurve, Vishal <[email protected]>; Bondarevska, Nataliia > <[email protected]>; Raynor, Scott <[email protected]>; Dave Hansen > <[email protected]> > Subject: Re: [PATCH v16 2/5] x86/cpufeatures: Add > X86_FEATURE_SGX_EUPDATESVN feature flag > > On 10/10/25 01:52, Elena Reshetova wrote: > > diff --git a/tools/arch/x86/include/asm/cpufeatures.h > b/tools/arch/x86/include/asm/cpufeatures.h > > index 06fc0479a23f..30761c905b7d 100644 > > --- a/tools/arch/x86/include/asm/cpufeatures.h > > +++ b/tools/arch/x86/include/asm/cpufeatures.h > > @@ -495,6 +495,7 @@ > > #define X86_FEATURE_TSA_SQ_NO (21*32+11) /* AMD CPU not > vulnerable to TSA-SQ */ > > #define X86_FEATURE_TSA_L1_NO (21*32+12) /* AMD CPU not > vulnerable to TSA-L1 */ > > #define X86_FEATURE_CLEAR_CPU_BUF_VM (21*32+13) /* Clear CPU > buffers using VERW before VMRUN */ > > +#define X86_FEATURE_SGX_EUPDATESVN (21*32+16) /* Support for > ENCLS[EUPDATESVN] instruction */ > > Sorry I didn't catch this before, but we don't patch this tools/ file > for individual features. We just sync the main copy over to here from > time to time. This hunk needs to die. > > Second, please don't send things during the merge window. That's both > because we're busy, but also because I'm going to merge your code on top > of $VERSION-rc1. I'm not sure what you rebased to, but things don't > apply cleanly now. > > Can you please fix the tools/ thing, rebase this on -rc1, retest and resend?
Sure, will do, thanks! Previous version was based on x86_tip/master, will rebase on 6.18-rc1.

