Enable system low power violators driver for pinapple.
Change-Id: I5d21389f6b758a996e627235c6e97c654a2715fc
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
Add extended CTI support in coresight cti driver to make extended cti
work. Extended CTI has 128 triggers. Change the cti trigger max to
128. And some of the extended CTI's register offset are changed. Add
the support to configure those registers in CTI driver.
Change-Id: I0ba3f883ff72635f7a1af5801b52657ea85de52a
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
Create a cpio with system_dlkm blocklist and add it to vendor_ramdisk.
Change-Id: I3513eed0cb748939522e19a8a5ab979e66fd2b29
Signed-off-by: Vamsi Krishna Lanka <quic_vamslank@quicinc.com>
This commits avoids the generation of system_dlkm image in msm-kernel
as it is already being generated in common kernel.
Change-Id: I98a612ec611947f373e8facc29e407d74b832ca8
Signed-off-by: Vamsi Krishna Lanka <quic_vamslank@quicinc.com>
Add support to create system_dlkm.img. When BUILD_SYSTEM_DLKM=1,
gki modules are included in the super.img.
Change-Id: I47dfe90890ae045e7c0c47319401258e3cc35f5c
Signed-off-by: Vamsi Krishna Lanka <quic_vamslank@quicinc.com>
Enable system_dlkm.img generation and add modules list
and blocklist related to system_dlkm.
Change-Id: Ie6ceab1e8ecd2f5052121f5cb3471eca80116841
Signed-off-by: Vamsi Krishna Lanka <quic_vamslank@quicinc.com>
There are cases where the doorbell interrupt is handled before the
probe can finish the endpoint registration with the qrtr core logic.
Move the RX doorbell register until after the endpoint is registered
and the qrtr core logic has initialized all the structures.
Change-Id: I8200651b3874c2bef3cbc0bae35b85c67c851eff
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
Cleanup hypervisor resources during SSR. Register and
unregister qrtr endpoint at vm ready and reset
respectively. Reset the fifo indices on vm ready.
Change-Id: I31224f7afa86662a6df1944fcdd53982d5b29cf5
Signed-off-by: Jay Jayanna <jayanna@codeaurora.org>
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
Add the QRTR gunyah transport that facilitates sending and receiving
IPC Router messages between virtual machines that use the haven
hypervisor.
Change-Id: I805ee5b144c5a8fc92e4a045061770d06495f63c
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
In some devices we have 5 PCIe controllers. This change
enables the 5th PCIe controller.
Change-Id: Ifb4c03eff307afe7f1cd6204eb5baa19a8188570
Signed-off-by: Mrinmay Sarkar <quic_msarkar@quicinc.com>
Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
Add support for reading tcsr configuration from device tree and
configuring tcsr register dynamically.
This change for supporting sa8195p PCIe1. The default PCIe linkage
status of PCIe1 and 2 on sa8195p is:
PCIe1: not enabled
PCIe2: x4 lane
When config the register TCSR_PCIEPHY_LINK_CONFIG to 0(default 1),
the linkage status becomes:
PCIe1: x2 lane
PCIe2: x2 lane
This change add the ability to read tcsr value from device tree.
Change-Id: Iac53f61a147a839772c8411993f3be233b142b56
Signed-off-by: Xiang Li <lixiang@codeaurora.org>
Signed-off-by: Nitesh Gupta <nitegupt@codeaurora.org>
Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
To support high priority clients like sensor use cases in all system
conditions elevating the router reader threads to RT priorities based
on configuration.
Change-Id: I6f46097f6678f2e00c3ec8872b208d773c377224
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
Add support for QRTR to forward messages between network clusters. The
network subnet id's are attached to the QRTR subnodes in the MHI and
RPMSG/GLINK nodes.
The current forwarding decisions are done based on the net ids and are
wrapped in a single function for easier maintenance of forwarding
decisions later on. The function will return true once it determines
a subnet has no connection to another subnet.
The NEW_SERVER, DEL_SERVER, and DEL_CLIENT control messages should be
forwarded while the DATA and RESUME_TX commands should be passed along
to their destination node.
The nameservice is expected to send NEW_SERVER commands for it's entire
database instead of just the local service database with these changes.
This is to make sure new nodes get service notifications that came
earlier and were meant to be forwarded to the new node.
This change squashes the following commits from msm-4.14:
commit e5f6a6769ceb ("net: qrtr: Add forwarding support based on net id")
commit 4516ab18718d ("net: qrtr: avoid deadlock in case of recursive
lock for node list")
commit dc2d47cd12d3 ("net: qrtr: Only update pkts with broadcast node
ID")
commit 4277aebeff91 ("net: qrtr: Free skb if qrtr_node_lookup fails
during qrtr_fwd_pkt")
In addition fix minor format issues and update copyright.
Change-Id: Iaf01dd212b07dfbb13ec087ea0aae980cda7c2fd
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
KASAN seems to be flagging that bool
would only be 1 byte while %du would
want to write 4 bytes leading to out
of bounds.
Change-Id: I0e43b1103b882bbd61b5a0bef231efcc3d7d1e1b
Signed-off-by: Badri Sampath <quic_badris@quicinc.com>
As QoS driver takes freq value in s32 format, updated the max
vote value to FREQ_QOS_MAX_DEFAULT_VALUE, instead of UINT_MAX.
Change-Id: I5152ac65a9513ce7cafe9f72bbffc499571a0768
Signed-off-by: Varun Garg <quic_gargv@quicinc.com>
Go through pmu library to read/request perf counters for
msm_performance usecase.
Change-Id: Idfa83c6c7f18b8a85ff13992e3ff5cd65df50c10
Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
There is a requirement where slimbus slave don't expect ports
to be disconnected during stream unprepare for sample rates
other than 44.1/88.2k, which is causing mute issues.
Added new slim_stream_unprepare_disconnect_port API to support
disconnect port request from clients without freeing port memory
allocated during stream prepare.
Change-Id: Idb00a1fdf15d864cb6ee82f67c0db4777434b296
Signed-off-by: Anvesh Salveru <quic_asalveru@quicinc.com>