Messages in this thread | | | From | Linus Torvalds <> | Date | Thu, 30 Jun 2011 20:42:09 -0700 | Subject | Re: [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
| |