lkml.org 
[lkml]   [2021]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v4 22/22] x86/fpu/xstate: Introduce boot-parameters to control state component support
Date
On Feb 21, 2021, at 11:30, Randy Dunlap <rdunlap@infradead.org> wrote:
> Can we tell people (in this Doc file) where to look up the values that can be
> used in xstate.enable and xstate.disable?

Perhaps add something like this with the change below:
“See comment before function fpu__init_parse_early_param() in
arch/x86/kernel/fpu/init.c."

/*
* The kernel parameter "xstate.enable='mask'" and "xstate.disable='mask'" have a
* mask value in a subset of XFEATURE_MASK_CONFIGURABLE.
*
* The longest parameter is 22 octal number characters with '0' prefix and an extra
* '\0' for termination.
*/
#define MAX_XSTATE_MASK_CHARS 24

/**
* fpu__init_parse_early_param() - parse the xstate kernel parameters
*
* Parse them early because fpu__init_system() is executed before
* parse_early_param().
*/
static void __init fpu__init_parse_early_param(void)

Thanks,
Chang

\
 
 \ /
  Last update: 2021-02-21 21:12    [W:0.204 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site