Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1343472

Re: [PATCH v2 9/9] x86/xsaves: Re-enable XSAVES

From Dave Hansen <dave.hansen@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 9/9] x86/xsaves: Re-enable XSAVES
Date 2016-02-25 21:40 +0100
Message-ID <r6aRA-Ng-29@gated-at.bofh.it> (permalink)
References <r6aHU-HU-3@gated-at.bofh.it> <r6aRA-Ng-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/9] x86/xsaves: Fix XSAVES known issues Yu-cheng Yu <yu-cheng.yu@intel.com> - 2016-02-25 21:30 +0100
  [PATCH v2 4/9] x86/xsaves: Introduce a new check that allows correct xstates copy from kernel to user directly Yu-cheng Yu <yu-cheng.yu@intel.com> - 2016-02-25 21:40 +0100
  [PATCH v2 2/9] x86/xsaves: Rename xstate_size to kernel_xstate_size to explicitly distinguish xstate size in kernel from user space Yu-cheng Yu <yu-cheng.yu@intel.com> - 2016-02-25 21:40 +0100
  [PATCH v2 6/9] x86/xsaves: Supervisor state component offset Yu-cheng Yu <yu-cheng.yu@intel.com> - 2016-02-25 21:40 +0100
  [PATCH v2 5/9] x86/xsaves: Align xstate components according to CPUID Yu-cheng Yu <yu-cheng.yu@intel.com> - 2016-02-25 21:40 +0100
  [PATCH v2 3/9] x86/xsaves: Keep init_fpstate.xsave.header.xfeatures as zero for init optimization Yu-cheng Yu <yu-cheng.yu@intel.com> - 2016-02-25 21:40 +0100
  [PATCH v2 9/9] x86/xsaves: Re-enable XSAVES Yu-cheng Yu <yu-cheng.yu@intel.com> - 2016-02-25 21:40 +0100
    Re: [PATCH v2 9/9] x86/xsaves: Re-enable XSAVES Dave Hansen <dave.hansen@linux.intel.com> - 2016-02-25 21:40 +0100
      Re: [PATCH v2 9/9] x86/xsaves: Re-enable XSAVES Yu-cheng Yu <yu-cheng.yu@intel.com> - 2016-02-25 22:10 +0100
  [PATCH v2 7/9] x86/xsaves: Fix PTRACE frames for XSAVES Yu-cheng Yu <yu-cheng.yu@intel.com> - 2016-02-25 21:40 +0100
  [PATCH v2 8/9] x86/xsaves: Fix XSTATE component offset print out Yu-cheng Yu <yu-cheng.yu@intel.com> - 2016-02-25 21:40 +0100
  Re: [PATCH v2 0/9] x86/xsaves: Fix XSAVES known issues Dave Hansen <dave.hansen@linux.intel.com> - 2016-02-25 22:00 +0100
    Re: [PATCH v2 0/9] x86/xsaves: Fix XSAVES known issues Yu-cheng Yu <yu-cheng.yu@intel.com> - 2016-02-25 22:10 +0100

csiph-web