Commit graph

597808 commits

Author SHA1 Message Date
Venkata Prahlad Valluru
63d1082c62 input: touchscreen: synaptics_dsx: Fix uninitialized variable usage
Initialize variables that are passed by reference, so that
they can be used safely afterwards, irrespective of the
called function actions.

Change-Id: Ib95f3aa3077d6ef7aaaabcfc6c882790b6406793
Signed-off-by: Venkata Prahlad Valluru <vvalluru@codeaurora.org>
2018-03-13 18:54:30 +05:30
Venkata Prahlad Valluru
545199223e input: touchscreen: synaptics_dsx: Handle failure case during probe
Handle create_singlethread_workqueue api failure case.

Change-Id: Ic3f45fddfbd40d8a78dd888eed5f01120809adee
Signed-off-by: Venkata Prahlad Valluru <vvalluru@codeaurora.org>
2018-03-13 18:50:05 +05:30
Linux Build Service Account
e6408fea60 Merge "scsi: ufs: do not destroy clk scaling work queue if it is NULL" 2018-03-09 02:47:56 -08:00
Linux Build Service Account
4e755a752e Merge "asoc: msm: add check for integer overflow" 2018-03-09 02:47:54 -08:00
Linux Build Service Account
bc60923a9f Merge "mm/migration: make isolate_movable_page() return int type" 2018-03-09 02:47:52 -08:00
Linux Build Service Account
b36bac6b0d Merge "mm/hotplug: enable memory hotplug for non-lru movable pages" 2018-03-09 02:47:52 -08:00
Linux Build Service Account
951119485b Merge "profiler: memset cnt_buf before use" 2018-03-09 02:47:50 -08:00
Linux Build Service Account
b83a3d1c47 Merge "soc: qcom: subsystem_notif_virt: Add virtual subsystem notification driver" 2018-03-09 02:47:49 -08:00
Linux Build Service Account
07324253e2 Merge "DRM: SDE: Fix potential buffer overflow in SDE encoder" 2018-03-08 04:27:51 -08:00
Anant Goel
f64af1ec50 soc: qcom: subsystem_notif_virt: Add virtual subsystem notification driver
The guest VM uses this driver to communicate subsystem state related
notifications to a backend driver via the virtual device's registers.

Change-Id: I612fcb641c4d531c1d2c0fd18f44f7ebff040f2c
Signed-off-by: Anant Goel <anantg@codeaurora.org>
2018-03-07 12:05:28 -08:00
Linux Build Service Account
b02928f9da Merge "i2c-msm-v2: Replace HW recovery mechanism with SW bit-banging" 2018-03-07 09:16:40 -08:00
Linux Build Service Account
1ccffb8bdd Merge "ais: match type to avoid array overflow" 2018-03-07 09:16:39 -08:00
Linux Build Service Account
5f0137e535 Merge "sched: add sched_get_cpu_last_busy_time() API" 2018-03-07 09:16:38 -08:00
Linux Build Service Account
bbfcd05a31 Merge "Revert "ARM: dts: msm: Disable SPI CAN controller on msm8996 CV2X boards"" 2018-03-07 09:16:37 -08:00
Linux Build Service Account
52981940d7 Merge "clk: qcom: mdss: improve DSI PLL's performance" 2018-03-07 09:16:35 -08:00
Linux Build Service Account
a3c86eca63 Merge "msm: vidc: enable port reconfig for thumbnail session" 2018-03-07 09:16:34 -08:00
Linux Build Service Account
ef0769db30 Merge "Merge android-4.4.118 (5f7f76a) into msm-4.4" 2018-03-07 09:16:32 -08:00
Linux Build Service Account
296628bc78 Merge "Merge android-4.4.117 (4ec3656) into msm-4.4" 2018-03-07 09:16:31 -08:00
Linux Build Service Account
d30c02ed5b Merge "Merge android-4.4.116 (20ddb25) into msm-4.4" 2018-03-07 09:16:30 -08:00
Linux Build Service Account
40cb358707 Merge "clk: msm: Add reset support in dummy clock driver" 2018-03-07 09:16:29 -08:00
Gustavo Solaira
7327c28169 Revert "ARM: dts: msm: Disable SPI CAN controller on msm8996 CV2X boards"
This reverts commit a8c85fc795.
Reverted because support for MPC5746C SPI-CAN is being
added back to the platform.

