lkml.org 
[lkml]   [2011]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [patch] x32, fpu: fix DNA exception during check_fpu()
On Thu, Jun 30, 2011 at 5:19 PM, Suresh Siddha
<suresh.b.siddha@intel.com> wrote:
>
> Before check_fpu() is called, we have cr0.TS bit set and hence the floating
> point code to check the FDIV bug was generating a DNA exception.
>
> Use kernel_fpu_begin()/kernel_fpu_end() around the floating point
> code to avoid this unnecessary device not available exception during
> boot.

Looks sane to me. I didn't think we were supposed to set the TS bit
this early, but if we do, Ack.

Linus


\
 
 \ /
  Last update: 2011-07-01 05:45    [W:0.248 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site