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: 13186408 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id EEAF2C6FD1C for ; Fri, 24 Mar 2023 05:22:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1D14D6B0072; Fri, 24 Mar 2023 01:22:55 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 181ED6B0074; Fri, 24 Mar 2023 01:22:55 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 048B46B0075; Fri, 24 Mar 2023 01:22:54 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id E756E6B0072 for ; Fri, 24 Mar 2023 01:22:54 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id A2402408AB for ; Fri, 24 Mar 2023 05:22:54 +0000 (UTC) X-FDA: 80602647468.25.5185113 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf07.hostedemail.com (Postfix) with ESMTP id 002FA40004 for ; Fri, 24 Mar 2023 05:22:52 +0000 (UTC) Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=YOWAF5Y1; spf=pass (imf07.hostedemail.com: domain of rppt@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1679635373; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=YxJEmiqmIemD6ESfb3OzCxHBmWCJqdD1NQ9QMETRdZM=; b=hWPnMlMHGZ04s7KxG2y8z1pssWXO36PdX3m+0vXdqFY1R4n8FOlaz6HKykewZwOTjv1vAs rWeAv5yt5lpVHIXyWWLogdAttRr8wY0xcSnyWfag29I9Svs7I9odN3atix6o/qir670N/j 74R+IbauJLYnNMR6wPXxlmapSgwarbk= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=YOWAF5Y1; spf=pass (imf07.hostedemail.com: domain of rppt@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1679635373; a=rsa-sha256; cv=none; b=2vrktq6JPipIzulSvtBA+cBv4T2cZGyBpyO8Fns6xPjszRsx7ofQdqsotHyqMonlMQIjeT Xo45Mr+ScPH08ubry68CPHfA+NCvfBzIF4ab+3sqe5zAcgnmHbmjZ0vsufPDCV1S9GTAz2 NfhYGwf6f/TxE7G9vUCkOruCTLFw7Is= 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 CAB0A628FA; Fri, 24 Mar 2023 05:22:51 +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-Rspamd-Queue-Id: 002FA40004 X-Stat-Signature: ky9oy9o1njohqrkwnhuqpj3hrop7tgan X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1679635372-826890 X-HE-Meta: U2FsdGVkX186WtblAOhVuPlitSBacNT9exgNB3OmkgDGwcdaSU5s+MkJIrlOck8crR5v1b9+WBeRqH/7j60AcXASSBoR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PcRtuGJxHfIHyLoLZVgfkbTAWQrM+HjE9L/9BSARGcRAF9+NQKOhjf5LxrlbtabvlCcUDi07Kh0ye9njf3pFiZBvvo/sSv5rp/xTyJ9m4aRbF1wKgicl6Cr7r/AR9h3WUFUwYTzwQv3XmIweRM3mqBlwdv9JT8qIUsD6+ZVGDfMNhuE/3p1JScQOz57YAD+gyiH9CcLyx9xW2OUm7fqAlCvFXKREInS+zgdXKfiRqk/pd7+sDSNH+mi8+iVan1Rzyc+BHVTf6KUich0V7pa X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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