• Martin Schwidefsky's avatar
    s390: fix machine check panic stack switch · ce4dda3f
    Martin Schwidefsky authored
    For system damage machine checks or machine checks due to invalid PSW
    fields the system will be stopped. In order to get an oops message out
    before killing the system the machine check handler branches to
    .Lmcck_panic, switches to the panic stack and then does the usual
    machine check handling.
    
    The switch to the panic stack is incomplete, the stack pointer in %r15
    is replaced, but the pt_regs pointer in %r11 is not. The result is
    a program check which will kill the system in a slightly different way.
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    ce4dda3f
entry.S 33.5 KB