lkml.org 
[lkml]   [2021]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v9 08/26] x86/fpu/xstate: Introduce helpers to manage the XSTATE buffer dynamically
Date
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

\
 
 \ /
  Last update: 2021-08-16 20:34    [W:0.258 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site