From patchwork Wed Dec 22 18:15:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Przywara X-Patchwork-Id: 12697195 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 0BD8CC433F5 for ; Wed, 22 Dec 2021 18:17:46 +0000 (UTC) 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=c41S43v/xUtJIWwuj3HiTPWG5DRiuwzfXRH8UY3FhoU=; b=zl9MEZarBIB9Rw bdnGNg5wVHWKjMmZi5usCkl72gu3x8C1gasLDLK1Q0P0xCQUnO6vaX4JxRhuWEtSVTGQ2kwOv3d5Q NVPmbuzLIcNgDkeq7kwMSKOcOE9cDZtJw1eoFu3N6Pz3Bqa0/Q89YO6GpLONpk8iaCDmNgP4i0zm5 pDNcTYKJlmDgmG0b+BiHvypCnWGnKrfyBnA/1ZZp9U4ouTxWUV1TbblNEqj/5DuvaqNb1h74VYeIk zYpP+shO7mtd2q+1qDyTRFR7zSsS7OHvJtcd17ivBxGDKEAF48U6Yp1lO2s5rS+SeYw7B8MYMO5T5 nkguHzuZN9Fxw3eU/6Eg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n06AD-00B3eY-2n; Wed, 22 Dec 2021 18:16:33 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n069x-00B3YV-9I for linux-arm-kernel@lists.infradead.org; Wed, 22 Dec 2021 18:16:20 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5D36E1FB; Wed, 22 Dec 2021 10:16:16 -0800 (PST) Received: from donnerap.arm.com (donnerap.cambridge.arm.com [10.1.196.172]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id AD7713F5A1; Wed, 22 Dec 2021 10:16:15 -0800 (PST) From: Andre Przywara To: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org, Jaxson Han Subject: [boot-wrapper PATCH v2 0/9] Various (build system) fixes Date: Wed, 22 Dec 2021 18:15:58 +0000 Message-Id: <20211222181607.1203191-1-andre.przywara@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211222_101617_390147_997BD8B7 X-CRM114-Status: UNSURE ( 8.08 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series combines various smaller fixes to boot-wrapper, mostly build system related, and some convenience fixes. Patches 1-3 fix problems with distribution (cross-)compilers, since they tend to make too many assumptions about compiling userland programs. Patches 4-8 have been on the list before[1]. Patch 9 is a new fix to silence dtc when it's recompiling the DTB. See the respective patch subjects below for a summary. [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2021-May/656310.html Andre Przywara (9): Makefile: Avoid .got section creation Add standard headers Makefile: Tell compiler to generate bare-metal code configure: Make PSCI the default boot method configure: Fix default DTB configure: Use earlycon instead of earlyprintk pointer auth: Document CPU feature bit mask configure: Autodetect GICv3 avoid dtc warnings on re-compiling DTB Makefile.am | 33 +++++++++++++++++---------------- arch/aarch32/include/stdint.h | 19 +++++++++++++++++++ arch/aarch64/boot.S | 3 ++- arch/aarch64/include/stdint.h | 19 +++++++++++++++++++ configure.ac | 16 ++++------------ include/stddef.h | 15 +++++++++++++++ 6 files changed, 76 insertions(+), 29 deletions(-) create mode 100644 arch/aarch32/include/stdint.h create mode 100644 arch/aarch64/include/stdint.h create mode 100644 include/stddef.h