Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1895733pxj; Sat, 22 May 2021 05:11:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOp6ERDA2BJ5wpTLdqbeyO7arYkJitwxf04E/bg1PQawL79rFIXiSyaE3XSic1MFivpPsu X-Received: by 2002:aa7:cb84:: with SMTP id r4mr15972645edt.187.1621685503607; Sat, 22 May 2021 05:11:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621685503; cv=none; d=google.com; s=arc-20160816; b=oVltOqXeASpF1BKMrF3L0ePIalcQiIYHSWrDJ5kO2dt0lgI76I/3CL1KYD+tlpy0ft TOhD0ryUvWivypV+kmNkThCbSpii9EezXT2bKvGg+kuEkHXt0PDmGr2vpatn8dRGEyAv hiokncW6rQVJfNd8nGrQ7Jd5ey705LQ0mz5vodFGQVXutI0Sk6CyiUvyR1IoImU9rA4j 7BeQ4WpDGCO9g9q+CbjFCdXGDf4F+3ORCwRX80QAOjHyDNGnMWVyPccmpiDIptCTOC6C SWP5PWDezhB2UVXFQ1NXqgmvx3Z9p8y/kxjYEh91beCso/KM/tU+vh/l2EdRlfqckW2Q JsdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=y1JnESF1rpwBEVpl89nMWfKaHwfOhH8Spff7of9pYa0=; b=kA/4Ae7pNP6X+U1cwJQGP+me9vFEygLtu0aYnCi7WA+j/uzAMd9Itra/5HDpjtZHuf 356f8ihkFK4cfzhwNcQ9RkKpm1IJ96rxmFuN3/H38u4ZvlyqmYcywktc1fHi+ScB4A9s peEBfxH1bhmnI8pMIGCLjYfHEJRjRaMOHfWbzlZQgp+C9AeqAfXGMFaQVk60P9j8U2hx BWbVGIzeJDZnVA8f37u4R5VxFh0tKgdS+1QB8X26YCN7x0Do2oA4utOoFsxrnrIzSp2c y9iKXdd4/4Skv7yRFRn4MNyIpMhHBfi8Kbk8CJ3aK2YEhDv67ofLC7IsTv0kBbHBus1D SWOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nmgbmj+v; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h15si4198860eje.694.2021.05.22.05.11.16; Sat, 22 May 2021 05:11:43 -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=@kernel.org header.s=k20201202 header.b=nmgbmj+v; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230457AbhEVMLH (ORCPT + 99 others); Sat, 22 May 2021 08:11:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:34822 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230360AbhEVMLG (ORCPT ); Sat, 22 May 2021 08:11:06 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7A73C61132; Sat, 22 May 2021 12:09:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621685381; bh=9T2kqkYRlBFg6M+r87a0QKtYHZee+OSyZCnhm0RwhGc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=nmgbmj+vh/ZbFFsNqC0MYt5yDbsp4syhZCa1TykgmUDEMYPLOctzLoSSzNJEkmFoV WDL9XptsD8N0lsrE1Afbz0pfKppPcXQAf6Bte+e8NYpKzpKFsdnnkSZUsGdQyYF7YK dup7VyMk6kDSgldNsHMxOEAocyh4HwNAH9QqQAREj0wrE9aqhgQlIMMnp74JZDGLEx tFGEjFfQPWJZ6M2WJRREbA+F3WdmmRrYNSQdb3teQ9vIWpOMHHezfqOCJs7L+oAGlj NLUuWnM211fVvaA2wOaxwNFLQNQoU6Zt/dF4JjFhaKluG4xfj8tmwgXhybUfAyDgfB 7zvUEMXmm2RKA== Received: by mail-ot1-f49.google.com with SMTP id v19-20020a0568301413b0290304f00e3d88so20539894otp.4; Sat, 22 May 2021 05:09:41 -0700 (PDT) X-Gm-Message-State: AOAM5303CyeEM19NAueyAs9bPlmvbDk5Lz0RfuDRU48OaGbLHY7tbmr1 wAOAsnFpDrsa7onNEqt4/YRlz5urhlNPiKQ/9QQ= X-Received: by 2002:a9d:69c5:: with SMTP id v5mr12105901oto.108.1621685380892; Sat, 22 May 2021 05:09:40 -0700 (PDT) MIME-Version: 1.0 References: <20210515081404.6334-1-pmenzel@molgen.mpg.de> In-Reply-To: <20210515081404.6334-1-pmenzel@molgen.mpg.de> From: Ard Biesheuvel Date: Sat, 22 May 2021 14:09:29 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] x86/efi: Log 32/64-bit mismatch with kernel as an error To: Paul Menzel Cc: Darren Hart , Andy Shevchenko , Thomas Gleixner , Ingo Molnar , Borislav Petkov , X86 ML , "H. Peter Anvin" , linux-efi , platform-driver-x86@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 15 May 2021 at 10:14, Paul Menzel wrote: > > Log the message > > No EFI runtime due to 32/64-bit mismatch with kernel > > as an error condition, as several things like efivarfs won=E2=80=99t 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 ke= rnel\n"); > + pr_err("No EFI runtime due to 32/64-bit mismatch with ker= nel\n"); > > if (!efi_runtime_supported() || efi_runtime_disabled()) { > efi_memmap_unmap(); > -- > 2.31.1 > Queued up now, thanks.