From patchwork Sat Mar 25 06:08:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13187607 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 9BBB9C6FD1F for ; Sat, 25 Mar 2023 06:09: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=cZqQva2YHmrMIEaOo1IRgh8JsUx2r+v8ZaBOWjxKr58=; b=IcsOvFd0kVM5J2 8tXqx1NiEGsh6E/QlfEMhlr1Of4AQAm1LW1emnCvPYbptW9quCA322FVKoPSoJAm2g4VnTi2k0Sn5 rrzh0pteDRxqiao+nIOVsEnvOvSsd2IqOAU16dypvdYqApalVTLG99VITtpqUdcA0qoJVlI7DOmTX rJEn0Wd9i/RaUzlhchMucj/HtBJP/BhkwPJp2ZKlxaWA2ygOfckAmEA6dOXmUhHq4xNol9iqZMawl ikVSLbPigmrubmkmJw6yE5l+xvex5fAiy4tPrCf+3jY1NLbYENPgLUwEVA2G8+PC5FISduzhvzea+ XN4YOxZwHQiAjpq+6DyA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pfx5B-006Bcz-0H; Sat, 25 Mar 2023 06:08:53 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pfx57-006Bbn-0K for linux-arm-kernel@lists.infradead.org; Sat, 25 Mar 2023 06:08:50 +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 ams.source.kernel.org (Postfix) with ESMTPS id 15545B826D7; Sat, 25 Mar 2023 06:08:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3398AC433D2; Sat, 25 Mar 2023 06:08:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679724525; bh=QPzy71xE64/SsB5HZiR2p+8ayTfHE+kLq9Bs2237hX0=; h=From:To:Cc:Subject:Date:From; b=JBRN3rCiUE7oatyCO1ntcs7l+Ygz/TFZ1MhPgjxriIbDUkM3cN8w4/ZOr3pRBzwcv iGmFCD1UJbb8yyn2abrAg5wsr3JNsRJylaybW0eUGVa2aWzb608pnWLc27USlHufxS Dk2wghv0HZwFNYqpbHmYss+l/fa5ftq/XnFJr6K9B0X59TOO6QRSvJVTyHfOlKdLGF 54Ci8dpwCXl96AJ8gkbhujTgy2KgRU31aG9drErxh2HlIn6sGOfYZF2Dm8QjBggrY4 4bOpTxAaFt6ZKLsW7Da/u16QI+zHrS/Nh/iGzj4q8lqxrVIyYb/Dy2pavbalKqrD6C IIfbUAwR8oh7A== From: Mike Rapoport To: Andrew Morton Cc: Arnd Bergmann , Catalin Marinas , Christophe Leroy , "David S. Miller" , Dinh Nguyen , Geert Uytterhoeven , Guo Ren , John Paul Adrian Glaubitz , "Kirill A. Shutemov" , Max Filippov , Michael Ellerman , Mike Rapoport , Rich Felker , Russell King , Will Deacon , Yoshinori Sato , Zi Yan , linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mm@kvack.org, linux-sh@vger.kernel.org, linux-xtensa@linux-xtensa.org, linuxppc-dev@lists.ozlabs.org, sparclinux@vger.kernel.org Subject: [PATCH v3 00/14] arch,mm: cleanup Kconfig entries for ARCH_FORCE_MAX_ORDER Date: Sat, 25 Mar 2023 09:08:14 +0300 Message-Id: <20230325060828.2662773-1-rppt@kernel.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230324_230849_422619_C5A6EEE7 X-CRM114-Status: GOOD ( 10.93 ) 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: "Mike Rapoport (IBM)" Hi, Several architectures have ARCH_FORCE_MAX_ORDER in their Kconfig and they all have wrong and misleading prompt and help text for this option. Besides, some define insane limits for possible values of ARCH_FORCE_MAX_ORDER, some carefully define ranges only for a subset of possible configurations, some make this option configurable by users for no good reason. This set updates the prompt and help text everywhere and does its best to update actual definitions of ranges where applicable. kbuild generated a bunch of false positives because it assigns -1 to ARCH_FORCE_MAX_ORDER, hopefully this will be fixed soon. v3: * fix rebase fallouts (Zi Yan) v2: https://lore.kernel.org/all/20230324052233.2654090-1-rppt@kernel.org * arm64: show prompt for ARCH_FORCE_MAX_ORDER only if EXPERT (Catalin) * Add Acked- and Reviewed-by tags (thanks Geert, Kirill and Max) v1: https://lore.kernel.org/all/20230323092156.2545741-1-rppt@kernel.org Mike Rapoport (IBM) (14): arm: reword ARCH_FORCE_MAX_ORDER prompt and help text arm64: drop ranges in definition of ARCH_FORCE_MAX_ORDER arm64: reword ARCH_FORCE_MAX_ORDER prompt and help text csky: drop ARCH_FORCE_MAX_ORDER ia64: don't allow users to override ARCH_FORCE_MAX_ORDER m68k: reword ARCH_FORCE_MAX_ORDER prompt and help text nios2: reword ARCH_FORCE_MAX_ORDER prompt and help text nios2: drop ranges for definition of ARCH_FORCE_MAX_ORDER powerpc: reword ARCH_FORCE_MAX_ORDER prompt and help text powerpc: drop ranges for definition of ARCH_FORCE_MAX_ORDER sh: reword ARCH_FORCE_MAX_ORDER prompt and help text sh: drop ranges for definition of ARCH_FORCE_MAX_ORDER sparc: reword ARCH_FORCE_MAX_ORDER prompt and help text xtensa: reword ARCH_FORCE_MAX_ORDER prompt and help text arch/arm/Kconfig | 16 +++++++++------- arch/arm64/Kconfig | 26 ++++++++++++-------------- arch/csky/Kconfig | 4 ---- arch/ia64/Kconfig | 3 +-- arch/m68k/Kconfig.cpu | 16 +++++++++------- arch/nios2/Kconfig | 17 +++++++++-------- arch/powerpc/Kconfig | 22 +++++++++------------- arch/sh/mm/Kconfig | 19 +++++++++---------- arch/sparc/Kconfig | 16 +++++++++------- arch/xtensa/Kconfig | 16 +++++++++------- 10 files changed, 76 insertions(+), 79 deletions(-) base-commit: 51551d71edbc998fd8c8afa7312db3d270f5998e