Skip to content

Commit a505dac

Browse files
altsergxiaoleiwang123456
authored andcommitted
dts: Set default NVME HMB size to 0 on RPi 4 & 5
commit ec6ca8fd21ab010304b6a4b217f0e479f0533ed2 from https://github.com/raspberrypi/linux.git rpi-6.12.y Link: raspberrypi/linux#6504 raspberrypi/linux#6844 Signed-off-by: Xiaolei Wang <xiaolei.wang@windriver.com>
1 parent 1cda382 commit a505dac

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

arch/arm/boot/dts/broadcom/bcm2711-rpi-ds.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
/ {
55
chosen {
6-
bootargs = "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 cgroup_disable=memory numa_policy=interleave";
6+
bootargs = "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 cgroup_disable=memory numa_policy=interleave nvme.max_host_mem_size_mb=0";
77
};
88

99
__overrides__ {

arch/arm64/boot/dts/broadcom/bcm2712-rpi.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ pio: &rp1_pio {
9797

9898
/ {
9999
chosen: chosen {
100-
bootargs = "reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory numa_policy=interleave";
100+
bootargs = "reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory numa_policy=interleave nvme.max_host_mem_size_mb=0";
101101
stdout-path = "serial10:115200n8";
102102
};
103103

0 commit comments

Comments
 (0)