Commit graph

857,219 commits

Author SHA1 Message Date
Ashok Vuyyuru
84e900cda8 msm: ipa4: Set return value if coalescing frame open
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>
2019-09-16 13:05:37 +05:30
Ashok Vuyyuru
26104d42c9 msm: ipa4: Don't decrease the client count if suspend fail
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>
2019-09-16 12:32:11 +05:30
Praveen Kurapati
40e62ce36a msm: ipa4: support coalescing pipe suspend
Add changes to support coalescing pipe suspend.

Change-Id: I403db535b88da917d43ac52f26ea3fff9b617be5
Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
2019-09-16 12:24:57 +05:30
Ashok Vuyyuru
eb8c172da8 msm: ipa: allow abort for disable_clks
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>
2019-09-16 12:19:47 +05:30
qctecmdr
a5894a5955 Merge "scripts: Consider env vaiables while running 'make'" 2019-09-11 16:41:34 -07:00
qctecmdr
94756db720 Merge "coresight: Add snapshot of Coresight tgu driver" 2019-09-11 15:37:00 -07:00
qctecmdr
eb8f310881 Merge "coresight-etm4x: Merge ETM changes" 2019-09-11 14:44:56 -07:00
qctecmdr
a8bb6efa2c Merge "driver: pinctrl: Update pinctrl mappings for Lahiana" 2019-09-11 14:13:39 -07:00
qctecmdr
9fa7e18839 Merge "radio: RTC6226: Make the rtc6226 driver compatible with QTI platform" 2019-09-11 14:13:38 -07:00
qctecmdr
c304386343 Merge "ion: Use correct heap when freeing secure system heap buffers" 2019-09-11 13:17:43 -07:00
Tingwei Zhang
4a0ffe43ee coresight: Add snapshot of Coresight tgu driver
Add snapshot for coresight tgu driver from msm-4.19
commit 64be469bda3ae ("power: smb1390-psy: Configure IREV
and main's ICL to prevent IREV condition").
Make necessary change to adopt coresight framework change.

Change-Id: Id62440abc6687266cdf988d26e19af39e5875e1c
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>
2019-09-11 18:39:01 +08:00
Tingwei Zhang
c0e9396075 coresight-etm4x: Merge ETM changes
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>
2019-09-11 16:55:47 +08:00
himta ram
087c5f204e radio: RTC6226: Make the rtc6226 driver compatible with QTI platform
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>
2019-09-11 12:40:37 +05:30
qctecmdr
12db9c0b36 Merge "soc: qcom: secure_buffer: Trace hyp_assign calls" 2019-09-10 16:49:11 -07:00
Elliot Berman
c4ce6d3e5c driver: pinctrl: Update pinctrl mappings for Lahiana
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>
2019-09-10 14:30:32 -07:00
qctecmdr
0aafee9bd5 Merge "radio: RTC6226: Add support for RTC6226 FM chip" 2019-09-10 12:49:35 -07:00
qctecmdr
53165f0240 Merge "coresight: Add snapshot of Coresight TPDM and TPDA driver" 2019-09-10 10:56:11 -07:00
Sudarshan Rajagopalan
0302b97aac soc: qcom: secure_buffer: Trace hyp_assign calls
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>
2019-09-10 10:53:41 -07:00
Isaac J. Manjarres
6dcdadd65d trace: secure_buffer: Introduce trace events for secure buffer
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>
2019-09-10 10:53:41 -07:00
Tingwei Zhang
84bd76e078 coresight: Add snapshot of Coresight csr driver
Add snapshot for coresight csr driver from msm-4.19
commit 64be469bda3ae ("power: smb1390-psy: Configure IREV
and main's ICL to prevent IREV condition").
Make necessary change to adopt coresight framework change.

Change-Id: I6f582f68346f36cb7d27e6a0d7fc650d701a2d7d
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>
2019-09-10 18:29:12 +08:00
Mao Jinlong
2bc8103c2b dcc_v2: Don't set the default value to sram when dcc is enabled
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>
2019-09-10 15:48:43 +08:00
qctecmdr
899c49c736 Merge "msm: CDSP: add CDSP loader driver" 2019-09-09 20:44:17 -07:00
qctecmdr
fa6b68b140 Merge "msm: ipa: Add snapshot of IPA driver" 2019-09-09 18:20:17 -07:00
qctecmdr
75b9ecf33f Merge "irqdomain: add bus token DOMAIN_BUS_WAKEUP" 2019-09-09 18:20:16 -07:00
qctecmdr
855db29c01 Merge "Bluetooth: btpower: Add snapshot of BT power driver" 2019-09-09 17:48:06 -07:00
qctecmdr
dea13806a5 Merge "ion: msm: Only check heap IDs if the heap has been initialized" 2019-09-09 17:48:06 -07:00
qctecmdr
4214124d5f Merge "drivers: of: Add API to find ddr device type" 2019-09-09 14:19:52 -07:00
Tharun Kumar Merugu
87e0e2c875 msm: CDSP: add CDSP loader driver
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>
2019-09-10 02:28:19 +05:30
Lina Iyer
47392b129b irqdomain: add bus token DOMAIN_BUS_WAKEUP
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>
2019-09-09 13:38:28 -06:00
qctecmdr
9542ae8546 Merge "drivers: qcom: rpmh: Add standalone mode support for RPMH" 2019-09-09 10:50:19 -07:00
Isaac J. Manjarres
7672340484 ion: Use correct heap when freeing secure system heap buffers
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>
2019-09-06 13:01:46 -07:00
Isaac J. Manjarres
2a230de1e9 ion: msm: Remove unnecessary free when destroying an ION buffer
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>
2019-09-06 13:01:46 -07:00
Isaac J. Manjarres
e4dee59fa1 ion: msm: Only check heap IDs if the heap has been initialized
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>
2019-09-06 13:01:45 -07:00
Umesh Vats
8e932359f0 Bluetooth: btpower: Add snapshot of BT power driver
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>
2019-09-06 10:00:36 -07:00
Bojun Pan
329744721f msm: ipa: Add snapshot of IPA driver
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>
2019-09-06 01:15:38 -07:00
qctecmdr
3cbfdc6285 Merge "drivers: qcom: rpmh-rsc: write PDC data" 2019-09-05 23:22:16 -07:00
qctecmdr
35894a708b Merge "drivers: qcom: rpmh-rsc: return if the controller is idle" 2019-09-05 22:40:58 -07:00
qctecmdr
bf7822ca66 Merge "synx : Add snapshot for global synx driver support" 2019-09-05 21:28:54 -07:00
qctecmdr
dcd8f2d974 Merge "msm: adsprpc: add fastrpc driver files" 2019-09-05 21:28:54 -07:00
qctecmdr
c2e94ddd89 Merge "ABI: Update ABI snapshot with latest kernel build tools" 2019-09-05 19:51:52 -07:00
qctecmdr
a1f29ec6d7 Merge "clk: qcom: clk-debug: Unflatten mux tree" 2019-09-05 19:19:31 -07:00
qctecmdr
ecc667dddf Merge "clk: qcom: clk-debug: Add support for enable mask for debug clk" 2019-09-05 18:45:26 -07:00
qctecmdr
3e3f026687 Merge "clk: clk-debug: Update file permission for clk_measure debugfs" 2019-09-05 18:13:27 -07:00
qctecmdr
7d612332ab Merge "clk: avoid returning local variable pointers during clock registration" 2019-09-05 17:25:09 -07:00
qctecmdr
1ee5b61154 Merge "clk: qcom: define vdd_levels enum and vdd_corner[] map" 2019-09-05 16:51:13 -07:00
qctecmdr
cb7871deb1 Merge "clk: qcom: common: only register reset controllers which define resets" 2019-09-05 16:17:10 -07:00
qctecmdr
3a8b11f312 Merge "clk: qcom: add clk rpmh support for Kona" 2019-09-05 15:33:56 -07:00
qctecmdr
e3438e35a6 Merge "clk: qcom: clk-spmi-pmic-div: add support for clock-output-names" 2019-09-05 14:57:16 -07:00
qctecmdr
8e92de522d Merge "clk: qcom: clk-aop-qmp: pass mbox pointer by reference in qmp_update_client" 2019-09-05 14:18:49 -07:00
qctecmdr
a892df470a Merge "clk: qcom: clk-aop-qmp: correct mailbox channel request logic" 2019-09-05 13:41:15 -07:00