Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1115431pxj; Sat, 15 May 2021 04:26:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkRxJOSsq1hWrHezsz49h1JwaIAVPZ3JlICzUtvqjwh1jyJ/JrQfI8w+CorDBoXx3NNiVR X-Received: by 2002:aa7:d282:: with SMTP id w2mr4235477edq.45.1621078018376; Sat, 15 May 2021 04:26:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621078018; cv=none; d=google.com; s=arc-20160816; b=CRfvwhDl4VsQ7YYM5mK2UbBX6M3oHAAKshFWPH2LtPD23l154wDrTAdPllZKXbfE/F 2LiW5uq47lpl1XKoA56tkAogCSzLXanlVPSDSv9Je3w9Xft1tjOuWYBjfj+QjVcLzwOV oW7DpySeJw8pBaO/+OjLo0AQRdX0kReE6lkY28suoQjGUc68UTlklzz2IHcgBDWDL5Ie BGpmB2wapieNdDkk/7wBoJg/vwhiwbD6oqYI+RR/29WXZ2TXSqVIouSCcF+Gu8nwCIdp wPwZYKMSg+sy6A5BJPBTUQ3L/Q0bNVyBfvrfJiiB1PvE/rPBd/fZ3XWOuy4+0+diO+Ke JHjg== 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 :message-id:date:subject:cc:to:from; bh=jEp7FDqE6+42F/VG94FcaSJKP5yqq2rEHpD5pX/h+Ys=; b=StBAWQ6Hre/mgljTsql3/VwYG1nYvJ66EJ9dO5rofNFzadGQyOnyLc2uZbUQQK83S9 5m0bH2XBTtr610/h1zVE9/6bzC9rBLlMN/uf8I0iCaz9pShthEIiE8tC2pNdE+XGao23 3Ke7v9FXR79w7XXqb36BX8iokSnGHsfOzSz2qn3Ev16cKKJlXvtbX9Dl+s0SaZTG4W5j pveSMe2P08N/oAnsU6z1p8N2uV/z66IezYqOtbbByLQr/m33oqZDbLbcbqsgxky0Ie73 HQmYqedar0+vBF9isGrZ+6vJ/GGl+UXKyXHpDQl+/NPCSutognaP34cgCodEnnyYOxer zAsg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ku22si70610ejc.40.2021.05.15.04.26.35; Sat, 15 May 2021 04:26:58 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233325AbhEOIPu (ORCPT + 99 others); Sat, 15 May 2021 04:15:50 -0400 Received: from mx3.molgen.mpg.de ([141.14.17.11]:48111 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230426AbhEOIPs (ORCPT ); Sat, 15 May 2021 04:15:48 -0400 Received: from localhost.localdomain (ip5f5aeee7.dynamic.kabel-deutschland.de [95.90.238.231]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id BC5B161E64784; Sat, 15 May 2021 10:14:31 +0200 (CEST) From: Paul Menzel To: Ard Biesheuvel , Darren Hart , Andy Shevchenko , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" Cc: Paul Menzel , linux-efi@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] x86/efi: Log 32/64-bit mismatch with kernel as an error Date: Sat, 15 May 2021 10:14:04 +0200 Message-Id: <20210515081404.6334-1-pmenzel@molgen.mpg.de> X-Mailer: git-send-email 2.31.1 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 Log the message No EFI runtime due to 32/64-bit mismatch with kernel as an error condition, as several things like efivarfs won’t work without the EFI runtime. Signed-off-by: Paul Menzel --- arch/x86/platform/efi/efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c index 8a26e705cb06..147c30a81f15 100644 --- a/arch/x86/platform/efi/efi.c +++ b/arch/x86/platform/efi/efi.c @@ -468,7 +468,7 @@ void __init efi_init(void) */ if (!efi_runtime_supported()) - pr_info("No EFI runtime due to 32/64-bit mismatch with kernel\n"); + pr_err("No EFI runtime due to 32/64-bit mismatch with kernel\n"); if (!efi_runtime_supported() || efi_runtime_disabled()) { efi_memmap_unmap(); -- 2.31.1