ARM: dts: msm: Add mem-offline device for sun

Describe the communication channel used to communicate with the
firmware which supports onlining and offlining of memory.

Keep the device in a disabled state for now until a conflict
between THP and memory-hotplug features can be resolved.

Change-Id: I3d74d9d3d58d379b2a91ee976a72dddfb7a221c6
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
This commit is contained in:
Patrick Daly
2023-08-03 17:15:24 -07:00
parent 07e8205d36
commit 9b676ba16e
2 changed files with 12 additions and 3 deletions

View File

@@ -47,9 +47,10 @@
mem-offline { mem-offline {
compatible = "qcom,mem-offline"; compatible = "qcom,mem-offline";
offline-sizes = <0x2 0xc0000000 0x1 0x40000000>; status="disabled";
offline-sizes = <0x2 0xc0000000 0x1 0x0>;
granule = <512>; granule = <512>;
mboxes = <&qmp_aop 0>; qcom,qmp = <&aoss_qmp>;
}; };
firmware: firmware { }; firmware: firmware { };

View File

@@ -33,7 +33,7 @@
chosen: chosen { chosen: chosen {
bootargs = "nokaslr kpti=0 log_buf_len=256K swiotlb=0 loop.max_part=7 pcie_ports=compat"; bootargs = "nokaslr kpti=0 log_buf_len=256K swiotlb=0 loop.max_part=7 pcie_ports=compat mem-offline.bypass_send_msg=1";
stdout-path = "/soc/qcom,qupv3_1_geni_se@ac0000/qcom,qup_uart@a9c000:115200n8"; stdout-path = "/soc/qcom,qupv3_1_geni_se@ac0000/qcom,qup_uart@a9c000:115200n8";
}; };
@@ -253,6 +253,14 @@
reserved_memory: reserved-memory { }; reserved_memory: reserved-memory { };
mem-offline {
compatible = "qcom,mem-offline";
status="disabled";
offline-sizes = <0x2 0xc0000000 0x1 0x0>;
granule = <512>;
qcom,qmp = <&aoss_qmp>;
};
soc: soc { }; soc: soc { };
}; };