Change-Id: Ib14caf39a8cba9c6028abceb85adcd43df53ba06
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2018-03-06 22:47:50 -08:00
Lei wang
94e90bcf7f profiler: memset cnt_buf before use
fix cnf_buf.cmd is uninitialized in bw_profiling_get

Change-Id: I9638fe423e6768c66a85e80c0d5175b8a33c1901
Signed-off-by: Lei wang <leiwan@codeaurora.org>
2018-03-06 22:04:33 -08:00
Can Guo
8a7e59ba7f scsi: ufs: do not destroy clk scaling work queue if it is NULL
Function ufshcd_hba_exit might be called to destroy clk scaling work queue
if failure happends in function ufshcd_init before clk gating work queue
is created. This change fixs it by skipping destroying clk scaling work
queue if it is NULL.

Change-Id: Ifb1c46f490749e4afe7cea331c29d073175f68ef
Signed-off-by: Can Guo <cang@codeaurora.org>
2018-03-07 13:03:25 +08:00
Linux Build Service Account
834739e911 Merge "drm/msm-hyp: overwrite hyp ioctls used by libgbm" 2018-03-06 20:57:58 -08:00
Linux Build Service Account
c70b573a90 Merge "ath10k: fix the invalid STA disconnect after wow resume" 2018-03-06 20:57:57 -08:00
Linux Build Service Account
25eb087db9 Merge "defconfig: arm64: msm: Enable SPMI msm8996 virtual platform" 2018-03-06 20:57:55 -08:00
Linux Build Service Account
39e3389b79 Merge "ASoC: msm: Support Channel Mixer Cfg" 2018-03-06 20:57:54 -08:00
Linux Build Service Account
83efda84fc Merge "ARM: dts: msm: Disable usb phy by default on msm8996 vplatform" 2018-03-06 20:57:53 -08:00
Linux Build Service Account
2ad3d8cb64 Merge "spmi: msm: correct len part in formatted cmd value." 2018-03-06 20:57:51 -08:00
Linux Build Service Account
df41a54a67 Merge "drm/msm: HPD_OFF Property for SDE HDMI Connector" 2018-03-06 20:57:50 -08:00
Guchun Chen
cf8812ee6e clk: qcom: mdss: improve DSI PLL's performance
To improve performance margin for DSI's PLL at cold temperature case,
the value of DSIPHY_PLL_PLL_ICPMSET should be changed from 0x24 to 0x3f.

Change-Id: I139e37e137355c5e8f0b3bebd28b23a09593dd13
Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
2018-03-07 11:10:56 +08:00
Camus Wong
74f60692b1 drm/msm-hyp: overwrite hyp ioctls used by libgbm
Handle ioctls called by libgbm in the virtual kernel driver
to support front-end library and avoid modifying libgbm.

Change-Id: Ie4e567cea7338b4ba68080decf85dfa45e040dac
Signed-off-by: Camus Wong <camusw@codeaurora.org>
2018-03-06 09:54:53 -05:00
Pavankumar Kondeti
3c44396107 sched: add sched_get_cpu_last_busy_time() API
sched_get_cpu_last_busy_time() returns the last time stamp when
a given CPU is busy with more than 2 runnable tasks or has load
greater than 50% of it's max capacity. The LPM driver can make
use of this API and create a policy to prevent a recently loaded
CPU entering deep sleep state.

This API is implemented only for the higher capacity CPUs in
the system. It returns 0 for other CPUs.

Change-Id: I97ef47970a71647f4f55f21165d0cc1351770a53
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2018-03-06 19:46:33 +05:30
Sarada Prasanna Garnayak
ab809bba58 ath10k: fix the invalid STA disconnect after wow resume
Clear the previous wakeup reason data and reset the wakeup
reason event field to avoid the STA disconnect with invalid
wow event.

CRs-Fixed: 2199100
Change-Id: If45b5ae6e6f93ab9068b59a5e31f46b829363936
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2018-03-06 03:57:03 -08:00
Andy Sun
eed92b4a0f ais: match type to avoid array overflow
Fix buffer overflow and array index out of bounds cases.
Because size of int(32bits) unequal to size of long(64bits). 

Change-Id: I45a70ec5b6926698bb444fc78f85785bc4a25ea5
Signed-off-by: Andy Sun <bins@codeaurora.org>
2018-03-06 16:16:46 +08:00
Aditya Bavanari
893f3cf2fb asoc: msm: add check for integer overflow
Add check for integer overflow of user
supplied data for ADSP stream command.

