Because of not setting return value in case of coalescing frame
open IPA clock was disabled. Add changes to set retun value
if coalescing frame open.
Change-Id: Id029153d0526fc37fd7b8cf82212b2dc4639f424
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
Because of decreasing the client count not able undo the
last client suspend operation. Add changes to avoid decrementing
the client count, it will allow undo last client suspend operation.
Change-Id: I486550734a1e8181aa4be19972b54c818ad75eeb
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
If a GSI channel is not quite clock cannot be devoted.
This change introduces the capability to "abort and retry"
clock devote operation.
Change-Id: I6e591435bbc3de81dce39e3ad5a0ae0f87c9a783
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
Fetch device name in sysfs from device tree. Adjust trace ID
according to internal definition.
Change-Id: I5784d0cdd03ba8dff61d9ab632cd163f9ccbedd4
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>
Moved the power on functionality under set control ioctl.
Removed the blocker code for tune, seek operation.
Added code for posting event to user space as part
of interrupt handling.
Add support to power on/off rtc6226 chip and enable.
CRs-Fixed: 2525362
Change-Id: I61cea2d59a57ae7395971c7f8493582abedf5038
Signed-off-by: himta ram <hram@codeaurora.org>
Update Lahaina pinctrl TLMM mappings for Lahaina. Update ordering
of pin groups to be alphabetical.
Change-Id: I6728f55291960c9a316a1a0c4768e784d7f19713
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Add trace events to log the caller for hyp_assign_table(), as well as
other relevant information, such as source/destination VMIDs, permissions,
and the sizes and physical bases of the regions affected by the call to
hyp_assign().
Change-Id: Iea37d539e2409465889ad244e74ab4a9e3344e35
Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
These trace events will show the caller of hyp_assign_table() as well as
information about the region(s) of memory that are affected by the changes
in ownership (e.g. source/destination VMIDs and permissions). The trace
events also provide information about the time spent in the higher
execution layers when the memory is being assigned.
Also, expose the mem_prot_info and dest_vm_and_perm_info data structures in
the secure_buffer header file, so that they are visible to the trace events
header file.
Change-Id: I19a8561327e953e1bc593217293642f1cbd6ce36
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
If set the default value to sram when dcc is enabled, there will be
stuck issue for dcc dump.
Change-Id: I784993d6db41e1afed92ccc05bec0cf1987a3e04
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
Add the CDSP loader driver that loads the compute DSP firmware
images and brings the subsystem out of reset during boot-up. Add
compilation rules for the CDSP loader.
Change-Id: I8cf67edd6e7996da7d223c9e69cd6aa39e2af07e
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
Add new bus token to describe domains that are wakeup capable.
Change-Id: Ic1c0f0d2882a20a28aabc100835ac249c7bb4eef
Suggested-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
Switch the heap for buffers from the secure system heap in
the free path, so that they can be properly released into
the secure pools.
Change-Id: I9873d73efa6f56a2c2ceb8d29e4b594ff30b9bca
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
When an ION buffer is destroyed, the dma-buf release path will
try to free the exporter name field in the dma-buf. However,
this is not needed, as the field is not populated with
dynamically allocated memory. Thus, remove it.
Change-Id: Ieda30c2130d80ef3e6016e1c574f0524fce14fcc
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
The get_ion_heap() code blindly checks heap IDs in the array
of heap pointers without checking to see if the heap pointer
is valid, which can cause a NULL pointer to be dereferenced.
Add a check before inspecting the heap ID to ensure that the
heap pointer is valid.
Change-Id: I2ecdc652460878446e3f2daa2379e04ac021d75c
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Add BT power driver. Update the BT power driver to reduce code
complexity. Update the BT power driver to support retention mode
for LDOs.
Change-Id: I7565ff4aa0f19ed1b1427719629c0487006524cc
Signed-off-by: Umesh Vats <uvats@codeaurora.org>
This is a snapshot of the IPA and GSI drivers
from msm-4.19 to msm-lahaina as of
'commit <2df7c68f038d13a4d278ecd858bc5ccebb3f569b>
(Merge "sched/core: fix possible out-of-bounds
access in updown_migrate_value)'.
Change-Id: Ie654ca46181248854ddc33c3033b5808aa32e628
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>