Update the config option to "CONFIG_QCOM_TLB_HANDLER" so el1_sync
will call into EL2 TLB fault handler. Default TLB handler in EL1
is changed into a dummy handler.
Change-Id: Id4008d03002928bd24affeba0ef4250664ea3a48
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
Fix possible buffer overflow by reading 'resp->total_domains' from the
qmi response message since 'resp->total_domains' indicate total number
of matching domains found by servreg.
'resp->domain_list_len' indicates the domains that could be sent in one
response which should not be greater than 'resp->total_domains'.
CRs-Fixed: 2009016
Change-Id: I614561c5f9bc996689129bc098baaffc9b59c377
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
Die temperature samples 10 times to take average to reduce error,
which extends time in reading and causes delay during boot up, where
the data is not really insterested.
To improve it, only take one sample for the first few user temp
readings.
Change-Id: Ifc10de8a624f1d50d303673ff553d4801337481b
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Fix ref counting of the secure buffers. This change releases
the ref count on the secure buffers during the free operation.
This allows the buffers to be ref counted until hw has done
fetching from the buffers.
CRs-Fixed: 2012323
Change-Id: Ic24c39e75d502ed73453d0c6d78fd76448737697
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Enable RCU_STALL_WATCHDOG_BITE flag to induce the
watchdog bite for every rcu stall instead of just
printing warning message. This option helps for
postmortem analysis on rcu stalls by collecting
complete ram dumps and cpu context.
Change-Id: I6badcd034bf75a10f211eb506701a68efccb43c3
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
In case of high load on the system the old timeout (10ms)
is not sufficient for GSI to stop a channel.
This change is to increase GSI stop command to 20ms.
Change-Id: I6f86e6bf9a0254daee937e05927c8152402b2ffe
CRs-Fixed: 2015928
Acked-by: Ady Abraham <adya@qti.qualcommm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Every RCU stall need to be debugged, So collect the ram
dumps on every RCU stall to debug further by inducing
non secure watchdog bite whenever rcu stall detected.
Change-Id: I6c1cfddc92f06b48c3f22fe9970b70f2ec670bf6
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
For every __pm_stay_awake call, there must be a
__pm_relax call to ensure there is no stale
wakelock is held. with the current logic
__pm_stay_awake is called whenever wakelock ref
cnt is non-zero and released only when it is 0.
This leads to wakelock being held even when
it is not required. Make a change to acquire
wakelock only when it is not held previously.
Change-Id: I8c61c184506c705fd5866de8a606f642c5de3d5b
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Add routing controls to connect analog and digital codecs for both
RX and TX paths.
CRs-Fixed: 2014602
Change-Id: Ie92f93a7cdc5230cdd5d1bc2471d96117013a34c
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
Add support for required node for audio of sdm630 qrd
with internal codec.
CRs-Fixed: 2005884
Change-Id: Ia6749d8dcc36910212f7a4f755e7e0620b43da1c
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
This change enables midframe sampling timer which samples
the GPU power stats if the command batch expiry takes longer
than the threshold set by KGSL_GOVERNOR_CALL_INTERVAL. This
will help the use cases where long running command batches
were delaying GPU DCVS decision for increasing the frequency.
Change-Id: I08ec8f3389c2140e1205096abc2c01f2d3882abc
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
During the suspend flow, wil6210 HW can send sporadic interrupts,
while PCIe bus is not operational.
To prevent that, keep the interrupts disabled during the suspend
flow and re-enable them only after PCIe enablement in resume.
Change-Id: I205f8cdb89c4f64ecac4ca3422767bfc47ec3d33
Signed-off-by: Maya Erez <merez@codeaurora.org>
On sdm630, There is leakage of ~300-400uA current in Bluetooth page scan
scenarios when L6/L9/L19 follow HW_EN1.
Change-Id: Ia041245f4c3cb96373f53dd9c11e2e1249da96ae
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
Fix buffer overflow issue in synaptics touch driver while copying
the contents of "strptr" into "firmware_id". This code change is
meant to fix the same.
Change-Id: I8ea96af558eff540a37fb8e7da730c74502622aa
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>