From mboxrd@z Thu Jan 1 00:00:00 1970 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=-9.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 756FBC4338F for ; Mon, 2 Aug 2021 11:33:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4065D60FC1 for ; Mon, 2 Aug 2021 11:33:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4065D60FC1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Date:Cc:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YU2Bdu8wZDjvMSV6ZwTUWoW7vAmJB+N4lfJdwHCsSnk=; b=VXUGtb8y7auSVS fl1sEizVpZsuu5qQjZAdoWZcAz49gJAFLO8sCUoKdmvcZMaMT6Pb8hF4Yhgu9Jg9naQin1kN2+Be1 Ep7jA4AEYaE6lnwartXoRVQweMiB1GM8UtC3HeE0KUiCNSwQiJlTAhnWYsTEhOLVKJONADPlg0zG/ 6bvs6m6ReqpSgHudcDs1cyxc7Qaaq2cWHrGhN/ueqx7nmPJCLyifcHeyjyiJcB84bWvRLcVjjS1J9 dJH4MtprvIB0Dw0dfjylmTMUWg/Nss91AYX0dZmsOx3CJgdp5xIohi/xwjzPjM3TuAgZi+43dVaqO 0+h2al82FK29B1BUa0kg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAWAH-00Fwxm-HU; Mon, 02 Aug 2021 11:31:25 +0000 Received: from gate.crashing.org ([63.228.1.57]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAW6I-00Fvkc-Sm for linux-arm-kernel@lists.infradead.org; Mon, 02 Aug 2021 11:27:20 +0000 Received: from ip6-localhost (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 172BQDik029450; Mon, 2 Aug 2021 06:26:14 -0500 Message-ID: Subject: Re: [PATCH v3 0/4] efi/arm64: work around Image placement issues From: Benjamin Herrenschmidt To: Ard Biesheuvel , linux-efi@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Date: Mon, 02 Aug 2021 21:26:13 +1000 In-Reply-To: <20210726145156.12006-1-ardb@kernel.org> References: <20210726145156.12006-1-ardb@kernel.org> User-Agent: Evolution 3.36.5-0ubuntu1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210802_042719_089337_A14BE51A X-CRM114-Status: GOOD ( 11.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 2021-07-26 at 16:51 +0200, Ard Biesheuvel wrote: > Ben reported that distro GRUB may fail to boot in some circumstances, > and tracked it down to an issue in the way distro GRUB allocates space > for the image. Due to an oversight (addressed in patch #2), this > condition is rarely triggered, but let's work around it in any case (#1) > > Remaining patches add further warnings for conditions that are unlikely > to occur, but should not be ignored. > > Build tested only. > > Cc: Benjamin Herrenschmidt All 4 patches: Tested-by: Benjamin Herrenschmidt I checked that it catches all of the errors, including reverting my fix for randomalloc.c and verifying that it caught (and successfully worked around) the original boot crash. Cheers, Ben. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel