Commit Graph

19 Commits

Author SHA1 Message Date
Murali Nalajala
59c04b6d51 ARM: dts: qcom: Change cpu arch timer frequency
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>
2023-11-16 22:49:24 -08:00
Murali Nalajala
e59025f303 ARM: dts: qcom: Support for Sun vms MTP and CDP
Add initial Sun VMs MTP and CDP device tree support.

Change-Id: I334c31bdd0abff304e11a47ddb2f37aeae9a62ed
Signed-off-by: Murali Nalajala <quic_mnalajal@quicinc.com>
2023-11-16 22:49:14 -08:00
qctecmdr
4c1a848b48 Merge "ARM: dts: msm: Add gcc qcom-dummycc support for TVM on sun" 2023-11-15 17:05:22 -08:00
qctecmdr
5a4d047cf5 Merge "ARM: dts: msm: gunyah: Add irq lend test node for sun" 2023-11-13 21:23:26 -08:00
Po-Jung Lai
976b3e2ad7 ARM: dts: msm: gunyah: Add irq lend test node for sun
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>
2023-11-09 13:50:18 -08:00
Po-Jung Lai
4ad12bb94f ARM: dts: msm: gunyah: Add msgq test node for sun
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>
2023-11-09 13:50:08 -08:00
Po-Jung Lai
5c87a553f3 ARM: dts: msm: gunyah: Add dbl test node for sun
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>
2023-11-09 08:34:32 -08:00
Rashid Zafar
478c4ffd02 ARM: dts: msm: Update CPUidle states for sun vm
Update cpuidle parameters like name, latency, residency, suspend
params and keep them disabled.

Change-Id: I37213e5713165ed72f1e079a90936aed87083b61
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-11-08 15:31:26 -08:00
qctecmdr
24ed8ce4ae Merge "ARM: dts: msm: Add panic notif and ddump nodes for Sun" 2023-11-08 14:30:25 -08:00
Hrishabh Rajput
f038d31c35 ARM: dts: msm: Add tlmm VM test driver for Sun
Add tlmm VM test driver device tree support for Sun.

Change-Id: I131fcdaec94b6551d99753108276cfc8126187db
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-11-07 14:29:13 +05:30
Hrishabh Rajput
1b846fd98d ARM: dts: msm: Add panic notif and ddump nodes for Sun
Add Gunyah panic notifier and dmesg dumper nodes for Sun.

Change-Id: Iae136b6c98f983ac228f59b81af700878b8bf426
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-11-07 14:15:22 +05:30
Vivek Aknurwar
fefc9206b3 ARM: dts: msm: Add gcc qcom-dummycc support for TVM on sun
For upstream and tvm qup common driver uses gcc phandles which
are common in dt and to avoid qup driver probe failure qcom-dummycc
is added as they are nop. This helps in avoiding additional logic
in qup driver to not conditionalize based on variant.

Change-Id: Ie91b01b583a4482d8fa5e6eb2922a8e914876657
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2023-11-06 01:31:10 -08:00
Hrishabh Rajput
b6d1e80068 ARM: dts: msm: Enable tlmm VM mem nodes for Sun
Enable tlmm VM mem access device tree nodes for Sun.

Change-Id: Ibb4ec4d8b4e50ba5b52b0af9346c8c6c32dfb5d2
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-11-06 11:23:45 +05:30
qctecmdr
c15c13a04e Merge "ARM: dts: msm: Add dtsi entries for sun vm" 2023-11-01 03:25:57 -07:00
Anmolpreet Kaur
91bc24856f ARM: dts: msm: Add dtsi entries for sun vm
Add dts entries for smcinvoke and
qtee shmbridge driver in sun vm.

Change-Id: I5ce5eddf5854735a676e1bf1bb0c5dfa67d569b6
Signed-off-by: Anmolpreet Kaur <quic_anmolpre@quicinc.com>
2023-10-30 13:16:24 -07:00
Patrick Daly
5e0b3e7476 ARM: dts: msm: Add dma-buf heaps for sun-vm
Describe the available dma-buf memory pools on sun-vm.

Change-Id: I205b826849f36078d05a92492238d80a884aa65a
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-10-23 13:24:57 -07:00
Patrick Daly
c422c02314 ARM: dts: msm: Add arm-smmu device on sun-vm
Describe the register, interrupts, and settings of the arm-smmu device.

Change-Id: I0ca4c90e2f767ed6240dd6ad6fc6cc8e7f6c278d
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-10-23 13:24:57 -07:00
Sahitya Tummala
583aa96f35 ARM: dts: msm: Add swiotlb command line parameter for VMs
With the recent kernel upgrade to 6.4, swiotlb_init() path is taken
because of the new kernel config CONFIG_DMA_BOUNCE_UNALIGNED_KMALLOC,
which is enabled by default. But this should not done for trusted VMs
supported on Sun and Pineapple VMs, as these VMs would be using carveout
swiotlb memory set up separately by virtio mmio driver through the
feature CONFIG_SWIOTLB_NONLINEAR. Hence, add swiotlb=noforce kernel
command line to disable generic swiotlb setup/init for VMs. Without
this option set, VM boot up failure is observed.

Change-Id: Ia35cd9a2f95f41b0b0daa6cf75799fd4432a95bd
Signed-off-by: Sahitya Tummala <quic_stummala@quicinc.com>
2023-10-13 20:54:17 +05:30
Meena Pasumarthi
ba5f42abbc ARM: dts: msm: Add base TUIVM and OEMVM for Sun
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>
2023-09-25 09:50:18 +05:30