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

From: Kamble, Nitin A
Date: Thu May 06 2004 - 20:45:08 EST


Pavel,
The test for suspend & resume has passed.

One more patch to be applied on top of the previous patch is attached.
It cleans up the duplicate code, as per Jeff's suggestion.

Thanks & Regards,
Nitin
------------------------------------------------------------------------
-

>-----Original Message-----
>From: Kamble, Nitin A
>Sent: Thursday, May 06, 2004 2:01 PM
>To: 'Pavel Machek'; Linus Torvalds
>Cc: Andrew Morton; linux-kernel@xxxxxxxxxxxxxxx; Nakajima, Jun;
Mallick,
>Asit K; Saxena, Sunil
>Subject: RE: [PATCH] mxcsr patch for i386 & x86-64
>
>>i386/kernel/power/cpu.c now probably wants fpu_init, too...
>
>Hi Pavel,
> 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?
>
>Thanks & Regards,
>Nitin

Attachment: mxcsr_shared.patch
Description: mxcsr_shared.patch