From efdc75332158a7c1532189f4626c3c3761550345 Mon Sep 17 00:00:00 2001 From: Patrick Daly Date: Mon, 8 Jul 2024 22:20:03 -0700 Subject: [PATCH] ARM: dts: msm: Add qcom,initial-movable-zone-size property "qcom,initial-movable-zone-size" creates a movable zone of the given size before userspace starts. This is useful in a system where a userspace component (psi-daemon) is used to hotplug in memory on a on-demand basis. With swap disabled, the current tvm carveout size (68 Mb) hits out-of-memory condition before psi-deamon is started. Once psi-daemon is running, it detects the number of blocks added to the movable zone via "qti_virtio_mem/kernel_plugged" sysfs file, and can reduce or increment the number as necessary. Change-Id: I5b62b6227e8a357ba3012979ed4bf937f1810437 Signed-off-by: Patrick Daly --- qcom/sun-vm.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/qcom/sun-vm.dtsi b/qcom/sun-vm.dtsi index 49949341..1f17f2f3 100644 --- a/qcom/sun-vm.dtsi +++ b/qcom/sun-vm.dtsi @@ -719,6 +719,7 @@ qcom,max-size = <0x0 0x10000000>; qcom,ipa-range = <0x0 0x0 0xf 0xffffffff>; qcom,block-size = <0x400000>; + qcom,initial-movable-zone-size = <0x2000000>; }; qcom,gunyah-panic-notifier {