Commit Graph

2219 Commits

Author SHA1 Message Date
QCTECMDR Service
9d30c27d4e Merge "ARM: dts: msm: Add ipcc_mproc_ns1 for kera TUIVM" 2024-12-04 02:08:14 -08:00
Vijayanand Jitta
2edfcbba9b ARM: dts: msm: Disable mem-offline node
Temporarily disable mem-offline node in tuna to resolve
bootup crash due to page allocation from movable zone.
The bad page state was reported for Movable zone

[ 84.281664][ T1622] BUG: Bad page state in process Jit thread pool pfn:a22bfe
[ 84.291750][ T1622] page:fffffffe268aff80 refcount:-1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xa22bfe
[ 84.301978][ T1622] flags: 0x4000000000000000(zone=2|kasantag=0x0)
[ 84.312225][ T1622] page_type: 0xffffffff()
[ 84.342884][ T1622] page dumped because: nonzero _refcount
[ 84.385712][ T1622] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x140dc2(GFP_HIGHUSER|GFP_COMP|GFP_ZERO),pid1462, tgid 1434 (binder:1434_1), ts 73871020589, free_ts 82485610563

<https://android-review.googlesource.com/c/kernel/common/+/3345971>
This fixes the bootup crash by TAO preventing page allocation
from movable zone but will land in QCOM branches through LTS.

Once landed revert back this temporary change.

Change-Id: Ibde1fab99236e3d44356ba412d53eac8da4cee03
Signed-off-by: Vijayanand Jitta <quic_vjitta@quicinc.com>
2024-12-04 15:37:48 +05:30
Prakash Yadachi
10436a9cce ARM: dts: msm: Update static gpii mask for ravelin-vm
Currently, the static gpii mask for gpi_dma0 is incorrectly
set to 0x20, which is resulting in i2c read failure.

To prevent this i2c read failure, the static gpii mask
value for gpi_dma0 needs to be updated to 0x40.

'Fixes: 5d97d9eda4527 ("ARM: dts: msm: Add memory and clock
support for vm ravelin")'.

Change-Id: I4f1785b1f1544e436e511af2622ccf365f3cbcfe
Signed-off-by: Prakash Yadachi <quic_pyadachi@quicinc.com>
2024-12-04 01:00:35 -08:00
Vijayanand Jitta
50c69b12a5 ARM: dts: msm: Add power domain and interconnect for kgsl-smmu
Replace regulators with per-device genpd power domain and
add interconnect for kgsl-smmu on kera.

Change-Id: Ifcb5f866a49383b502ca9c39148fc20de46ac588
Signed-off-by: Vijayanand Jitta <quic_vjitta@quicinc.com>
2024-12-03 23:01:49 -08:00
Vijayanand Jitta
3058bd1549 ARM: dts: msm: Disable mem-offline node
Temporarily disable mem-offline node in tuna to resolve
bootup crash due to page allocation from movable zone.
The bad page state was reported for Movable zone

[ 84.281664][ T1622] BUG: Bad page state in process Jit thread pool pfn:a22bfe
[ 84.291750][ T1622] page:fffffffe268aff80 refcount:-1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xa22bfe
[ 84.301978][ T1622] flags: 0x4000000000000000(zone=2|kasantag=0x0)
[ 84.312225][ T1622] page_type: 0xffffffff()
[ 84.342884][ T1622] page dumped because: nonzero _refcount
[ 84.385712][ T1622] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x140dc2(GFP_HIGHUSER|GFP_COMP|GFP_ZERO),pid1462, tgid 1434 (binder:1434_1), ts 73871020589, free_ts 82485610563

<https://android-review.googlesource.com/c/kernel/common/+/3345971>
This fixes the bootup crash by TAO preventing page allocation
from movable zone but will land in QCOM branches through LTS.

Once landed revert back this temporary change.

Change-Id: I18b72d87168671987168f905d2e14d85f8b109fe
Signed-off-by: Vijayanand Jitta <quic_vjitta@quicinc.com>
2024-12-03 22:56:09 -08:00
Pranav Mahesh Phansalkar
55b5f1bfb0 ARM: dts: msm: Add GLINK PKT loopback node for tuna
GLINK PKT provides a userspace interface to RPMSG GLINK through
character device nodes. Add the loopback node and corresponding
channel device to enable GLINK communication from userspace to
communicate with loopback test server.

