RE: [Linux-ia64] High fpu register corruption

From: Chris Mason <mason_at_suse.com>
Date: 2003-05-09 02:42:27
On Thu, 2003-05-08 at 12:33, Mallick, Asit K wrote:
> Andreas,
> 
> The high FP save and restore in the context switch makes the
> assumption that user will not be modifying the psr.mfh and it will be
> only updated by the hardware. Without this assumption we can not
> optimize the FP save/restore for SMP systems (this patch will not
> cover all cases). If application wants the current high fpu state to
> be preserved then it should will not be able to modify the psr.mfh.
> 
> What kind of applications are trying to modify the mfh?

The ia64 ssl source has hand optimized asm that clears mfh, but that
doesn't really matter.  What matters is that any application can do it,
so it has security implications.

-chris
Received on Thu May 08 09:43:54 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:14 EST