From patchwork Thu Aug 1 06:08:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13749759 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 56C37C3DA64 for ; Thu, 1 Aug 2024 06:13:54 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E02DC6B00C4; Thu, 1 Aug 2024 02:13:53 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D8E986B00C6; Thu, 1 Aug 2024 02:13:53 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C06496B00C7; Thu, 1 Aug 2024 02:13:53 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 9B7AE6B00C4 for ; Thu, 1 Aug 2024 02:13:53 -0400 (EDT) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 59C5F802E9 for ; Thu, 1 Aug 2024 06:13:53 +0000 (UTC) X-FDA: 82402660746.19.F72E450 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf26.hostedemail.com (Postfix) with ESMTP id ABA3314000D for ; Thu, 1 Aug 2024 06:13:51 +0000 (UTC) Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=Krg1nriO; spf=pass (imf26.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=1722492787; 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:in-reply-to:references:references:dkim-signature; bh=/tY3zNJs0sdp+mLC80D8l7ZC/gwnw93Ga09MvkFIaSA=; b=csKKnWR/J0zZycd67vrO4CgzB74AYdd7j6vsI+ULoHxwHeu6l1UtiDbEqAqdTSUoT+v5OM 5U9grrmCwcdZEWNCjIl4PwJQiNYnOTfUeuEcrOHrIdyZpG3hxH28MNuhFOf8xwgk9CFTci SYYc7Uz1UtzHWgEmS7yrP+Bvg/H6xyw= ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=Krg1nriO; spf=pass (imf26.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=1722492787; a=rsa-sha256; cv=none; b=GZNg7DpRbJnQMHNc7Vs3kDE6C6vVUhy9FurV5s9LTLUTH0DBOLB6EY3WUZvH4kmmqJujc/ 9yEuRzZJY4OFeOKrl5VkMlniqBsjtpBjFLXV719M75RDUjvwf5pshx4TbMQJzCmxjHiybm yuoWQMTCcLuJNxU2hGxNVS7UxXsJMto= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id E980462769; Thu, 1 Aug 2024 06:13:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 97316C4AF0E; Thu, 1 Aug 2024 06:13:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1722492830; bh=2z4bHnWIWcvxAiFTLgSYfPcGY4CSFltdU+BtR9hEENA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Krg1nriO+eqnJw/SwdbuG3fCazMoLJlQMveWlRkHWmGKjUeBAV7SPEb3qpYrtisDR zcMTZ9ucUhsZWHm5P0W+e7OwiQbmCzYDNW0O0KB9bpGyPbYgbomgp6evmqSqJK760o G3tlRtfaCIlHRTSAxX+B6jfurNE/P42/ILnPuKFYuvjt2jr3XDTpBGpJgTe69srkyE T7HP4P7RrEbKkHv+Z2WcA38kANShZuYnsFLoO9R+x/ze0wRTfzDScZQnHsTT0bkqEp r3/pInPgL1sn+CE/kAYEoSxGqH/IFD6WOJQ4wImNEhfM2qe3oPpI8DAV+mZ7uJVllq swnBD4lW/yIiw== From: Mike Rapoport To: linux-kernel@vger.kernel.org Cc: Alexander Gordeev , Andreas Larsson , Andrew Morton , Arnd Bergmann , Borislav Petkov , Catalin Marinas , Christophe Leroy , Dan Williams , Dave Hansen , David Hildenbrand , "David S. Miller" , Davidlohr Bueso , Greg Kroah-Hartman , Heiko Carstens , Huacai Chen , Ingo Molnar , Jiaxun Yang , John Paul Adrian Glaubitz , Jonathan Cameron , Jonathan Corbet , Michael Ellerman , Mike Rapoport , Palmer Dabbelt , "Rafael J. Wysocki" , Rob Herring , Samuel Holland , Thomas Bogendoerfer , Thomas Gleixner , Vasily Gorbik , Will Deacon , Zi Yan , devicetree@vger.kernel.org, linux-acpi@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-cxl@vger.kernel.org, linux-doc@vger.kernel.org, linux-mips@vger.kernel.org, linux-mm@kvack.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, nvdimm@lists.linux.dev, sparclinux@vger.kernel.org, x86@kernel.org Subject: [PATCH v3 26/26] docs: move numa=fake description to kernel-parameters.txt Date: Thu, 1 Aug 2024 09:08:26 +0300 Message-ID: <20240801060826.559858-27-rppt@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240801060826.559858-1-rppt@kernel.org> References: <20240801060826.559858-1-rppt@kernel.org> MIME-Version: 1.0 X-Stat-Signature: pe6ny6gtuz7wrp47eacj7rkq5gazuwd1 X-Rspam-User: X-Rspamd-Queue-Id: ABA3314000D X-Rspamd-Server: rspam02 X-HE-Tag: 1722492831-653807 X-HE-Meta: U2FsdGVkX18BEEX6w6W0hUpigfPC/iDW/68ZyGyQXOrzRGD8F0jtdBvBYESQn2GpevN1KxA/hf/Je1xab66m9NeALN3rTJxsF4iFUMXgcHyNFs/O7y4IYbmlstdgWIhbX+epekgCGwqPpRBQ/H7soN9hOpX2Z9B36ktxhByxmRaZiOaaIWeFhJwwfieOvob8Bdfp6m80sGKdmji5Eb5m/Ex1oKqfMqz6j9Y6GeShycdCJ+PsWyWL0OV1A3D4zhegHuKSWuDmkvEqhMHTBYx5tGpfURv8NX1zU+mqat3X1Bymd6r9d/23feMCaclPMoQO5XkYNYSVdbfzy+UpL8YBHt3ARhNAfD7xohur2rRmXSQce4q9fQYDs3IQrUvX8KpXRWf0Ui5eRwiXaUhyl2Sw4bpO2Wijfo72YL5l8ij6pO9IgPQ/4RR5eOo5LpdLJ8EUGbdaOtfMd/7nYiydp3LKpkRS5WqDeWUj5Me1wYGvrB2qgoh8j9Z0mCErAOYtTH8oPV02xReU5086240aEKQ8zpoJkFl+fUBLgMlBiGhtfQvJ2vCS8lOCRIzvES9XI9ciPAKotnSSOAs/y0ZDUbeyO1KNoAGrOO13ZQ3Z45s4clA+cMXOGnncayio2qlKeIfz6wtDY8L5MxFdhSl8kGvOcZU7RWAh/PSbjknMkuxOymegxt0OczY9mjNSYfodDzn9DXv8eCGgo2YLqHum73Q8ZkMuefC94mRGUY0IFDjUynBxfSmdyxOHF17F4HJalmCgr2bl1c8JkveTGDDlFJj9Tn6IV6OtZxrg0Ghv/e6B+ZxQGJZTI+W1rt1xhu6X2dBf5w3y9O6ce0WXG99rMiTJCyBIx3mDGuu53ihK0Au7jZcnCvYF7eaRiyNHS7e1fwMoa36x2W/Hzvz7JFKa45Ua6EQzhGYwKWQwZeENZnqbrFmEVQBUmMMQJaaKGF0XunNgMU0Fukwvgf+LIS+Yfek qeMDlmRo YXA+YeLqVpCgbcwC1GQRubJ/HVZYwfzaVE49lSDrHJgQ9bp7tBcRLyNDyyAJedtQNdrj+BJShQznKDdMftt0l1UYGZ9O7tcnpCT8YoxQAgfsl+fN6N09lX6nRIuuoqNe06ZxLYHbl7FV2jg1HMUXNym9nV1Xw/V+4l+l9R5bUK8j0dxzY+Yo/93V3qgvQYlS9rvMjXOMI6aI5z62xjQwBgdevXxJ5aQhBIvI23RBkXqlphZUgW0rXAIZyby1MKQN61BxubkCgAgwoEyNLLGBCz1piCQranP8TWTIORkt8wJI5DH8= 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: List-Subscribe: List-Unsubscribe: From: "Mike Rapoport (Microsoft)" NUMA emulation can be now enabled on arm64 and riscv in addition to x86. Move description of numa=fake parameters from x86 documentation of admin-guide/kernel-parameters.txt Suggested-by: Zi Yan Signed-off-by: Mike Rapoport (Microsoft) Reviewed-by: Jonathan Cameron Acked-by: David Hildenbrand --- Documentation/admin-guide/kernel-parameters.txt | 15 +++++++++++++++ Documentation/arch/x86/x86_64/boot-options.rst | 12 ------------ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index f1384c7b59c9..bcdee8984e1f 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -4123,6 +4123,21 @@ Disable NUMA, Only set up a single NUMA node spanning all memory. + numa=fake=[MG] + [KNL, ARM64, RISCV, X86, EARLY] + If given as a memory unit, fills all system RAM with + nodes of size interleaved over physical nodes. + + numa=fake= + [KNL, ARM64, RISCV, X86, EARLY] + If given as an integer, fills all system RAM with N + fake nodes interleaved over physical nodes. + + numa=fake=U + [KNL, ARM64, RISCV, X86, EARLY] + If given as an integer followed by 'U', it will + divide each physical node into N emulated nodes. + numa_balancing= [KNL,ARM64,PPC,RISCV,S390,X86] Enable or disable automatic NUMA balancing. Allowed values are enable and disable diff --git a/Documentation/arch/x86/x86_64/boot-options.rst b/Documentation/arch/x86/x86_64/boot-options.rst index 137432d34109..98d4805f0823 100644 --- a/Documentation/arch/x86/x86_64/boot-options.rst +++ b/Documentation/arch/x86/x86_64/boot-options.rst @@ -170,18 +170,6 @@ NUMA Don't parse the HMAT table for NUMA setup, or soft-reserved memory partitioning. - numa=fake=[MG] - If given as a memory unit, fills all system RAM with nodes of - size interleaved over physical nodes. - - numa=fake= - If given as an integer, fills all system RAM with N fake nodes - interleaved over physical nodes. - - numa=fake=U - If given as an integer followed by 'U', it will divide each - physical node into N emulated nodes. - ACPI ====