Commit Graph

58 Commits

Author SHA1 Message Date
qctecmdr
117c43df6f Merge "ARM: dts: msm: Add vRTC node for Sun" 2024-04-22 22:10:47 -07:00
Ujjawal Sankhwar
22652b3b2f ARM: dts: qcom: Add UID for RegisterCBO in sun TVM
Add "10C" for RegisterCBO QTEE service in sun TVM for GP.

Change-Id: If3d5d29d4fe022f68ef98df0e173cd8dc5ec2004
Signed-off-by: Ujjawal Sankhwar <quic_usankhwa@quicinc.com>
2024-04-19 14:54:15 +05:30
qctecmdr
1bbd4c6667 Merge "ARM: dts: msm: Use upstream smmu addr space prop for qup" 2024-04-15 12:33:36 -07:00
Anil Veshala Veshala
c75e149845 ARM: dts: msm: Use upstream smmu addr space prop for qup
FR92369: Memory team has noticed that buses drivers are using the
legacy "qcom,iommu-dma-addr-pool" DT property and suggested to use
Upstream compatible "iommu-addresses" DT property by this change
there is no impact in functionality.

Change-Id: Ib8b25b2b58ffd12d30672bce3afc75276637c4e1
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2024-04-12 11:38:57 +05:30
Sudarshan Rajagopalan
2543984e7c ARM: dts: msm: Reserve ipa space for dmabuf for Sun TUIVM
Reserve the IPA space for dmabuf buffers.

Change-Id: If3cb329278f5bdccee883f1d8a05df745df5ac5d
Signed-off-by: Sudarshan Rajagopalan <quic_sudaraja@quicinc.com>
2024-04-10 01:38:53 -07:00
Maulik Shah
88c9530986 ARM: dts: msm: Update mode id for sun vm
VMs use platform coordinated PSCI. Update the mode id accordingly.

Change-Id: I8bb0eb3c4ad6f2f4fbdca7781b51e914bd3151b5
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2024-04-05 06:47:34 -07:00
Hrishabh Rajput
7535e25146 ARM: dts: msm: Add vRTC node for Sun
Add nodes to support vrtc on Sun VM.

Change-Id: Id3e404c177c2b822c80d27e8565476ae9d30e45f
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2024-04-04 20:30:57 +05:30
qctecmdr
4014c509eb Merge "ARM: dts: msm: Use deepest idle mode for sun vm" 2024-04-01 23:53:17 -07:00
Maulik Shah
7bff1fda7b ARM: dts: msm: Use deepest idle mode for sun vm
Use SS3 as deepest CPU idle mode.

Change-Id: Ifd6e82adfea882bcf0087f12b44c9a45f8310216
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2024-03-29 19:14:26 +05:30
qctecmdr
eda1c7e1f0 Merge "ARM: dts: msm: gunyah: Move irq lend qtimer to frame 5 for sun" 2024-03-27 20:46:09 -07:00
Po-Jung Lai
76e16772ae ARM: dts: msm: gunyah: Move irq lend qtimer to frame 5 for sun
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>
2024-03-27 17:00:24 -07:00
qctecmdr
b3e70e4cbd Merge "ARM: dts: msm: Add wakeup-source property to virtio-vsock" 2024-03-26 22:32:33 -07:00
Sarannya S
1172faef72 ARM: dts: msm: Add ipcc_mproc_ns1 for sun TUIVM
Add ipcc_mproc_ns1 device tree node and entries to enable IPCC and
mbox communication between TUIVM and CDSP SecurePD on sun TUIVM.

Change-Id: I1e37ee86b86ba1f6b99669c0a71476c9a9da5e75
Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
Signed-off-by: Sarannya S <quic_sarannya@quicinc.com>
2024-03-20 10:29:23 -07:00
Jingyi Wang
dd0430a93a ARM: dts: msm: Add wakeup-source property to virtio-vsock
Add wakeup-source property to virtio-vsock device, the interrupt
for virtio-vsock will wakeup VM from suspend.

Change-Id: I359e9d77ed9923bacebdd2ba5aaa0796633e5798
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
2024-03-19 15:35:52 +08:00
Jingyi Wang
972b927dba ARM: dts: msm: Enable virtio-vsock device for sun-vm
Add shared memory to enable virtio-vsock device for sun-vm.

Change-Id: I188849af908df77b0d78b03ce8461fcd309650f4
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
2024-03-19 15:35:47 +08:00
Maulik Shah
6106dbb4e6 ARM: dts: msm: Enable CPUidle on VM for sun
Enable CPUidle states on VMs.

Change-Id: Id7a5b818dc0654a5ea0a0e32fee4ba5ac27f3ece
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2024-03-12 02:12:20 -07:00
Cong Zhang
561250bc37 ARM: dts: msm: Add minidump support for Sun TUIVM
Add minidump vdeivce in vm-config to support minidump for Sun TUIVM.

Change-Id: I8aed4b1bec0b137bdcf8e103af59eb0cb70b999a
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
2024-02-23 10:36:26 +08:00
qctecmdr
7a1b50ff0e Merge "ARM: dts: msm: Support for APQ variant on Sun SoC" 2024-01-19 22:02:48 -08:00
qctecmdr
77d9a2c08a Merge "ARM: dts: msm: add spi, i2c, gpi nodes for SVM SUN" 2024-01-18 15:29:25 -08:00
Anil Veshala Veshala
23738ec11d ARM: dts: msm: add spi, i2c, gpi nodes for SVM SUN
Adding spi, i2c, gsi nodes for SUN SVM.

