• Russ Anderson's avatar
    [IA64] ar.fpsr not set on MCA/INIT kernel entry · 8f9e1467
    Russ Anderson authored
    When entering the kernel due to an MCA or INIT, ar.fpsr (ar40)
    was not getting set to the kernel default value (remaining
    at the user value).  The effect depends on the user setting 
    of ar.fpsr.  In the test case, the effect was addresses 
    printing with strange hex values.  
    
    Setting ar.fpsr in ia64_set_kernel_registers sets it for both
    the MCA and INIT paths.  The user value of ar.fpsr is correctly 
    saved (in ia64_state_save) and restored (in ia64_state_restore).
    
    Below is an example of output with very strange hex values.
    Anyone know the value of hex 'g'?  :-)
    
    Processes interrupted by INIT - 0 (cpu 14 task 0xdfffg55g7a4c6gA)
    
    Signed-off-by: Russ Anderson (rja@sgi.com)
    Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
    8f9e1467
mca_asm.S 26.5 KB