Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3272121rwb; Mon, 15 Aug 2022 22:55:03 -0700 (PDT) X-Google-Smtp-Source: AA6agR5/wpEftqKIXC0ISIbJnoif3U/cz2+GS+wtMbICbx8pBRwsicA3AiEKIkxQ/Vwz0EDd1wU/ X-Received: by 2002:a17:907:6818:b0:730:d99f:7b91 with SMTP id qz24-20020a170907681800b00730d99f7b91mr12313333ejc.496.1660629303504; Mon, 15 Aug 2022 22:55:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660629303; cv=none; d=google.com; s=arc-20160816; b=uE2/JUT+tKOZjTB4Z9BCgelQIFd+AAqKwsgh7MpBWc5lkkNFVFLjxM0DIWvyfX3dCE d0kMpS+iflvMi6Eby7WmFPbBCmycnaMDH9P8+S8rdkf52q1h0SVC++6E1LVse6608uNf ao2hCEN/xni988Snvn0I1/u/4VCdxqZ7pJ27a2oHXj3JfqM+6pNSWqqSUnC4JytIvtRy Rmfi4NC43b9edOhWqKwj4MLMUfjWfGoJ21YCfptqi7oF7RYlMN9Gq2ajT4/N+rSUyuaA 3IpTATi3dirDYYGQ1KpypCozcVcbZzjYFBCR+N2E/VPgqXJA15QXk1bfwG4qzRPKmiuk hrzw== 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=D93ImOMwpQIWXy3UZAI78TlPs27J8r+k/4GTfIrYShQ=; b=F/5BiJOnTLOjFMHafZ4G5aJ4MDXTUVfq24e3tm8nOwfjGUv0GZqIKakDSZg/fXlZoJ ZRI+ThhF/zhYPglrUN13PyVVJMp1jwu9W6bTmEznO8nIn3QW/ooaP4OGWOSfeYjNpXL5 EmdPWqeZmI7EtqLupeXNF7HsPwlO9zulyDLPFKTGW+2ZrYCrKpj+yEBBwtExgaNh0bCz rrTp5iSvS/XBpDwkpknvrnp/Qb87Kz+MBhjJC99SoSa9REwShshDNWYo3twhTtdSSyls 7jadwDC+dp6JncpuBCinuRUSIN0ObuguoEp2fK3O+1jtz2U33Rs10BrBzDoENEF5dnFv sf2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jhQPl75X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y10-20020a056402440a00b0043e81c582d2si11733902eda.232.2022.08.15.22.54.38; Mon, 15 Aug 2022 22:55:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jhQPl75X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S233941AbiHPE6U (ORCPT + 99 others); Tue, 16 Aug 2022 00:58:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233927AbiHPE5F (ORCPT ); Tue, 16 Aug 2022 00:57:05 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 814E8BC12C; Mon, 15 Aug 2022 13:51:36 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 274C6B8114A; Mon, 15 Aug 2022 20:51:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0E145C433C1; Mon, 15 Aug 2022 20:51:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660596694; bh=6aBMzaqoaG5/pDLHyavSbk3RURz9kTZQdE3pp1Q3vSk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jhQPl75Xk+xjsnI+2iiK1NQGrOpPLydD6e3kWEkcqMCXvuxR+Lvd9u0HYG9lDmpYE RcixH8Ju+Lx51u+pcpmB8f5KtnMjxyI8hvFLse4iq6jIUs4GihOn3paDXdz4x4Wlg5 x5rZXo7V23iPMbyL3EN/KOaMoTBMi2yAyMwlYx7o= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alexander Gordeev Subject: [PATCH 5.19 1154/1157] Revert "s390/smp: enforce lowcore protection on CPU restart" Date: Mon, 15 Aug 2022 20:08:30 +0200 Message-Id: <20220815180526.701580988@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexander Gordeev commit 953503751a426413ea8aee2299ae3ee971b70d9b upstream. This reverts commit 6f5c672d17f583b081e283927f5040f726c54598. This breaks normal crash dump when CPU0 is offline. Signed-off-by: Alexander Gordeev Signed-off-by: Greg Kroah-Hartman --- arch/s390/kernel/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c @@ -508,8 +508,8 @@ static void __init setup_lowcore_dat_on( S390_lowcore.svc_new_psw.mask |= PSW_MASK_DAT; S390_lowcore.program_new_psw.mask |= PSW_MASK_DAT; S390_lowcore.io_new_psw.mask |= PSW_MASK_DAT; - __ctl_set_bit(0, 28); __ctl_store(S390_lowcore.cregs_save_area, 0, 15); + __ctl_set_bit(0, 28); put_abs_lowcore(restart_flags, RESTART_FLAG_CTLREGS); put_abs_lowcore(program_new_psw, lc->program_new_psw); for (cr = 0; cr < ARRAY_SIZE(lc->cregs_save_area); cr++)