From patchwork Fri Mar 24 05:22:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 7131 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp404734vqo; Thu, 23 Mar 2023 23:11:35 -0700 (PDT) X-Google-Smtp-Source: AKy350bsWK/JMd+U/ZaWsT82IUBS3wZ2E/Xomyqp41c8nUBtU8Ubo1y7OnKZHylrp/fa2hJN2GlY X-Received: by 2002:a17:906:3a41:b0:931:8e8c:2db5 with SMTP id a1-20020a1709063a4100b009318e8c2db5mr1487169ejf.69.1679638295651; Thu, 23 Mar 2023 23:11:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679638295; cv=none; d=google.com; s=arc-20160816; b=cYkeSNXKi6KLxC07QUyoxU/o1cdjz2A1WtEmld5dNKX691sap7EMsRxnGS3AaAjnkB FzcXbmEXuPKnAuVtfDnUAIQe9Nq5iF4X2Afju7R7k6F1Bdwe9E7jIBWp49HpnzmorbdO kljsnnoSxNCUxlPyYd40TgBZl2SVnCevuNLW4SGClmQUxA2Hufv0EJrx3PqYVfDGluJ/ 8yXYCpRpFtfHUP3BVWeMDjr7lQymPcuzfo7grSM0tbGKgxv6DfVm3KLUAKcE0srmQwvh GQE6lqG47QmgEbXFf8gPcHCHAdbrYJkQL/PMCQDSkZue7RVjZSPJlS4GI0o9sTDLQ6RQ ob4A== 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=YxJEmiqmIemD6ESfb3OzCxHBmWCJqdD1NQ9QMETRdZM=; b=kDvXnE3O58JWcTTuWlVd1XYZlPb7XMm9dSnO4KBMMhW7ytgBfpP13a+ly3b9j0n9Fn Tc3Hwxm4QDlZnW3Mkm59JUoLIGZq/OzwzYKnPyy51wbE9Ir7TRAtO/N5OBqxZIhjNoJx hX6HxAnnjO222GuQnDRnHieyQyZQVzSfW4WsEIaflqn7U0tFu3xGHd8CHTisiduOP1mT 4whn907IRkTo1Hqo/CfQslIeawdOQDmOLu8Iods2LZ0rpB1NMa+IcdZllah2SvWJgeft Px1r4i+8G6c3M9pev7hDLXCc7I9dOx4GCxv9KlQEzQ/ZrQwXfHw56fXPPc60cXWzuKEd cvXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YOWAF5Y1; 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 oz18-20020a1709077d9200b0093a35d77d78si11423346ejc.843.2023.03.23.23.11.12; Thu, 23 Mar 2023 23:11:35 -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=YOWAF5Y1; 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 S231461AbjCXFXD (ORCPT + 99 others); Fri, 24 Mar 2023 01:23:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231236AbjCXFXA (ORCPT ); Fri, 24 Mar 2023 01:23:00 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4460123D87; Thu, 23 Mar 2023 22:22:54 -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 ams.source.kernel.org (Postfix) with ESMTPS id 97026B822E5; Fri, 24 Mar 2023 05:22:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64C8CC433EF; Fri, 24 Mar 2023 05:22:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679635371; bh=Ul9NMDRbV5/iHtQYX/zkoya3pbJ4hQPwrl+Sd+puRWI=; h=From:To:Cc:Subject:Date:From; b=YOWAF5Y1n8xRwZo2KFiamdRjZ5Oymm9pNTVZmvxTLEFtRjiGJyX5bQpJPH2G9ZyBj 9FJ172ZeQRFnBYVo+m+Sk467H7SJngn6UJDNA6Hp0T+FhNpzS3Z/SBhMOAb08YvDFK G1nbyBtY3Mbn2dDIpGrttvt6YQNyfrPUJXUnUkt1rWguFh2rP4Y0uYD1vzMRq8GlsO JoC0PzPKD2eM6JTUL/CSvgorUZA+UvV7RPxB50cbcRe2Ndltsssf4lqzcLkM5ie6Zz IXZV+vfMatPhD9mjywHGL31LsJqFG+UXBf9UXk1Ogya/h0oVDQ6yJom51rXxP32azh Bzma2/bTVTMpw== 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 v2 00/14] arch,mm: cleanup Kconfig entries for ARCH_FORCE_MAX_ORDER Date: Fri, 24 Mar 2023 08:22:19 +0300 Message-Id: <20230324052233.2654090-1-rppt@kernel.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,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?1761228405780396245?= X-GMAIL-MSGID: =?utf-8?q?1761228405780396245?= 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. v2: * 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 | 27 ++++++++++++--------------- 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(+), 80 deletions(-) base-commit: 51551d71edbc998fd8c8afa7312db3d270f5998e