Change-Id: I2ba608d21b3898f77857035fb214bcb8e49bb596
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
2024-12-04 12:10:16 +05:30
Pranav Mahesh Phansalkar
6bca3a5fbc ARM: dts: msm: Add entry for qrtr-mhi for Tuna
Add entries to specify the dev-id, net-id and low-latency fields
to configure forwarding in qrtr-mhi transport for HMT and HSP.
Forwarding via APPS qrtr-mhi should be disabled in case of HMT
(dev-id:1107) since there's a direct MHI satellite path between
ADSP and WLAN, and should be enabled for HSP (dev-id:1103).

Change-Id: I2aa50121134eceff403f5dc3ad9588820963e05f
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
2024-12-03 21:50:31 -08:00
Wasim Nazir
54ba72a967 ARM: dts: msm: Update bootargs for kera pre-sil
Update bootargs to make it compatible
with pre-sil.

Change-Id: Ifed16d126603556a1a4e11e4ce4a630d8a50c978
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
2024-12-03 18:23:04 +05:30
Kavya Nunna
aa40060f89 ARM: dts: msm: update S1G regulator support for tuna atp
Update S1G regulator support for tuna atp as it has kiwi
by default.

While at it, Disable some unused nodes for tuna spmi debug bus.

Change-Id: I28f697b11c4bd5cdaf3cfd0eaa0a9397b415e3fa
Signed-off-by: Kavya Nunna <quic_knunna@quicinc.com>
2024-12-03 03:08:59 -08:00
Wasim Nazir
65926860b5 ARM: dts: msm: Remove CXM-UART2 reserevd GPIOs from kera
Remove CXM UART2 GPIO(100,116) from list of reserved GPIOs
as it is not PORed.

Change-Id: I18eaacf40ce766dab0e2c546f62829a06384b84a
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
2024-12-03 14:22:19 +05:30
Uttkarsh Aggarwal
73854ea60f ARM: dts: msm: Update eUSB2 init sequence value as per ver 1.0.2 for Tuna
eUSB2 HPG revision 1.0.2 recommends to program eusb register
USB_PHY_CFG_CTRL_1 to be programmed to 0x00 on phy init.

Since this divergence is only applicable for specific version therefore
updating the override sequence with the appropriate value.

Change-Id: I132acac6eaa0f2c5a718b63a089ff995a6be17ab
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
2024-12-03 00:48:54 -08:00
QCTECMDR Service
aec3a135de Merge "ARM: dts: msm: Add oemvm qrtr gunyah node for kera" 2024-12-02 23:12:22 -08:00
QCTECMDR Service
e8dff2b711 Merge "ARM: dts: qcom: Add llcc support for tuna7" 2024-12-02 23:12:22 -08:00
QCTECMDR Service
5307057569 Merge "ARM: dts: msm: Add GLINK PKT nodes for kera" 2024-12-02 23:12:22 -08:00
QCTECMDR Service
04637c5f12 Merge "ARM: dts: msm: Adding all the relevant usb changes in kera" 2024-12-02 23:12:22 -08:00
Pranav Mahesh Phansalkar
58d15eeee5 ARM: dts: msm: Add ipcc_mproc_ns1 for kera TUIVM
Add ipcc_mproc_n1 device tree node and entries to enable IPCC and mbox
communication between TUIVM and CDSP SecurePD on kera TUIVM.

Change-Id: Ib06f11a0a8e218af0cd94288531f9789de9630d9
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
2024-12-02 21:39:20 -08:00
Pranav Mahesh Phansalkar
19fbf066ae ARM: dts: msm: Add nodes for qmsgq gunyah on kera
Add device nodes on kera oemvm and vm to enable qmsgq socket
communication over gunyah message queues.

Change-Id: Iaeeb89c70d613844133f4bb8a122a63967981089
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
2024-12-03 11:08:09 +05:30
Pranav Mahesh Phansalkar
a88842b772 ARM: dts: msm: Add qrtr gunyah tuivm node on kera SoC
Add qrtr gunyah tuivm node to enable communication between
PVM and TUIVM.

Change-Id: Ia81cca25f13d22f249350f5704264822c242123a
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
2024-12-02 21:15:04 -08:00
Pranav Mahesh Phansalkar
f2f6309548 ARM: dts: msm: Add oemvm qrtr gunyah node for kera
Add the nodes to enable qrtr communication between primary vm and
oemvm on kera.

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: Icdcfcb4872351df13561c2c6963f06094f46d8c6
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
2024-12-02 20:44:14 +05:30
Uttkarsh Aggarwal
6ee4081682 ARM: dts: msm: Adding all the relevant usb changes in kera
1. The high speed phy is required for USB to support HS
usecases. Add eusb node on tuna which includes the
necessary resources for the eusb phy to work.

