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 #6443

Merged
merged 6 commits into from
Oct 25, 2024

Commits on Oct 25, 2024

  1. dma-buf: system_heap: Allow specifying maximum allocation order

    system_heap.max_order=<uint>
    
    Signed-off-by: Tvrtko Ursulin <[email protected]>
    Tvrtko Ursulin authored and popcornmix committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    970175c View commit details
    Browse the repository at this point in the history
  2. 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 <[email protected]>
    Tvrtko Ursulin authored and popcornmix committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    bc40daf View commit details
    Browse the repository at this point in the history
  3. numa/emulation: Check emulated zones around the CMA window

    ... Make sure CMA zones do not straddle the emulated NUMA nodes ...
    
    Signed-off-by: Tvrtko Ursulin <[email protected]>
    Tvrtko Ursulin authored and popcornmix committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    6bdfa4c View commit details
    Browse the repository at this point in the history
  4. config: bcm2711_defconfig/bcm2712_defconfig: Enable NUMA

    Allow NUMA and NUMA_EMULATION on 64-bit Pi kernels
    
    Signed-off-by: Dom Cobley <[email protected]>
    popcornmix committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    7b8eb3f View commit details
    Browse the repository at this point in the history
  5. 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 <[email protected]>
    pelwell authored and popcornmix committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    23f7dea View commit details
    Browse the repository at this point in the history
  6. dts: Set preferred numa options in bootargs

    The default cmdline adjustment is now numa_policy=interleave for 2711 and 2712,
    and additionally system_heap.max_order=0 iommu_dma_numa_policy=interleave for
    just 2712 (due to its better iommu support).
    
    The key setting numa=fake=<n> is not set here, so we will boot with a single
    numa region and behaviour should be pretty much unchanged from before this PR.
    
    Signed-off-by: Dom Cobley <[email protected]>
    popcornmix committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    f956eb0 View commit details
    Browse the repository at this point in the history