Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3943285pxj; Mon, 21 Jun 2021 09:53:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhG5U685+LQD+drKOSMSW0y7Ren9b1Uvu5juk8bT5Qc7b+nbnZfMwwRdZL+s/oX4yCfwoE X-Received: by 2002:a6b:c305:: with SMTP id t5mr21200437iof.202.1624294426475; Mon, 21 Jun 2021 09:53:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624294426; cv=none; d=google.com; s=arc-20160816; b=xMOYfKpwlU/WbmvVq2usWFCGbBzwTQCQljL1eGo5Faf8G+tYVEAYreP3O4HaJiEov4 3KiGjojhip5wOKiNRd9BXPhjTXe4jlQqTetzQq/zLgPift+UMnUyu9YP1HBc1EJ+UZBV gDXnnMgfhs1IHwIXYuIE0OMERQ5j3DKw78BdFHDMvVnZTKqfLzQ192KhF8DoTPEL5SrM k4Dq4kpvhOP3x7NsVvP6regNGbb2OoATlhLlCZCrzO3RvnUYC0170MV6sUCWjdvzpih6 nGXh3Yu1NBYzdF7tZjIKjsTrUr+TQtXvo/0PttIpb6SfLa+HMahJJ1By1mz8CH1TtjO3 sAqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=5OaN3kUJmfKOA+uNA0Ha5/CL82eRfyLAJi3i2UL3rQw=; b=tZI7up9vyvJqQHJyTnKzNUPkXZxf0roU/gqUrQnzBru6XuRTMA6N3D3xzuNLx6cmpb gsVmE2qkUkrKgqHdsykyupT+LQc7dcJjg62LAhNHnjFCuD5hlQJLn0EmSRwSToL6EK/J VawNHH4eQy3KdhfbbP/G3d6xCSBAfFsoCVSNtAbxAnOwizauirR3M7iElxV6EO5B4alX GMFLw/+z3mu7U7CAdoPgpfxl6ZOu9LYer4lYrlDEb41DNAlyPd2m7c3suwiVHTZ3sRQU q58ZdVvAFHTzVnmgAtu0Y8jhV9S/BlrNLUtNBuP+LBAIXETcUddkwbg6ET/zmCa6eHMy L8/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Vzo+n2cA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s5si22530910jam.86.2021.06.21.09.53.34; Mon, 21 Jun 2021 09:53:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Vzo+n2cA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233343AbhFUQyY (ORCPT + 99 others); Mon, 21 Jun 2021 12:54:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:41418 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233557AbhFUQt5 (ORCPT ); Mon, 21 Jun 2021 12:49:57 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 258EB61467; Mon, 21 Jun 2021 16:34:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1624293294; bh=doBe2fsnLe+8OS4RzpLLS0r0Cd24ylnLOxydarN0bYU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Vzo+n2cAR4z2yAixOLxuI7IVTUBe7IHECgLw5rasOuFUnWFdRo7qlLbB8SthYdyOm g6ju1bIx30ZGhLqJUcc+BXnfnd378rlNnYtcsTdqfQ+zN36Sd/kRUK3y9D8WuLmK1b xkKAK/0kZgo3JgYjOS+MdWAk/TomhOOP594ke2TM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alexander Gordeev , Christian Borntraeger , Heiko Carstens , Vasily Gorbik Subject: [PATCH 5.12 137/178] s390/mcck: fix calculation of SIE critical section size Date: Mon, 21 Jun 2021 18:15:51 +0200 Message-Id: <20210621154927.435698553@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210621154921.212599475@linuxfoundation.org> References: <20210621154921.212599475@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexander Gordeev 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: Signed-off-by: Alexander Gordeev Reviewed-by: Christian Borntraeger Signed-off-by: Heiko Carstens Signed-off-by: Vasily Gorbik Signed-off-by: Greg Kroah-Hartman --- 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 @@ -651,7 +651,7 @@ ENDPROC(stack_overflow) .Lcleanup_sie_mcck: larl %r13,.Lsie_entry slgr %r9,%r13 - larl %r13,.Lsie_skip + lghi %r13,.Lsie_skip - .Lsie_entry clgr %r9,%r13 jhe .Lcleanup_sie_int oi __LC_CPU_FLAGS+7, _CIF_MCCK_GUEST