2. Adds interconnects on KERA USB.

3. QMP phy is used for SS/SSP usb usecases as well as DP use cases
in a target. This change adds the basic resources required along
with the init sequence for functionality.

4. Adding the necessary audio node providing the necessary
resources of the qmi audio to get probed.

5. The GSI event buffers are required for the various GSI related
usecases which are excercised from the dwc3 glue driver.
Add the number of event buffers along with the register offsets
defined.

6. Adding a 4-byte register entry for tcsr_dyn-en-dis to enable/disable USB
dynamically from dwc3-msm-core.

Change-Id: Ia45a09d8d2a54e29ecd0811e97d71c6dd8eaecee
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
2024-12-02 01:48:48 -08:00
QCTECMDR Service
1af122e3b0 Merge "ARM: dts: qcom: Add socd and bcl support for pmih010x & pmiv010x" 2024-12-02 00:13:06 -08:00
QCTECMDR Service
b7a10c2860 Merge "ARM: dts: msm: add proxy properties to DSI supplies for Tuna" 2024-12-02 00:13:06 -08:00
QCTECMDR Service
7177a6990d Merge "ARM: dts: msm: Enable nb7vpq904m redriver on Tuna QRD platfrom" 2024-12-02 00:13:06 -08:00
Ravi Kumar Bokka
68eff5ba7e ARM: dts: msm: Add dma-heaps for VM Kera
adding dma-heaps for VM to validate QTVM platform test cases in kera.

Change-Id: I00d270165be4b0c4acecf7fc501d0ec35b459458
Signed-off-by: Ravi Kumar Bokka <quic_c_rbokka@quicinc.com>
2024-12-02 12:32:10 +05:30
Pranav Mahesh Phansalkar
80b0a9692b ARM: dts: msm: Add GLINK PKT nodes for kera
GLINK PKT provides a userspace interface to RPMSG GLINK through
character device node. Add the nodes and corresponding channel
devices to enable GLINK communication from userspace.

Change-Id: I2347b12c733459ead821db476e446fbde470c03a
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
2024-12-01 22:36:02 +05:30
QCTECMDR Service
3e0e327ce3 Merge "ARM: dts: msm: Remove duplicate reserved_memory nodes from Kera DT" 2024-12-01 03:34:32 -08:00
QCTECMDR Service
9dc9080fbd Merge "ARM: dts: msm: Add debug related nodes for Kera VM" 2024-12-01 03:34:32 -08:00
QCTECMDR Service
9748587c05 Merge "ARM: dts: msm: add remote debugger support" 2024-11-29 05:25:48 -08:00
QCTECMDR Service
52c815da88 Merge "ARM: dts: msm: Update UFS PHY compatible for Kera SoC" 2024-11-29 05:25:48 -08:00
QCTECMDR Service
00182c20be Merge "ARM: dts: msm: Add a stub GPU node for kera" 2024-11-29 05:25:48 -08:00
QCTECMDR Service
773a25f282 Merge "ARM: dts: qcom: Enable UFS MCQ on Tuna platforms" 2024-11-29 05:25:48 -08:00
QCTECMDR Service
3b66c13343 Merge "ARM: dts: msm: Remove duplicate reserved_memory nodes from Tuna DT" 2024-11-29 05:25:48 -08:00
Hrishabh Rajput
eaf9bf8863 ARM: dts: msm: Remove duplicate reserved_memory nodes from Kera DT
trust_ui_vm_mem and oem_vm_mem reserved memory nodes are added twice
for Kera. Remove one set of redundant nodes.

Change-Id: If17767b4f4dd6f75786bcb833eba6e10a34bc9ec
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2024-11-29 17:23:20 +05:30
Hrishabh Rajput
3da6a3c42b ARM: dts: msm: Add debug related nodes for Kera VM
Add dmesg dumper and gunyah panic notifier nodes for Kera VM.

Change-Id: I476ae45395c297d04ba6ee0d4182551017cc71e7
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2024-11-29 17:00:19 +05:30
Hrishabh Rajput
9e7a095af1 ARM: dts: msm: Add test nodes for Kera VMs
Add test nodes for Kera Trusted VM and OEMVM.

