• Martin Schwidefsky's avatar
    [PATCH] s390: machine check handler bugs · ae6aa2ea
    Martin Schwidefsky authored
    The new machine check handler still has a few bugs.
    
    1) The system entry time has to be stored in the machine check handler,
    
    2) the machine check return psw may not be stored at the usual place
       because it might overwrite the return psw of the interrupted context,
    
    3) the return address for the call to s390_handle_mcck in the i/o interrupt
       handler is not correct,
    
    4) the system call cleanup has to take the different save area of the
       machine check handler into account,
    
    5) the machine check handler may not call UPDATE_VTIME before
       CREATE_STACK_FRAME, and
    
    6) the io leave path needs a critical section cleanup to make sure that the
       TIF_MCCK_PENDING bit is really checked before switching back to user space.
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    ae6aa2ea
entry.S 32.6 KB