lkml.org 
[lkml]   [2021]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/4] x86/fpu: Add kernel_fpu_begin_mask() to selectively initialize state
On Sun, Jan 17, 2021 at 10:20:38PM -0800, Andy Lutomirski wrote:

> - Code that wants MMX doesn't want need MXCSR or FCW initialized.
> _mmx_memcpy(), for example, can run before CR4.OSFXSR gets set, and
> initializing MXCSR will fail.

> +#define KFPU_MMX 0 /* nothing gets initialized */

This... why is that correct?

\
 
 \ /
  Last update: 2021-01-18 13:24    [W:0.095 / U:0.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site