0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-15 19:09:46 +00:00
Lakka-LibreELEC/packages/linux/patches/raspberrypi/linux-003-dts-bcm2712-drop-numa_policy-from-bootargs.patch
Matthias Reichl c1d7ad24a0 linux (RPi): add patch to drop NUMA bootargs on RPi5
We don't compile the kernel with NUMA (emulation) and the
forced bootarg causes at least a "unknown parameter" warning
in dmesg and can cause potential issues as it's used by the
bootloader as a marker to add more kernel cmdline parameters.

Signed-off-by: Matthias Reichl <hias@horus.com>
2024-11-13 00:32:10 +01:00

30 lines
1.0 KiB
Diff

From 0d692f7a53559259b1532b0503788f557e5ff182 Mon Sep 17 00:00:00 2001
From: Matthias Reichl <hias@horus.com>
Date: Wed, 13 Nov 2024 00:16:47 +0100
Subject: [PATCH 3/3] dts: bcm2712: drop numa_policy from bootargs
We don't compile the kernel with NUMA so drop the numa parameter
from bootargs.
Signed-off-by: Matthias Reichl <hias@horus.com>
---
arch/arm64/boot/dts/broadcom/bcm2712-rpi.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/broadcom/bcm2712-rpi.dtsi b/arch/arm64/boot/dts/broadcom/bcm2712-rpi.dtsi
index 65abbb450daf..6bb6e81313b5 100644
--- a/arch/arm64/boot/dts/broadcom/bcm2712-rpi.dtsi
+++ b/arch/arm64/boot/dts/broadcom/bcm2712-rpi.dtsi
@@ -99,7 +99,7 @@ vdd_5v0_reg: fixedregulator_5v0 {
/ {
chosen: chosen {
- bootargs = "reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory numa_policy=interleave";
+ bootargs = "reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory";
stdout-path = "serial10:115200n8";
};
--
2.39.5