CRs-Fixed: 2173850
Change-Id: Ic70093e890b7a6dd07529d77d10fff003282a8ea
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-03-06 12:52:27 +05:30
Linux Build Service Account
99b73ed59a Merge "soc: qcom: scm_qcpe: Derive HAB id from HAB vmid dt node" 2018-03-05 14:12:24 -08:00
Linux Build Service Account
b6633295ce Merge "msm: kgsl: Limit the maximum number of contexts" 2018-03-05 14:12:22 -08:00
Linux Build Service Account
307aaed1e4 Merge "msm: mdss: Fix scalar LUT handling" 2018-03-05 14:12:21 -08:00
Paras Nagda
6d5592aa85 msm: vidc: enable port reconfig for thumbnail session
Send port reconfig to client for thumbnail session
when driver received sufficient resources from firmware.

This is needed as there are issues in DPB management
in firmware.

Change-Id: I7c2992e6be87fd277b209554d1aa7c4d0a088738
Signed-off-by: Paras Nagda <pnagda@codeaurora.org>
2018-03-05 05:52:34 -08:00
Harshdeep Dhatt
3f5a22eca9 msm: kgsl: Limit the maximum number of contexts
Enforce a limit of 200 contexts per process. This is done so
that a process cannot use up all the available contexts and
prevent other processes from starving.

Change-Id: I6eda123128381a213315561cd42335e0944f1f55
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
Signed-off-by: Archana Obannagari <aobann@codeaurora.org>
2018-03-05 01:17:09 -08:00
Yimin Peng
2c6e820516 spmi: msm: correct len part in formatted cmd value.
When the bytes count required by SPMI clients is 8, read and write
fail. This was observed when PMIC MPPs initialized. Fix this by
adding bytes count restore in cmd formation as read and write process.

Change-Id: I56dbbc0b8e99727c29ddae568ce6f17195888b4a
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
2018-03-05 15:43:31 +08:00
Harshdeep Dhatt
b67de7b731 msm: kgsl: Increase memstore size
Increase the memstore size to 32k. Memstore has for long
been limited to 200 contexts and now it will be 814.

Change-Id: I1287669f0be38afe13ff8e386f5296e8f4e77627
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
Signed-off-by: Archana Obannagari <aobann@codeaurora.org>
2018-03-05 12:10:15 +05:30
Zhiqiang Tu
a1ef93ac8d ARM: dts: msm: Disable usb phy by default on msm8996 vplatform
Disable usb phy by default and only enable them for the targets
which require the support for usb phy.

Change-Id: I55d5cba5ef06d3269cc9600dfec866c0f88b31ab
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2018-03-05 09:16:34 +08:00
Amit Blay
552c3a28c9 soc: qcom: scm_qcpe: Derive HAB id from HAB vmid dt node
Derive the QCPE HAB id from the HAB vmid DTS node, rather
than have it hard coded into the driver.

Change-Id: I29ec7647890f8bc194d31f0402c5ed314572462f
Signed-off-by: Amit Blay <ablay@codeaurora.org>
2018-03-04 10:06:03 +02:00
Linux Build Service Account
a337c17ceb Merge "msm: kgsl: Correct memory type update in IOCTL_KGSL_GPUOBJ_SET_INFO" 2018-03-02 23:05:09 -08:00
Linux Build Service Account
6e7aa98702 Merge "ARM: dts: msm: Add support for modem test tools on msm8996 vplatform" 2018-03-02 23:05:08 -08:00
Linux Build Service Account
1826c38271 Merge "soc: qcom: hab: clean the pr_fmt redefined build warning" 2018-03-02 23:05:07 -08:00
Linux Build Service Account
37a1744d91 Merge "defconfig: msm: Enable FW loader user space helper for GVM" 2018-03-02 23:05:05 -08:00
Deepak Kumar
d567b416ed msm: kgsl: Correct memory type update in IOCTL_KGSL_GPUOBJ_SET_INFO
A bad user can pass memory type parameter value greater than 255.
Limit the memory type value to valid range before updating memory
descriptor flags to avoid incorrect flag update.

Change-Id: I23ce69584d1e2c9969583461ee942c5046e7cdbc
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2018-03-02 09:47:11 -08:00