Commit graph

597242 commits

Author SHA1 Message Date
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
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
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
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
Yimin Peng
e8c8a8a43e defconfig: arm64: msm: Enable SPMI msm8996 virtual platform
Add virtual SPMI PMIC arbiter support on virtual platform.

Change-Id: I3642d41c5474f975f18f5d19136284b632868389
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
2018-03-02 15:18:08 +08:00
Yimin Peng
4f0194fd35 ARM: dts: msm: Add SPMI and PMIC devices for msm8996 vplatform
Add virtual SPMI Arbiter and PMIC clients which are disabled by default.

Change-Id: I39e5d22bff0f796716a34d7d9ff0e2040cf2d61b
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
2018-03-02 15:16:34 +08:00
Cong Tang
4449171493 ASoC: msm: Support Channel Mixer Cfg
Enhance Channel Mixer controls for MultiMedia Frontend.

Change-Id: Ifedac25de5ae6bad1092b66ec405bba66a80f608
Signed-off-by: Cong Tang <congt@codeaurora.org>
2018-03-02 14:56:24 +08:00
Ramachandran Venkataramani
55ebadeee8 ARM: dts: msm: Add support for modem test tools on msm8996 vplatform
Add smdpkt and glinkpkt devices with the SSR handlers to
support PC based tools to test the modem and adsp.

Change-Id: I2a77f6d01ad13b9c061eacbf4d08af12d8e183a7
Signed-off-by: Ramachandran Venkataramani <ramavenk@codeaurora.org>
2018-03-01 17:38:42 -08:00
Sreelakshmi Gownipalli
94cda67dae diag: Add conditional check for len in dci_process_ctrl_status()
Add correct conditional check for len in dci_process_ctrl_status() to
prevent buffer overflow.

Change-Id: Id73ed1c8b104428eceef0544ce2858160cc08fd2
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
2018-03-01 11:07:39 -08:00
Ferry Zhou
a65186b18a defconfig: msm: Enable FW loader user space helper for GVM
WLAN firmware files are located at non-standard firmware path.
So, enable user space helper to load firmware from non-standard
fs paths like /vendor/firmware and /firmware/image etc.

Change-Id: I60bbc89953ad66dabd76badc4f2117a06f5f0cc7
Signed-off-by: Ferry Zhou <tianguiz@codeaurora.org>
2018-02-28 22:58:41 -08:00
Animesh Kishore
4c2dad03b7 msm: mdss: Fix scalar LUT handling
Add lock to serialize access between userspace
and kernel. Fix error handling for LUT allocation.

Change-Id: Ie86a8eb3e2a11852ae16d87ebc851afb6566732f
Signed-off-by: Animesh Kishore <animeshk@codeaurora.org>
2018-02-28 12:12:16 +05:30
Linux Build Service Account
07ec991ea1 Merge "DBA: add VREG sequence in power on / off sequence" 2018-02-27 22:06:13 -08:00
Linux Build Service Account
56042f19f4 Merge "msm: kgsl: Fix reading lm_sequence in _execute_reg_sequence()" 2018-02-27 22:06:12 -08:00
Linux Build Service Account
ee190b500c Merge "ASoC: wcd934x-dsp-cntl: Limit array size of val" 2018-02-27 22:06:11 -08:00
Archana Sriram
b8ba9c35c2 msm: kgsl: Fix reading lm_sequence in _execute_reg_sequence()
Added proper checks while reading lm_sequence array so that it
is not accessed beyond lm_size.

CRs-Fixed: 2175951
Change-Id: I639b07fba275aad0f62cc03fa11201c126e24812
Signed-off-by: Archana Sriram <apsrir@codeaurora.org>
2018-02-26 22:43:21 -08:00
Yong Ding
7fc5b94897 soc: qcom: hab: clean the pr_fmt redefined build warning
In include/linux/printk.h, pr_fmt is programmed in such
below way.
		#ifndef pr_fmt
		#define pr_fmt(fmt) fmt
		#endif
And in hab.h, there is a customized pr_fmt definition. To
avoid its redefinition warning, it should be undefed before
the customized one if it already exists. And such warning
happens in building khab.c now.

