From patchwork Thu Jul 21 14:17:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 12925278 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 1074BC433EF for ; Thu, 21 Jul 2022 14:19:02 +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:References:In-Reply-To: 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: List-Owner; bh=XhwJD1QFr0Ht78XYgt596vjH1MhzpdyotuTVvGxB57Q=; b=cuCTooP6819Ai3 ocHvi/djrJKfuWLafy2LbMzLxoG5nUuekdVc3TMuU6/qxQ9Mj0s8yGBxXMtEHVE2eDGsAqF7A/x37 BZE7H510NbiyEek3iSNROfGfrsR2CXBawtYf6/LndFPgKciHXy4Kx4eUhxnvTo6Mn5genI18Dxieg S44S5uh/VSkebAQzxVX+UnyvLS5gRxY18GTFG5tabEvz2xdJyCDifVgaMB59kgmm1mlvXS7a9+g6D 5MSO8Pbsyo23nuNRayNtcvT30mzFuO9amrQvcG7zJ7iy5rraPzuq9Xo44OHQB+cP5lMiM951kkC5j 7u8Scm5WUJ9I/ni7jdCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEX05-007h8G-Em; Thu, 21 Jul 2022 14:18:01 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEWzw-007gyw-AZ for linux-arm-kernel@lists.infradead.org; Thu, 21 Jul 2022 14:17:53 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EA3DD61FA0; Thu, 21 Jul 2022 14:17:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9A9EC3411E; Thu, 21 Jul 2022 14:17:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658413071; bh=ZT+ZjMqRg8urpkikOuIWzwW/PdkXOvzU9wCI4V5YWH0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=N9m9wSQkfPQpU3kY+AG9WSBD7/+SIvAtLKshHmJfX9t5oFc3h0x7wIXWZHXM+3o9O Z6n9EO2jkiEN9nQ4Mf1/whFRqzyvf3nhrKtJDFFObSWgYHXu/tIlGEvgS0zZ9wk0ur Xo+9SQD6s4B8HLoYIau5A7F2PJG8rdLqnrPFbJOVnUYPw0wquejExSXpQ5rc8GMF69 CVOte8boy5jPSkPqAujulMfHf1iFy53YTfWhNi+JQdb+ejvx8e07VUhygYt+F9psO7 bCyec7HKa9pucNP39rvXuxBqB/1hktPxP+0uMOpOIgWMOCH5elWLJK7J546pb8pah1 UklUzqJ4BW2kA== From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Arnd Bergmann Subject: [PATCH 02/13] ARM: add CONFIG_UNUSED_BOARD_FILES Date: Thu, 21 Jul 2022 16:17:11 +0200 Message-Id: <20220721141722.2414719-3-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20220721141722.2414719-1-arnd@kernel.org> References: <20220721141722.2414719-1-arnd@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220721_071752_421777_0E3EF023 X-CRM114-Status: GOOD ( 20.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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Arnd Bergmann Based on the recent mailing list discussion, most board file support has no remaining users and can be scheduled for removal early next year. If a board is still found to have users, it will remain for this round but users are encouraged to migrate to devicetree based booting where possible. The timing is meant to ensure the next longterm supported kernel still contains all the board files, giving another year of support for potential users that did not speak up and would otherwise be stuck on the v5.15.y longterm kernel from 2021. Link: https://lore.kernel.org/all/CAK8P3a0Z9vGEQbVRBo84bSyPFM-LF+hs5w8ZA51g2Z+NsdtDQA@mail.gmail.com/ Link: https://docs.google.com/spreadsheets/d/1PL4dUUSieeXHzZhAn_Rnix32OTiCfN33sCQejpvI6ng/edit#gid=0 Signed-off-by: Arnd Bergmann --- arch/arm/Kconfig | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 4349525cd1e1..6307a66ff6fe 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1548,8 +1548,20 @@ config ATAGS This is the traditional way of passing data to the kernel at boot time. If you are solely relying on the flattened device tree (or the ARM_ATAG_DTB_COMPAT option) then you may unselect this option - to remove ATAGS support from your kernel binary. If unsure, - leave this to y. + to remove ATAGS support from your kernel binary. + +config UNUSED_BOARD_FILES + bool "Board support for machines without known users" + depends on ATAGS + help + Most ATAGS based board files are completely unused and are + scheduled for removal in early 2023, and left out of kernels + by default now. If you are using a board file that is marked + as unused, turn on this option to build support into the kernel. + + To keep support for your individual board from being removed, + send a reply to the email discussion at + https://lore.kernel.org/all/CAK8P3a0Z9vGEQbVRBo84bSyPFM-LF+hs5w8ZA51g2Z+NsdtDQA@mail.gmail.com/ config DEPRECATED_PARAM_STRUCT bool "Provide old way to pass kernel parameters"