Re: [PATCH] mxcsr patch for i386 & x86-64

From: Pavel Machek
Date: Fri May 07 2004 - 09:24:46 EST


Hi!

> I have updated the mxcsr patch to also enable it at the time of
> resume. Please find the patch attached.
> fpu_init() is needed in the resume path, only if the user want to
> change the cpu between suspend and resume. Otherwise the
> mxcsr_features_mask calculated earlier will still be valid.
> Also for changing the cpu, the user will need to shutdown the
> system, so it is useful for S4 (suspend to disk) state.
> I am testing the patch. Meanwhile please let me know if these changes
> are ok for you?

Noone should exchange CPUs while we are in S4 suspend; but handling it
can not hurt.

Patch looks okay, thanks.
Pavel
--
Horseback riding is like software...
...vgf orggre jura vgf serr.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/