Re: [PATCH v2 9/9] x86/xsaves: Re-enable XSAVES
From: Dave Hansen
Date: Thu Feb 25 2016 - 15:35:08 EST
On 02/25/2016 12:26 PM, Yu-cheng Yu wrote:
> - * ( This is easy to backport while we are fixing
> - * XSAVES* support. )
> + * Most recent CPUs supporting XSAVES can run 64-bit mode.
> + * Enable XSAVES for 64-bit.
> */
> - setup_clear_cpu_cap(X86_FEATURE_XSAVES);
> + if (!config_enabled(CONFIG_X86_64))
> + setup_clear_cpu_cap(X86_FEATURE_XSAVES);
> }
Is this intended to be permanent? If so, we would not be able to
support any future supervisor features on 32-bit.