From patchwork Thu Sep 17 17:18:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 1366298 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gmx.de Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=badeba3b8450 header.b=Pb0+3VQM; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BskFV6sCmz9sPB for ; Fri, 18 Sep 2020 03:18:22 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 95B468239F; Thu, 17 Sep 2020 19:18:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.b="Pb0+3VQM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 173EC823C5; Thu, 17 Sep 2020 19:18:18 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (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 B9D738239D for ; Thu, 17 Sep 2020 19:18:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=xypron.glpk@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1600363094; bh=y3CeUhGYHJ2DkznYwGe2dL9uj2TshydBfLaONkAE+zM=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=Pb0+3VQMepzhr+YigNqwsxAfG0VRjhpSf0k2tpbDOLctvsTWpAToLnKVSM01a6hMW 780grPPKlPr+erj/+B1mkYM3lUATWxZJZXrCdEF8QzR/WyyO9TGR0x563EA+lcbYd9 E8u5/hmT82XmaoehzdiKeNO/0PqKO8aedWOHkH2A= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from LT02.fritz.box ([178.202.41.107]) by mail.gmx.com (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1N3KTy-1kRAm74ASI-010Nzw; Thu, 17 Sep 2020 19:18:14 +0200 From: Heinrich Schuchardt To: u-boot@lists.denx.de Cc: Ard Biesheuvel , Tuomas Tynkkynen , Alexander Graf , Heinrich Schuchardt Subject: [PATCH 1/1] efi_loader: QEMU CONFIG_EFI_GRUB_ARM32_WORKAROUND=n Date: Thu, 17 Sep 2020 19:18:08 +0200 Message-Id: <20200917171808.18297-1-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:Kt9YvfnzzgmxwtWik/NBrL3ZBRJV67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FTkyXlDhbMzA7NcvwzMqujSidYIH0E0PRkCWyW8OgwTbCvKgkkg CeCmVsAc+bkSdiP17Gxug0e3ItkiPMt6J1hPmd8icHjEGkXDWZTSxX2myIez62YOMg5bBneFy Nd/AJPGV+e5vSqPokrr3p5lvFBEpwjLkO2d0EPvaMK8Tc23eubrzPx+/2wYEesmP75yRLOk8m zxLR+MrY+DPBagZZJqyzEwMdsNxMbB29OH224iIoevlexXLxr9BZ185iSQTSBcYGPyo5oACOD Y3qzqTm6dHO8wqca3d5UwgN7m0mkru5YiPI8+QkwAHz5b5nWx3jMUIR/N/l0U2HU5+/jB5u7y GQM9OHzGTj9ac3idMk6stwb3cxWQz5ug9g/VogIwOi9ZYlOhaQT10ycOIRr3M5QobtS35cVaw L7/L791kFqbnqsA+Tx/BhHzd/SWkjPt36LCD19w== 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.102.3 at phobos.denx.de X-Virus-Status: Clean CONFIG_EFI_GRUB_ARM32 is only needed for architectures with caches that are not managed via CP15 (or for some outdated buggy versions of GRUB). It makes more sense to disable the setting per architecture than per defconfig. Move QEMU's CONFIG_EFI_GRUB_ARM32_WORKAROUND=n from defconfig to Kconfig. Signed-off-by: Heinrich Schuchardt --- configs/qemu_arm_defconfig | 1 - lib/efi_loader/Kconfig | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) -- 2.28.0 diff --git a/configs/qemu_arm_defconfig b/configs/qemu_arm_defconfig index 1ffa727e63..278d8f41f4 100644 --- a/configs/qemu_arm_defconfig +++ b/configs/qemu_arm_defconfig @@ -56,4 +56,3 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_PCI=y -# CONFIG_EFI_GRUB_ARM32_WORKAROUND is not set diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig index bad1a29ba8..ab42f3ba75 100644 --- a/lib/efi_loader/Kconfig +++ b/lib/efi_loader/Kconfig @@ -164,6 +164,7 @@ config EFI_HAVE_RUNTIME_RESET config EFI_GRUB_ARM32_WORKAROUND bool "Workaround for GRUB on 32bit ARM" + default n if ARCH_QEMU default y depends on ARM && !ARM64 help