Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support emulated NUMA for BCM2711 and BCM2712 #6273

Draft
wants to merge 7 commits into
base: rpi-6.6.y
Choose a base branch
from

Commits on Sep 2, 2024

  1. numa: Add simple generic NUMA emulation

    Add some common code for splitting the memory into N emulated NUMA memory
    nodes.
    
    Individual architecture can then enable selecting this option and use the
    existing numa=fake=<N> kernel argument to enable it.
    
    Memory is always split into equally sized chunks.
    
    Signed-off-by: Maíra Canal <mcanal@igalia.com>
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
    Co-developed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
    Cc: Catalin Marinas <catalin.marinas@arm.com>
    Cc: Will Deacon <will@kernel.org>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: “Rafael J. Wysocki" <rafael@kernel.org>
    mairacanal authored and popcornmix committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    a69041c View commit details
    Browse the repository at this point in the history
  2. arm64/numa: Add NUMA emulation for ARM64

    Allow selecting NUMA emulation on arm64.
    
    Signed-off-by: Maíra Canal <mcanal@igalia.com>
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
    Cc: Catalin Marinas <catalin.marinas@arm.com>
    Cc: Will Deacon <will@kernel.org>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: “Rafael J. Wysocki" <rafael@kernel.org>
    mairacanal authored and popcornmix committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    a39545f View commit details
    Browse the repository at this point in the history
  3. mm/numa: Allow override of kernel's default NUMA policy

    Add numa_policy kernel argument to allow overriding the kernel's default
    NUMA policy at boot time.
    
    Syntax identical to what tmpfs accepts as it's mpol argument is accepted.
    
    Some examples:
    
     numa_policy=interleave
     numa_policy=interleave=skip-interleave
     numa_policy=bind:0-3,5,7,9-15
     numa_policy=bind=static:1-2
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
    Tvrtko Ursulin authored and popcornmix committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    976b92a View commit details
    Browse the repository at this point in the history
  4. dma-buf: system_heap: Allow specifying maximum allocation order

    system_heap.max_order=<uint>
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
    Tvrtko Ursulin authored and popcornmix committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    19adc60 View commit details
    Browse the repository at this point in the history
  5. config: bcm2711_defconfig/bcm2712_defconfig: Enable NUMA

    Signed-off-by: Dom Cobley <popcornmix@gmail.com>
    popcornmix committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    630bf6e View commit details
    Browse the repository at this point in the history
  6. dts: Move some common rpi settings into rpi files

    Most 2711 devices and all 2712 device share common bootargs (command
    lines). Make the common values shared defaults, overriding them were
    necessary.
    
    Signed-off-by: Phil Elwell <phil@raspberrypi.com>
    pelwell authored and popcornmix committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    933b9fc View commit details
    Browse the repository at this point in the history
  7. dts: Set preferred numa options in bootargs

    Signed-off-by: Dom Cobley <popcornmix@gmail.com>
    popcornmix committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    e87a869 View commit details
    Browse the repository at this point in the history