Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4831814ybl; Wed, 22 Jan 2020 05:33:34 -0800 (PST) X-Google-Smtp-Source: APXvYqxBWHfIc+bfUUawRwrfqmX/UnP65Usqn1poahVXeJW8NkfBBrya9ZEhn2aE+oCF7jR0USHj X-Received: by 2002:a05:6830:c2:: with SMTP id x2mr4917283oto.8.1579700014192; Wed, 22 Jan 2020 05:33:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579700014; cv=none; d=google.com; s=arc-20160816; b=gDTTQmDpEkRieHFvHButXRL7iHbfxr55d17n31ugyey5cd2FbLBZZUefxJqGjb6EKt zT9OOvCXv+8fhOA3hkzgewJbHpfQI0dkzku7lkSpuLxQ0YT9cCMuacpuLa5JrQUvbOnM Jar5evn10ubZpfzmCAgT0YYMaQUMiE0K+SN8774KFt+kcxeyypgI2yzvcbRlGhwUBKwH a5zgM/GqWpETg/U9z8gqkccLQ/cISyCkvaN18+4ZqNe4J/pjd4dkq8YMFrbhCjc+XIHC i8xkw6liftJLBP33JxxMKpVpCDN6cK4KaEqm2oO8RVv4qufbSCMWlgWaGrfM9F5RSHuL kjsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=S7WI1MeRin3PB/5wZ/71dDjD9A7yE7AvwwOrMnhKQjA=; b=puLXz5m4MeC2T3jlwedJD+njqrYQZnSvxxfqjNpLTo78HK8xnYFSAzm+E09+f9O1Zy 1iMAkvLmjXArD1XnwobsznYQlS9a9nX4UhC+rcz1BvipJuDCAOZl6K++gRav42DlPoJs oCsrByRvNySX9m8Sa17LBcakofB/Jo7SmF9ybXBlkx2H0EZSAdZ9qel/dDVmg5ZndGff OKf1cNEn6tIgo+xS56Mq95J1CZwaWPfWiD5IK6fDp9czbFH03+miJCLNcoZmgCA2uXs6 QBoM3Rq5rOsCSBms/gHJAn7TOA0Zg0oJrnA6B0bOTbPK3kEKM9vi1fmPV9IfzkFiWoNR U3dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xGbxiDJG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 38si15170214otu.166.2020.01.22.05.33.18; Wed, 22 Jan 2020 05:33:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xGbxiDJG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730314AbgAVNVi (ORCPT + 99 others); Wed, 22 Jan 2020 08:21:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:38744 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730305AbgAVNVe (ORCPT ); Wed, 22 Jan 2020 08:21:34 -0500 Received: from localhost (unknown [84.241.205.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A49B82467C; Wed, 22 Jan 2020 13:21:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579699294; bh=jhYhNXYSQxDA8+pS7YjeAPEndnmHw6INZ+Q9N6cpRkw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xGbxiDJG+2ituwU1CFzprqy7sn5X0PHEJZZMmx08EiyBnMyhZTnaVbGGY5UsvnUqz 0OcFWD+N31X0GTWqGZUlZcEzyLXej/GIgCbU69NK4T3QD54b4b/oPm6x/ktfbdZV4p 3/C2ehslWHTD+5AG4s5lQU4+Bxyc0DIT+qat7hws= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Philipp Rudo , Vasily Gorbik Subject: [PATCH 5.4 073/222] s390/setup: Fix secure ipl message Date: Wed, 22 Jan 2020 10:27:39 +0100 Message-Id: <20200122092838.945601820@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200122092833.339495161@linuxfoundation.org> References: <20200122092833.339495161@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Philipp Rudo commit 40260b01d029ba374637838213af500e03305326 upstream. The new machine loader on z15 always creates an IPL Report block and thus sets the IPL_PL_FLAG_IPLSR even when secure boot is disabled. This causes the wrong message being printed at boot. Fix this by checking for IPL_PL_FLAG_SIPL instead. Fixes: 9641b8cc733f ("s390/ipl: read IPL report at early boot") Signed-off-by: Philipp Rudo Signed-off-by: Vasily Gorbik 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 @@ -1059,7 +1059,7 @@ static void __init log_component_list(vo if (!early_ipl_comp_list_addr) return; - if (ipl_block.hdr.flags & IPL_PL_FLAG_IPLSR) + if (ipl_block.hdr.flags & IPL_PL_FLAG_SIPL) pr_info("Linux is running with Secure-IPL enabled\n"); else pr_info("Linux is running with Secure-IPL disabled\n");