Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9F09C48BC2 for ; Sun, 27 Jun 2021 21:08:19 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2C72861C17 for ; Sun, 27 Jun 2021 21:08:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2C72861C17 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xs4all.nl Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 38A3B82C72; Sun, 27 Jun 2021 23:08:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xs4all.nl Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id BCF3D82C7C; Sun, 27 Jun 2021 23:08:14 +0200 (CEST) Received: from sibelius.xs4all.nl (sibelius.xs4all.nl [83.163.83.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8810C81ED0 for ; Sun, 27 Jun 2021 23:08:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xs4all.nl Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=mark.kettenis@xs4all.nl Received: from localhost (bloch.sibelius.xs4all.nl [local]) by bloch.sibelius.xs4all.nl (OpenSMTPD) with ESMTPA id 4b2a6cca; Sun, 27 Jun 2021 23:08:04 +0200 (CEST) Date: Sun, 27 Jun 2021 23:08:04 +0200 (CEST) From: Mark Kettenis To: Heinrich Schuchardt Cc: trini@konsulko.com, u-boot@lists.denx.de, agraf@csgraf.de, ilias.apalodimas@linaro.org, kettenis@openbsd.org, masahisa.kojima@linaro.org, pbrobinson@gmail.com, sughosh.ganu@linaro.org, vagrant@debian.org In-Reply-To: (message from Heinrich Schuchardt on Sun, 27 Jun 2021 23:03:58 +0200) Subject: Re: [PATCH] efi_loader: Do not enable by default on armv7 References: <20210627194449.18840-1-trini@konsulko.com> Message-ID: <56136edbeb59bafc@bloch.sibelius.xs4all.nl> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean > From: Heinrich Schuchardt > Date: Sun, 27 Jun 2021 23:03:58 +0200 > > On 6/27/21 9:44 PM, Tom Rini wrote: > > We have had EFI loader support enabled by default on armv7 platforms for > > a long time now. However, there has been little uptake in the wider > > community to use EFI loader support as the step to start a generic OS > > distribution, on this architecture family and the focus has been on > > armv8 instead. Disable this by default for armv7 only. > > NAK > > Please, read https://fedoraproject.org/wiki/Changes/uEFIforARMv7. +1 OpenBSD/armv7 relies on EFI loader support as well. Cheers. > > Cc: Alexander Graf > > Cc: Heinrich Schuchardt > > Cc: Ilias Apalodimas > > Cc: Mark Kettenis > > Cc: Masahisa Kojima > > Cc: Peter Robinson > > Cc: Sughosh Ganu > > Cc: Vagrant Cascadian > > Signed-off-by: Tom Rini > > --- > > I'm very much looking for feedback here that this is the wrong approach > > and that I've missed the off the shelf distributions that make use of > > this. > > --- > > lib/efi_loader/Kconfig | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig > > index 6242caceb7f9..8a22fe9951a3 100644 > > --- a/lib/efi_loader/Kconfig > > +++ b/lib/efi_loader/Kconfig > > @@ -10,7 +10,7 @@ config EFI_LOADER > > depends on !EFI_STUB || !X86_64 || EFI_STUB_64BIT > > # We need EFI_STUB_32BIT to be set on x86_32 with EFI_STUB > > depends on !EFI_STUB || !X86 || X86_64 || EFI_STUB_32BIT > > - default y if !ARM || SYS_CPU = armv7 || SYS_CPU = armv8 > > + default y if !ARM || SYS_CPU = armv8 > > select LIB_UUID > > select HAVE_BLOCK_DEVICE > > select REGEX > > > >