Remove crash-fatal property for VMs to support VM
restart feature.
Change-Id: I42a2dd37ff81604b6cfb48179f2dc0133de27fb0
Signed-off-by: Peng Yang <quic_penyan@quicinc.com>
Memmap_on_memory changes the behaviour of memory hotplug to reserve
the first X Mb of a memory block for the struct page array. On arm64,
the size of the struct page array for a 128Mb memory block is 2Mb.
However, the memory-hotplug code requires X to be pageblock aligned (4Mb).
memory_hotplug.memmap_on_memory="force" informs the memory-hotplug core
to round up the size of the memory reserved for struct page array to
meet this 4Mb requirement, even though only 2Mb will actually be used.
This is preferred over allocating the struct page array from ZONE_NORMAL
because adding additional memory into ZONE_NORMAL is not supported on
this target.
Change-Id: I9544b58c202cecddbe80be67a24a1115b162e478
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
"3" is uid of the CApploader which is running on QTEE.
Change-Id: I2e058b3e1687cbcde3e6b8b2564731aac6f46903
Signed-off-by: songrui <quic_songrui@quicinc.com>
Add test node to sun.dtsi, sun-vm.dtsi and sun-oemvm.dtsi
to validate large dmabuf transfer functionality.
Change-Id: I17cd06d12e18f26a6afe7c2da13fcca23a375b04
Signed-off-by: Georgi Djakov <quic_c_gdjako@quicinc.com>
For current design, we can't do VM restart after VM crash due to RM
not allow. Add new crash-restart property to let RM allow do VM
restart. The crash-restart property will be valid when remove
crash-fatal property.
Change-Id: If9cb90d7bc581465b760a5c780203911a247e341
Signed-off-by: Peng Yang <quic_penyan@quicinc.com>
Add DT entry to enable the memory onject support for si-core.
Change-Id: I877fe2e6c9d5f71a2b055428ad942455470b6f9e
Signed-off-by: Amirreza Zarrabi <quic_azarrabi@quicinc.com>
Enable dma-heaps driver on OEMVM, as well as bringing in other features
such as virtio mem and large-dma buf support.
Change-Id: I7f679c061ba65237541363bd0b406bb4e58e697e
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
Allow mem-buf ipc messages between oemvm and pvm.
Change-Id: Ib3209f72bbcb146f7f3ae9e4d75e474750e2dd97
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
Add shared memory to support persist on sun-oemvm.
Change-Id: Ic7f97ac2da114e56ef297d74f4a8d70fb27987e7
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
VMs use platform coordinated PSCI. Update the mode id accordingly.
Change-Id: I8bb0eb3c4ad6f2f4fbdca7781b51e914bd3151b5
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
Add minidump vdevice to enable minidump support for OEMVM.
Change-Id: I2e4b371cabd8ac1fc2362011e55bd4eb556da70e
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
As Frame 2 was assigned to TZ for secure world timer, moving
IRQ lend test qtimer from frame 2 view 1 to frame 5.
Change-Id: I855b881f12b970c56bf595fffcc57ffadf184a58
Signed-off-by: Po-Jung Lai <quic_pojulai@quicinc.com>
All transferring memory between tvm, oemvm and pvm.
Change-Id: I2016350893bf79cfc09a22741dfa69627c795840
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
Add devicetree to the OEM dtsi for smcinvoke in
the OEM VM.
Change-Id: I88d22618297704a95eb36e46602b0d20fe88470d
Signed-off-by: songrui <quic_songrui@quicinc.com>
Add v1 and v2 DT support for APQ variant.
Change-Id: I9ea89b9fd022ddaf2fc5481acac16f720a725f7f
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
Since, we are settle down with 19.2 MHZ for Arch timer frequency
for Sun target, let's do it for VM as well.
Change-Id: I456015fefd6fb7df53cb1d0258e2ee988fd5c88f
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
Add qcom,sensitive property in vm-config node for Sun VM.
Change-Id: I5b2781df510f59d7c3f779eecb55c7bc64fad84c
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
Add the device nodes on sun oemvm and vm to enable qmsgq socket
communication over gunyah message queues.
Change-Id: Ib28b1204006819ef9fe044586dbaada64d826b4a
Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
Add the nodes for enable qrtr communication between primary vm and
oemvm on sun.
This adds platform devices and vdevice descriptions to start the
qrtr gunyah transport on both primary vm and oemvm device trees. This
also adds the device tree node to configure qrtr as node id 21 on oem
vm.
Change-Id: I1575853a67fe9edbcb751dbb71062b6da624d9be
Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
From Armv8.6 the counter operates at a higher fixed frequency of 1GHz.
This implies a resolution of 1ns. Change cpu arch timer frequency to 1ns
from 52ns (19.2Mhz) resolution.
Change-Id: Ib0bfe643edbd4de568cf30ebaa1ec1175111352e
Signed-off-by: Murali Nalajala <quic_mnalajal@quicinc.com>
Add irq lend test node to sun, sun-vm and sun-oemvm to validate
hypervisor irq lend functionality.
Change-Id: I2cc6fae7645c12920fe742f2c3c7ce8a166fe663
Signed-off-by: Po-Jung Lai <quic_pojulai@quicinc.com>
Add message-queue test node to sun.dtsi, sun-vm.dtsi and
sun-oemvm.dtsi to validate hypervisor message-queue functionality.
Change-Id: Id43f707d715ef8937d7497c95f2bce89e73202ac
Signed-off-by: Po-Jung Lai <quic_pojulai@quicinc.com>
Add doorbell test node to sun.dtsi, sun-vm.dtsi and
sun-oemvm.dtsi validate hypervisor doorbell functionality.
Change-Id: I8535600c66692b4254e54da773f4d2bb6e717583
Signed-off-by: Po-Jung Lai <quic_pojulai@quicinc.com>
In 'commit 583aa96f35 ("ARM: dts: msm: Add swiotlb command line
parameter for VMs")', option "swiotlb=noforce" was appended to kernel
command line for trusted VMs. Extending the change to OEMVMs.
Change-Id: I3371bc3d077ef4a45d7a66779a77bdf434c0f5e0
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
Add base TUIVM and OEMVM device tree support for Sun RUMI platform.
Change-Id: I32598ce2c3488658e2c9caf0cd7a2368665c0b06
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
Signed-off-by: Sahitya Tummala <quic_stummala@quicinc.com>