| From: "Mike Rapoport (Microsoft)" <rppt@kernel.org> |
| Subject: docs: move numa=fake description to kernel-parameters.txt |
| Date: Wed, 7 Aug 2024 09:41:10 +0300 |
| |
| 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 |
| |
| Link: https://lkml.kernel.org/r/20240807064110.1003856-27-rppt@kernel.org |
| Suggested-by: Zi Yan <ziy@nvidia.com> |
| Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org> |
| Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> |
| Tested-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> [arm64 + CXL via QEMU] |
| Acked-by: Dan Williams <dan.j.williams@intel.com> |
| Acked-by: David Hildenbrand <david@redhat.com> |
| Cc: Alexander Gordeev <agordeev@linux.ibm.com> |
| Cc: Andreas Larsson <andreas@gaisler.com> |
| Cc: Arnd Bergmann <arnd@arndb.de> |
| Cc: Borislav Petkov <bp@alien8.de> |
| Cc: Catalin Marinas <catalin.marinas@arm.com> |
| Cc: Christophe Leroy <christophe.leroy@csgroup.eu> |
| Cc: Dave Hansen <dave.hansen@linux.intel.com> |
| Cc: Davidlohr Bueso <dave@stgolabs.net> |
| Cc: David S. Miller <davem@davemloft.net> |
| Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| Cc: Heiko Carstens <hca@linux.ibm.com> |
| Cc: Huacai Chen <chenhuacai@kernel.org> |
| Cc: Ingo Molnar <mingo@redhat.com> |
| Cc: Jiaxun Yang <jiaxun.yang@flygoat.com> |
| Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> |
| Cc: Jonathan Corbet <corbet@lwn.net> |
| Cc: Michael Ellerman <mpe@ellerman.id.au> |
| Cc: Palmer Dabbelt <palmer@dabbelt.com> |
| Cc: Rafael J. Wysocki <rafael@kernel.org> |
| Cc: Rob Herring (Arm) <robh@kernel.org> |
| Cc: Samuel Holland <samuel.holland@sifive.com> |
| Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de> |
| Cc: Thomas Gleixner <tglx@linutronix.de> |
| Cc: Vasily Gorbik <gor@linux.ibm.com> |
| Cc: Will Deacon <will@kernel.org> |
| Signed-off-by: Andrew Morton <akpm@linux-foundation.org> |
| --- |
| |
| Documentation/admin-guide/kernel-parameters.txt | 15 ++++++++++++++ |
| Documentation/arch/x86/x86_64/boot-options.rst | 12 ----------- |
| 2 files changed, 15 insertions(+), 12 deletions(-) |
| |
| --- a/Documentation/admin-guide/kernel-parameters.txt~docs-move-numa=fake-description-to-kernel-parameterstxt |
| +++ a/Documentation/admin-guide/kernel-parameters.txt |
| @@ -4123,6 +4123,21 @@ |
| Disable NUMA, Only set up a single NUMA node |
| spanning all memory. |
| |
| + numa=fake=<size>[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=<N> |
| + [KNL, ARM64, RISCV, X86, EARLY] |
| + If given as an integer, fills all system RAM with N |
| + fake nodes interleaved over physical nodes. |
| + |
| + numa=fake=<N>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 |
| --- a/Documentation/arch/x86/x86_64/boot-options.rst~docs-move-numa=fake-description-to-kernel-parameterstxt |
| +++ a/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=<size>[MG] |
| - If given as a memory unit, fills all system RAM with nodes of |
| - size interleaved over physical nodes. |
| - |
| - numa=fake=<N> |
| - If given as an integer, fills all system RAM with N fake nodes |
| - interleaved over physical nodes. |
| - |
| - numa=fake=<N>U |
| - If given as an integer followed by 'U', it will divide each |
| - physical node into N emulated nodes. |
| - |
| ACPI |
| ==== |
| |
| _ |