OSDN Git Service

[PATCH] s390: machine check handler bugs
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Sat, 3 Sep 2005 22:57:56 +0000 (15:57 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:06:25 +0000 (00:06 -0700)
commitae6aa2ea8973e200cb3d0564a64a1b441d233428
tree2bd12e22134b4f087c2179af0a304ca6dd9ca585
parent4c139862b8831261d57de02716b92f82e5fb463b
[PATCH] s390: machine check handler bugs

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: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/s390/kernel/entry.S
arch/s390/kernel/entry64.S
drivers/s390/s390mach.c
include/asm-s390/lowcore.h