Change-Id: I8a5f22920a942df8e04818adee715d58abc74e04
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2024-11-29 16:51:38 +05:30
Uttkarsh Aggarwal
1040b85b03 ARM: dts: msm: Define maximum number of USB XHCI interrupters
DWC3 host and XHCI plat now communicates the maximum number of interrupters
the XHCI HCD will allocate.  Since platforms only require a limited number
of interrupters (i.e. 3) make sure XHCI doesn't allocate more than is
required.

Change-Id: I47ddfb603490afd2ab51d7c7fa9ecf844729eb62
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
2024-11-29 15:19:05 +05:30
QCTECMDR Service
97408563c6 Merge "ARM: dts: msm: Add dma-heaps for VM Tuna" 2024-11-29 00:46:00 -08:00
QCTECMDR Service
1b9831fca5 Merge "ARM: dts: msm: Add pcie, display and camera voter devices for TUNA" 2024-11-29 00:46:00 -08:00
Uttkarsh Aggarwal
b96b2b2d25 ARM: dts: msm: Enable nb7vpq904m redriver on Tuna QRD platfrom
Add nb7vpq904m related configurations including i2c device,
pinctrl, gpio and register sequences.

Change-Id: I7352cee2cc95830e4d6a3ee5859e0cb4bbaf39c7
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
2024-11-29 11:27:47 +05:30
Manish Pandey
3a9122b108 ARM: dts: qcom: Enable UFS MCQ on Tuna platforms
Enable the UFS MCQ feature on the Tuna platforms.

Change-Id: I0f420831e9af2c3965344c33a042b75196abc1d7
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
2024-11-28 23:00:28 +05:30
Devender Kaushik
b39b006daa ARM: dts: msm: add remote debugger support
Add remote debugger device configuration. The Remote Debugger driver
allows a debugger running on a host PC to communicate with a remote
stub running on peripheral subsystems.

Change-Id: I23fa75b2f830a4877aafeeb3aa27d6d4275832ed
Signed-off-by: Devender Kaushik <quic_dkaushik@quicinc.com>
2024-11-28 21:44:08 +05:30
Harshitha Sai Neelati
49ec475620 ARM: dts: msm: Add a stub GPU node for kera
Some devices refer to the GPU node that is populated in a GPU
overlay file. Provide a stub GPU dt node that can be used in the
kera devicetree.

Change-Id: Ic75d95521e0388a2c5617cf4b5fcfe82a0d9496e
Signed-off-by: Harshitha Sai Neelati <quic_hsaineel@quicinc.com>
2024-11-28 15:14:49 +05:30
Hrishabh Rajput
8715e7f971 ARM: dts: msm: Remove duplicate reserved_memory nodes from Tuna DT
trust_ui_vm_mem and oem_vm_mem reserved memory nodes are added twice
for Tuna. Remove one set of redundant nodes.

Change-Id: Ia71c3a0a961c00e58869921745b76b1b5d0e8a4f
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2024-11-28 14:46:51 +05:30
Akhil Budampati
69d617a9a3 ARM: dts: msm: Add dma-heaps for VM Tuna
adding dma-heaps for VM to validate QTVM platform test cases in tuna.

Change-Id: I27944f8504b69c2b7a42424f64373432305cbc40
Signed-off-by: Akhil Budampati <quic_abudampa@quicinc.com>
2024-11-27 23:00:22 -08:00
Manish Pandey
6cdef07bc0 ARM: dts: msm: Update UFS PHY compatible for Kera SoC
Update Kera ufs device tree to use niobe UFS PHY driver. Hence
align with UFS SoC guide settings in HSR v19 specifications.

Change-Id: Ia83b887a2a8b49131e2141ff936ab3990700dd91
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
2024-11-27 22:40:19 -08:00
QCTECMDR Service
09aecebe0c Merge "ARM: dts: msm: Reserve 32kb to dcc on HLOS" 2024-11-27 20:51:53 -08:00
QCTECMDR Service
1bf2b7bcda Merge "ARM: dts: msm: Update platform MPAM address node for Tuna" 2024-11-27 20:51:53 -08:00
QCTECMDR Service
914fa6a79a Merge "ARM: dts: msm: Add interconnect voting for Debug UART instance in Tuna" 2024-11-27 13:08:31 -08:00
QCTECMDR Service
bd6872ddf2 Merge "ARM: dts: msm: Update the clock frequency dt flag name" 2024-11-27 13:08:31 -08:00
Shivnandan Kumar
8462c0a844 ARM: dts: msm: Update platform MPAM address node for Tuna
Update the platform MPAM address node for Tuna.

Change-Id: I792ee36329055b2be266f97b05f4afb003389b97
Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
2024-11-27 23:33:20 +05:30