Change-Id: If3d1336379de8441e3ca2bae8da9449f2b410d53
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2024-01-16 23:14:31 -08:00
Unnathi Chalicheemala
f2bcfc797d ARM: dts: msm: Support for APQ variant on Sun SoC
Add v1 and v2 DT support for APQ variant.

Change-Id: I9ea89b9fd022ddaf2fc5481acac16f720a725f7f
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2024-01-03 13:14:39 -08:00
Mukesh Ojha
e6235a7c09 ARM: dts: msm: put dependency of dma-heap on SCM
Enforce dependency of dma heap driver on SCM driver
without which it will not work and this is in
the preparation of adding interconnect voting
in SCM node which if it gets added without this
change dma heap driver can result in NULL pointer
issue.

Change-Id: I654e69398643b2e78d180c7167b29b62e7914f77
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2023-12-22 02:56:55 -08:00
Mukesh Ojha
86be4f238d ARM: dts: msm: sun: Update arch timer frequencies for VM's
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>
2023-12-11 13:43:29 +05:30
qctecmdr
e8f3adbd42 Merge "ARM: dts: msm: Define qcom,display heap for sun" 2023-12-08 21:39:09 -08:00
qctecmdr
10b90724b0 Merge "ARM: dts: msm: Add qcom,sensitive property for Sun VM" 2023-12-06 20:47:24 -08:00
Patrick Daly
c9ddf16357 ARM: dts: msm: Automatically online memory to movable zone
After hotplugging in memory, automatically online it to the movable zone.

Change-Id: I1dde15451e78196fc261c0bd9b25cdfa91749c4c
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-12-04 22:03:17 -08:00
qctecmdr
b98395468c Merge "ARM: dts: msm: Add qrtr node for sun vm" 2023-12-02 14:52:02 -08:00
Hrishabh Rajput
7114f1493d ARM: dts: msm: Add qcom,sensitive property for Sun VM
Add qcom,sensitive property in vm-config node for Sun VM.

Change-Id: I5b2781df510f59d7c3f779eecb55c7bc64fad84c
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-12-01 15:34:24 +05:30
Kishore Kumar Ravi
fcc5b36f19 ARM: dts: msm: Add qrtr node for sun vm
Add qrtr node to enable qrtr communication with the primary
vm from the trusted vm.

Change-Id: I05d3a75efebfbefc1e782f7ff7c7b01abe7e0245
Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
2023-11-28 21:42:59 -08:00
Unnathi Chalicheemala
c338bd73b2 Revert "ARM: dts: msm: Support for APQ variant on Sun SoC"
This reverts commit 3afa08eaed.

Reason for revert: Techpacks haven't added DT support for APQ variant.

Change-Id: Id856d733375f3bf3fb5497855f2269b34c3f3dcd
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-11-28 20:49:35 -08:00
qctecmdr
eb10a088e3 Merge "ARM: dts: msm: Add nodes for qmsgq gunyah on sun" 2023-11-28 10:51:46 -08:00
qctecmdr
dfcfd7ac0a Merge "ARM: dts: msm: Enable virtio-mem device for sun-vm" 2023-11-28 04:40:06 -08:00
qctecmdr
59207199dc Merge "ARM: dts: msm: Add mem-buf device on sun-vm" 2023-11-28 02:30:35 -08:00
Kishore Kumar Ravi
1c5ce4e94c ARM: dts: msm: Add nodes for qmsgq gunyah on sun
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>
2023-11-25 05:06:12 -08:00
songrui
c5847df35b ARM: dts: qcom: Enable the TVM SMMU proxy driver
Enable the TVM smmu proxy driver.

Change-Id: I42965703749d2814c5b83dca7131314df9ac8e02
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
Signed-off-by: songrui <quic_songrui@quicinc.com>
2023-11-21 14:38:47 +08:00
qctecmdr
7b0704702a Merge "ARM: dts: qcom: Add configuration for SMMU proxy driver" 2023-11-20 11:14:25 -08:00
songrui
5a345a7943 ARM: dts: qcom: Add configuration for SMMU proxy driver
Add message queue and context banks for the SMMU proxy driver.

Change-Id: Ic6075e5492cf13c795ad1a2f8bea1cc94c7ce24e
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
Signed-off-by: songrui <quic_songrui@quicinc.com>
2023-11-17 17:47:45 +08:00
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
Patrick Daly
650ec0d9ec ARM: dts: msm: Enable virtio-mem device for sun-vm
Describe the properties of the memory region virtio-mem supports.

Change-Id: I041e1046fd59f0c666193a01e6b7bd23a1931bb2
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-11-13 22:24:50 -08:00
Patrick Daly
c154db911d ARM: dts: msm: Add mem-buf device on sun-vm
Describe the properties and msgqs of the mem-buf device.

Change-Id: Idaa4a5e2212448420221b23914a54e40d1cc52a1
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-11-13 22:24:40 -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