ARM: dts: msm: Fix dependency between virtio-mem and mem-buf-msgq
The virtio-mem device has always had a dependency on mem-buf for plugging in memory. Previously, the ordering was not a concern, since hotplug was not done until userspace was up. However, in subsequent patches we will instead hotplug in memory as soon as the virtio-mem device probes. Change-Id: I9c4e4728a15ab32d65ffaea0ba2681a816a4abf0 Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
This commit is contained in:
@@ -707,13 +707,14 @@
|
|||||||
qcom,vmid = <45>;
|
qcom,vmid = <45>;
|
||||||
};
|
};
|
||||||
|
|
||||||
qcom,mem-buf-msgq {
|
mem_buf_msgq: qcom,mem-buf-msgq {
|
||||||
compatible = "qcom,mem-buf-msgq";
|
compatible = "qcom,mem-buf-msgq";
|
||||||
qcom,msgq-names = "trusted_vm";
|
qcom,msgq-names = "trusted_vm";
|
||||||
};
|
};
|
||||||
|
|
||||||
virtio_mem_device {
|
virtio_mem_device {
|
||||||
compatible = "qcom,virtio-mem";
|
compatible = "qcom,virtio-mem";
|
||||||
|
depends-on-supply = <&mem_buf_msgq>;
|
||||||
/* Must be memory_block_size_bytes() aligned */
|
/* Must be memory_block_size_bytes() aligned */
|
||||||
qcom,max-size = <0x0 0x10000000>;
|
qcom,max-size = <0x0 0x10000000>;
|
||||||
qcom,ipa-range = <0x0 0x0 0xf 0xffffffff>;
|
qcom,ipa-range = <0x0 0x0 0xf 0xffffffff>;
|
||||||
|
Reference in New Issue
Block a user