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=-12.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 E4541C432BE for ; Mon, 26 Jul 2021 10:11:58 +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 B6D5E60F44 for ; Mon, 26 Jul 2021 10:11:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B6D5E60F44 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.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:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=n/V8C7ypDKIY6hF5OsTwlsLIZkwv7WiPtZ1EmzZ9ctg=; b=yxcvaMKZ670L9H zOmab2NvDOKxRxNUow3Nug5BfVzNYCSTHLLAIHvEiBDqgjQYNKH+sa70xAcIPiAi9RGorVX9q3tPq 3aKO+/pWUhdn93T/Qf0HUDnOJQ5ibwv5Fa06Q69RRdUyGGYcB0+65rrOdHEVRZWjor/nVE8PkJ3Pm nDRhluU4AcyElYENY6rOyr06wUcmm8fZP9OnKV8uPOv1RutL1xT6rNC9pq0hAUb8ql6kiK3P74BDa C0w5Q9iQbbCJnDKTi73DE+SF2Z15O7PT/oU/8SmIkcR+aoHgFLq00caSGaPNyvXE0zEaAUf58BpMk e1AkJ8FdDL5mHwXCdlcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m7xYG-00AdTq-DV; Mon, 26 Jul 2021 10:09:36 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m7xYC-00AdST-9E for linux-arm-kernel@lists.infradead.org; Mon, 26 Jul 2021 10:09:33 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9591660C41; Mon, 26 Jul 2021 10:09:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627294171; bh=rpkzxWGwcsoVhXPiuidhFC1go/zVDd33ERQnYqRCb+c=; h=From:To:Cc:Subject:Date:From; b=hw5txQHBSW9x801jUF91Wvr7QVvzSBIERjs+Wvm7iA5+myq/iHwD+OYUArjWAkgfj h+0nnXi6zu/0zmGpJBc1P5AoTs+NdKQ3KnIqEYY75CvQIucfg5DRon4he2R/9NZJPG JsdSgyXp4XghLEKfhI6w/qoRwEg86J+Fp48rELpjwMuj5ON8Q+RJbJy58Y6EOIdr/8 rrmj/+igbeA0KyvfTIeO4e8loaeGd8AKhdqz0SNuuf4t4oLMpLc3X3aEtYnrAHIE4L 63RqSLxe9QWQoIj/f6fDorJzbpJZQYC6xjFSm9z5DjLNrVbmMhJ0rEGpb1O8BRtJvU f2oO49fTH84Hw== From: Ard Biesheuvel To: linux-efi@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Ard Biesheuvel , Benjamin Herrenschmidt Subject: [PATCH v2 0/2] efi/arm64: work around Image placement issues Date: Mon, 26 Jul 2021 12:09:20 +0200 Message-Id: <20210726100922.120029-1-ardb@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210726_030932_382757_20B3DF24 X-CRM114-Status: UNSURE ( 6.42 ) X-CRM114-Notice: Please train this message. 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 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) Build tested only. Cc: Benjamin Herrenschmidt Ard Biesheuvel (2): efi/libstub: arm64: Force Image reallocation if BSS was not reserved efistub: arm64: relax 2M alignment again for relocatable kernels drivers/firmware/efi/libstub/arm64-stub.c | 65 +++++++++++++++++--- 1 file changed, 55 insertions(+), 10 deletions(-) -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel