Commit graph

585261 commits

Author SHA1 Message Date
Linux Build Service Account
a08be13ed5 Merge "misc: qpnp-misc: add support for clients to read register from misc device" 2017-03-10 02:07:07 -08:00
Linux Build Service Account
0b59a6020b Merge "msm: IPA: add the check on intf query" 2017-03-10 02:07:06 -08:00
Ashay Jaiswal
44499b736a qcom: qpnp-smb2: update POWER_SUPPLY_PROP_CHARGER_TEMP read logic
The charger therm on RRADC only reads valid values if a charger is
present. Add a check accordingly.

Change-Id: I74c6c15e1e72d4d2ef3ffd698f130b7d0fce6df4
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-03-10 15:34:31 +05:30
Jayant Shekhar
053665087e ARM: dts: msm: Enable continuous splash on sdm630
Add splash memory node for sdm630 to enable continuous
splash.

Change-Id: Idf69b5af0ededd3a7f649cc49eaa889e4175751e
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
2017-03-10 14:27:22 +05:30
Vijayavardhan Vennapusa
cd4b79bffc ARM: dts: msm: use updated clock handle to USB dt node on sdm660
Add the proper clock handle to USB dt node for noc_aggr_clk for
SDM660.

Change-Id: Id9ec52123ce2e45b466cc6cd74696f52154efdae
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2017-03-09 23:49:57 -08:00
Govind Singh
0fcd027f7e ath10k: Increase the ring size of the CE4 ring
Increase the size of host to target CE4 ring
in order to hold more data packets in the ring and
avoid the unnecessary drops at hif layer.

CRs-Fixed: 2017758
Change-Id: Ib344c7035a79b0730a8b39d2441857b363e18efd
Signed-off-by: Govind Singh <govinds@codeaurora.org>
2017-03-10 12:58:49 +05:30
Govind Singh
8260e333ec ath10k: Fix TCP TX throttling issue
TCP TX throttling logic is changed a little after
3.19-rc1 kernel, the TCP sending limit will be smaller,
which will throttle the TCP packets to the host driver.
The TCP UP LINK throughput will drop heavily. In order to
fix this issue, need to orphan the socket buffer asap, which
will call skb's destructor to notify the TCP stack that the
SKB buffer is unowned. And then the TCP stack will pump more
packets to host driver.

The TX packets might be dropped for UDP case in the iperf
testing. So need to be protected by follow control

Change-Id: I1c77313fbdb579e708d4a5a6bcd063c7c34a6d39
Signed-off-by: Govind Singh <govinds@codeaurora.org>
2017-03-09 23:08:45 -08:00
Subbaraman Narayanamurthy
0ed3b2e19d misc: qpnp-misc: add support for clients to read register from misc device
On certain PMICs, PMIC peripheral drivers like haptics need to
read MISC peripheral register. Add support for clients to read
it by using qpnp_misc_read_reg().

Change-Id: Id5dfd9e440a8861b56572dab50839d1583535882
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-03-09 20:03:05 -08:00
Linux Build Service Account
22fe1e7de0 Merge "msm: ipa: Fix incorrect wakelock handling" 2017-03-09 17:21:38 -08:00
Linux Build Service Account
359d1d3060 Merge "msm: camera: cpp: Fixing Heap overflow in output buffer" 2017-03-09 17:21:37 -08:00
Linux Build Service Account
96f718455b Merge "ARM: dts: msm: Use aggre2_noc voter clock handle for SDM660/630" 2017-03-09 17:21:36 -08:00
Linux Build Service Account
b922b6b8c4 Merge "ASoC: msm: Use msm_route_ec_ref_rx for widget update" 2017-03-09 17:21:35 -08:00
Linux Build Service Account
dee42a9273 Merge "wil6210: use napi_complete_done" 2017-03-09 17:21:35 -08:00
Linux Build Service Account
ef1c08dfb7 Merge "ARM: dts: msm: add support for apq8998 QRD SKUK HDK board" 2017-03-09 17:21:34 -08:00
Linux Build Service Account
a9fff3ad59 Merge "msm: kgsl: Improve GPU soft fault detection" 2017-03-09 17:21:33 -08:00
Linux Build Service Account
db08e7c668 Merge "msm: ADSPRPC: Null check for file session context during release" 2017-03-09 17:21:32 -08:00
Linux Build Service Account
3a9ea3d533 Merge "msm: ADSPRPC: Create debugfs file with process name" 2017-03-09 17:21:32 -08:00
Linux Build Service Account
637926e1e3 Merge "qcom: smb-lib: fix adapter allowance for PM660" 2017-03-09 17:21:31 -08:00
Linux Build Service Account
0b7d42a677 Merge "mmc: bus: Handle error in case bus_ops suspend fails" 2017-03-09 17:21:30 -08:00
Linux Build Service Account
1b15e5b577 Merge "mmc: mmc: Handle error case in mmc_suspend" 2017-03-09 17:21:29 -08:00
Linux Build Service Account
cbd89c14fa Merge "mdss: display-port: fix DP issue when framework reboots" 2017-03-09 17:21:25 -08:00
Runmin Wang
f6d2d681a8 arm64: Update correct config option for TLB handler
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>
2017-03-09 16:59:43 -08:00
Prashanth Bhatta
263cd95ba4 cnss_prealloc: Update pre-alloc table
Update pre-alloc table with new memory requirement from WLAN
functional driver.

Change-Id: I2edc8ca0d2361e51f83af405c7d97fba91bf96f5
CRs-fixed: 2017525
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2017-03-09 15:31:55 -08:00
Harry Yang
240a6fcac5 qcom: smb138x: Reduce die temperature samples for initial readings
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>
2017-03-09 13:14:06 -08:00
Prasad Sodagudi
de6e934118 defconfig: msm: Enable RCU_STALL_WATCHDOG_BITE flag
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>
2017-03-09 11:16:22 -08:00
Skylar Chang
8788726041 msm: gsi: increase stop command timeout
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>
2017-03-09 10:57:53 -08:00
Linux Build Service Account
bba3dcc465 Merge "msm: mdss: hdmi: check up-bound of CEC frame size" 2017-03-09 10:13:37 -08:00
Linux Build Service Account
1e8643fd19 Merge "ARM: dts: msm: Move imgswap setting to target specific config" 2017-03-09 10:13:36 -08:00
Linux Build Service Account
a9dd7b68c7 Merge "msm: sde: Wait for Rotator HW complete if stop streaming timeout" 2017-03-09 10:13:36 -08:00
Linux Build Service Account
fd8b1eca93 Merge "msm: mdss: initialize the DP thread structures before kthread_run" 2017-03-09 10:13:35 -08:00
Linux Build Service Account
931760401f Merge "msm: qpnp-haptic: Add support for haptics on PM660" 2017-03-09 10:13:34 -08:00
Linux Build Service Account
c299352b93 Merge "mmc: host: cmdq-hci-ice: Clear ICE configuration once request is done" 2017-03-09 10:13:33 -08:00
Linux Build Service Account
a83d5deddb Merge "mmc: host: sdhci-msm-ice: Support for clearing ice configuration" 2017-03-09 10:13:33 -08:00
Linux Build Service Account
8d7e3b67c7 Merge "drivers: lmh_dcvsh: Use allocated variable for LMH DCVSh sensor name" 2017-03-09 10:13:32 -08:00
Linux Build Service Account
9c1ecc8488 Merge "input: touchscreen: remove data pointer from driver structure" 2017-03-09 10:13:31 -08:00
Linux Build Service Account
a0a0cf2298 Merge "msm: camera: sensor: Do not dump the CCI registers" 2017-03-09 10:13:30 -08:00
Prasad Sodagudi
4f659aa55e rcu: Induce msm watchdog bite for rcu stalls
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>
2017-03-09 10:07:35 -08:00
Utkarsh Saxena
b09c22c040 msm: ipa: Fix incorrect wakelock handling
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>
2017-03-09 09:16:54 -08:00
Naseer Ahmed
718254e9fd msm: mdss: Validate cursor image size
Check size of cursor image provided by userspace and return error
appropriately.

Bug: 34125463
CRs-Fixed: 1115406
Change-Id: I31aee3c9219921cf5c4306b36f8708582b838c38
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
Signed-off-by: Rajkumar Subbiah <rsubbia@codeaurora.org>
2017-03-09 08:59:52 -08:00
Deepak Kumar
fbecfd709f ARM: dts: msm: Enable midframe sampling timer on SDM660
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>
2017-03-09 18:22:07 +05:30
Rupesh Tatiya
b952d5f3ca ARM: dts: msm: set pm660 L6/L9/L19 to not follow HW_EN1 for wcn3990
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>
2017-03-09 17:44:43 +05:30
Shantanu Jain
401dce7cfd input: touchscreen: fix buffer overflow issue in synaptics driver
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>
2017-03-09 16:19:20 +05:30
Linux Build Service Account
647076b679 Merge "msm: mdss: update check bw check for ab/ib" 2017-03-09 02:05:04 -08:00
Linux Build Service Account
9b2a9f7ceb Merge "icnss: Remove WARN_ON" 2017-03-09 02:05:03 -08:00
Linux Build Service Account
3fd9920718 Merge "ARM: dts: msm: enable dynamic fps for nt35597 truly panel on sdm660" 2017-03-09 02:05:02 -08:00
Linux Build Service Account
413df00c0d Merge "msm: mdss: add HW recommended delay for dfps feature." 2017-03-09 02:05:01 -08:00
Linux Build Service Account
6b2024dad5 Merge "tracing: Free saved_tgids memory in free_saved_cmdlines_buffer" 2017-03-09 02:05:00 -08:00
Linux Build Service Account
f267f30d30 Merge "usb: gadget: f_gsi: Fix NULL ptr dereference" 2017-03-09 02:05:00 -08:00
Linux Build Service Account
20f778e413 Merge "qseecom: return app_id correctly when looking up and loading app" 2017-03-09 02:04:59 -08:00
Linux Build Service Account
c7692d37b0 Merge "usb: gadget: f_fs: Fix out-of-bounds string access" 2017-03-09 02:04:58 -08:00