lkml.org 
[lkml]   [2021]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.10 115/146] s390/mcck: fix calculation of SIE critical section size
    Date
    From: Alexander Gordeev <agordeev@linux.ibm.com>

    commit 5bcbe3285fb614c49db6b238253f7daff7e66312 upstream.

    The size of SIE critical section is calculated wrongly
    as result of a missed subtraction in commit 0b0ed657fe00
    ("s390: remove critical section cleanup from entry.S")

    Fixes: 0b0ed657fe00 ("s390: remove critical section cleanup from entry.S")
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
    Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
    Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
    Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    arch/s390/kernel/entry.S | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/arch/s390/kernel/entry.S
    +++ b/arch/s390/kernel/entry.S
    @@ -1284,7 +1284,7 @@ ENDPROC(stack_overflow)
    je 1f
    larl %r13,.Lsie_entry
    slgr %r9,%r13
    - larl %r13,.Lsie_skip
    + lghi %r13,.Lsie_skip - .Lsie_entry
    clgr %r9,%r13
    jh 1f
    oi __LC_CPU_FLAGS+7, _CIF_MCCK_GUEST

    \
     
     \ /
      Last update: 2021-06-21 18:39    [W:3.265 / U:0.152 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site