Change-Id: Ia7a58bc32c7205ac27767f9738271ddce8fef339
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2018-02-26 19:19:13 -08:00
Linux Build Service Account
a6ff4b8ab4 Merge "ARM: dts: qcom: Remove lpm performance index for sdm660" 2018-02-26 19:08:43 -08:00
Linux Build Service Account
8dfc7eb43e Merge "Revert "ARM: dts: msm: Enable ACD functionality for SDM660 silver cluster"" 2018-02-26 19:08:42 -08:00
Linux Build Service Account
33ed817ce4 Merge "f_audio_source: Implement get_alt() support" 2018-02-26 19:08:40 -08:00
Linux Build Service Account
17c46a0478 Merge "cnss2: Check pcie link state when resume" 2018-02-26 06:11:55 -08:00
Linux Build Service Account
d21e44ba84 Merge "trace: ipc_logging: fix compile error when disable ipc_logging" 2018-02-26 06:11:54 -08:00
Linux Build Service Account
301289fc38 Merge "msm: camera_v2: Define new mcros for result success" 2018-02-26 06:11:53 -08:00
Vijayavardhan Vennapusa
d7bff7723d f_audio_source: Implement get_alt() support
Implement get_alt() callback which is required to support multiple
alternate settings of audio_source interface.

Change-Id: Id857af047759687ae2d626839b2dd31ad59db452
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2018-02-26 02:38:50 -08:00
Tirupathi Reddy
d9fe3d83fa ARM: dts: qcom: Remove lpm performance index for sdm660
Do not use a fixed OSM performance index for sdm660 CPU
clusters while entering certain low power modes.

CRs-Fixed: 2171214
Change-Id: I4cdcd1f950174ce5570d9546590e6d135d42b426
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2018-02-25 21:16:41 -08:00
Tirupathi Reddy
5a07b7336a Revert "ARM: dts: msm: Enable ACD functionality for SDM660 silver cluster"
This reverts commit 791e28b55c.
Disable ACD functionality for SDM660 silver cluster
to address stability issues.

CRs-Fixed: 2171214
Change-Id: Id598c7348e656bf01a21510a27d68fb8beb08fbb
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2018-02-26 10:38:10 +05:30
Camus Wong
d61aa3623d DBA: add VREG sequence in power on / off sequence
VREG was enabled during init and never turn off until the bridge chip
unregister.  We need to add VREG on/off sequence into bridge chip
power on/off in order to reduce platform current draw.

Change-Id: Ib8d59665c55035c36d10d868fb256fcfaa243f84
Signed-off-by: Camus Wong <camusw@codeaurora.org>
2018-02-25 16:54:44 -08:00
Mohammed Javid
c2c950b468 msm: ipa3: Fix to validate the user inputs
Miss to Validate user inputs for last entry while
sending the QMI message to modem. Adding code changes to
fix to validate user inputs for last entry.

Change-Id: If2c6c4fbfc922d56355d26a16f844fd57d4992ac
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2018-02-25 03:58:38 -08:00
Ramachandran Venkataramani
8e13fa3873 defconfig: msm: Enable configs for modem interfaces
Add configs for sysmon, smdpkt and glinkpkt

Change-Id: I57494e41388351eebab92a350f46608358943ca2
Signed-off-by: Ramachandran Venkataramani <ramavenk@codeaurora.org>
2018-02-23 17:26:47 -08:00
Linux Build Service Account
8be37176ca Merge "spmi: msm: Add virtual SPMI PMIC front end driver" 2018-02-23 10:39:10 -08:00
Trishansh Bhardwaj
789eccbec6 msm: camera_v2: Define new mcros for result success
Defines below macros.
 MSM_CAMERA_CMD_SUCCESS
 MSM_CAMERA_BUF_MAP_SUCCESS

Change-Id: Ied4cf83a129dacbcaa2acb83d3dbcd10e2d5d886
Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
2018-02-23 16:50:27 +05:30
Linux Build Service Account
d633b247ea Merge "diag: Validate copying length against source buffer length" 2018-02-23 03:07:59 -08:00
Linux Build Service Account
867bd83b1f Merge "input: misc: hbtp_input: fix list corruption in completion queue" 2018-02-22 13:00:57 -08:00
Vevek Venkatesan
aef3e26918 input: misc: hbtp_input: fix list corruption in completion queue
Fix list corruption in task completion wait queue, in hbtp_input
driver.

Change-Id: Ic9967a196a575ce8aaad62a85ecbf055cf66a6f0
Signed-off-by: Vevek Venkatesan <vevekv@codeaurora.org>
2018-02-22 18:52:12 +05:30
Linux Build Service Account
5553c6cbbb Merge "msm: kgsl: Prevent race condition when freeing memory" 2018-02-22 03:01:07 -08:00