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: 7187 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp228585vqo; Fri, 24 Mar 2023 23:10:13 -0700 (PDT) X-Google-Smtp-Source: AKy350YYKONxEFF3TFeRiO+6vMsSnE2x/3tLq0051ITiEVma1ZuKvAVKhJJyU5rnZrqka4zbwFoR X-Received: by 2002:a17:907:c304:b0:931:b34:4172 with SMTP id tl4-20020a170907c30400b009310b344172mr6264279ejc.3.1679724613371; Fri, 24 Mar 2023 23:10:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679724613; cv=none; d=google.com; s=arc-20160816; b=jBnIj1coOAEsJtzPMNhKkNzJ+m8eVdxqS8hy0hQd5L2k0MNa4wHOfzW1PVWzzMnX1G lsyuQHNuyjn28pQaGZ2c7j//9TEAbz3ng+XpFbjWpAtDWY4kF5nkl+9XNVlfWn57RHrk ghrdeFsvWa/p5mZh/jFAnGLYUnWGvrXzYFtqFFCryYLYd3JSD06AKVlM6uXzDFnOYZBC XsYYcIeajW2U3qK43uly6Dx+B7su60LTSMLHl5p9IkgB5HRi+p87WyXDCjFx+W/AJgI5 JGWY7vZow4zyxi9ZkGgYZY42IJmsj8NbnGnK+IHeGcofMgx/2lXYvaXy0zV03wx253Ic ljvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=d7wtLsXSlXVBUtjyQlBcNIykNJz/ty8I5/hoJS3/En0=; b=bnosFUrD64E/rOytug7fuavpSFjgpqK5AOwEbkoiGaUv+QWtEgnR7TGFTlVJVIhyZ8 FDMJ6APJc9EUBD0N7s5JjHFMp6NwF0HWnwoLVwEFsCMFSe6RGg6W4RldutZ2KC21v/6N 5w7gaOtyDl2Qv4aQv4YIbcl9z4OveaQCOkN2bzvhXqPiLICSZhepWZL5/hKRslfDqer6 s7hZ6aGfsCnGbzpwUU7aDVYJeFT/+R6m3qvnm5aWhe56KlmAzruvtRHYPouGGS3DteNc qwEwqNeWFHVN/mLO5aOaGgPZ7yW8TpVgixbgY1ChvGndlxh6IQ6CzrfSq5AffyoBtc8N ZwvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JBRN3rCi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sg9-20020a170907a40900b0093e3a33d7easi4010127ejc.451.2023.03.24.23.09.50; Fri, 24 Mar 2023 23:10:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JBRN3rCi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231508AbjCYGIu (ORCPT + 99 others); Sat, 25 Mar 2023 02:08:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230133AbjCYGIr (ORCPT ); Sat, 25 Mar 2023 02:08:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D32CE5B83; Fri, 24 Mar 2023 23:08:46 -0700 (PDT) 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 6DA4F608D6; Sat, 25 Mar 2023 06:08:46 +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-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761318916055454127?= X-GMAIL-MSGID: =?utf-8?q?1761318916055454127?= 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