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>
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>
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>
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>
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>
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>
Update bootargs to make it compatible
with pre-sil.
Change-Id: Ifed16d126603556a1a4e11e4ce4a630d8a50c978
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Add test nodes for Kera Trusted VM and OEMVM.
Change-Id: I8a5f22920a942df8e04818adee715d58abc74e04
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
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>
Enable the UFS MCQ feature on the Tuna platforms.
Change-Id: I0f420831e9af2c3965344c33a042b75196abc1d7
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
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>
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>
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>
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>