Messages in this thread | | | From | "Bae, Chang Seok" <> | Subject | Re: [PATCH v9 08/26] x86/fpu/xstate: Introduce helpers to manage the XSTATE buffer dynamically | Date | Mon, 16 Aug 2021 18:33:37 +0000 |
| |
On Aug 12, 2021, at 12:44, Borislav Petkov <bp@alien8.de> wrote: > On Fri, Jul 30, 2021 at 07:59:39AM -0700, Chang S. Bae wrote: >> >> + if (boot_cpu_has(X86_FEATURE_XSAVES)) > > cpu_feature_enabled
Without DISABLE_XSAVES or something under ifdef CONFIG_X86_XX in $arch/x86/include/asm/disable-features.h, I don’t see the difference with this macro. Am I missing anything here? Or, boot_cpu_has() is going to be deprecated everywhere?
Thanks, Chang
| |