Commit graph

592246 commits

Author SHA1 Message Date
Weiyin Jiang
0665a04d95 SoC: msm: audio-effects: return directly to avoid integer overflow
Return error code directly to avoid further integer overflow leading
to buffer overflow.

Change-Id: I8b74efda227726494724f4387c45b5b6fa04637b
CRs-Fixed: 2077909
Signed-off-by: Weiyin Jiang <wjiang@codeaurora.org>
2017-07-27 23:30:44 -07:00
Linux Build Service Account
ac8211566b Merge "msm: ispif: fix the OOB read issue" 2017-07-27 06:47:06 -07:00
Linux Build Service Account
08a5bd86c1 Merge "wcnss: fix the potential buffer flow issue in firmware setup" 2017-07-27 06:47:05 -07:00
Linux Build Service Account
0a57938d14 Merge "cnss2: Print string for firmware mode" 2017-07-26 19:22:55 -07:00
Linux Build Service Account
15d76668b0 Merge "icnss: Set crash state for PDR" 2017-07-26 19:22:54 -07:00
Linux Build Service Account
0bce290a42 Merge "hotplug cpu: ratelimit logs for thermal veto" 2017-07-26 19:22:53 -07:00
Linux Build Service Account
827f654338 Merge "msm: ipa3: disable clock gating for MISC" 2017-07-26 19:22:44 -07:00
Yue Ma
0e8dffdaf8 cnss2: Print string for firmware mode
This can clearly show the firmware mode sent through QMI message
in the logs to help debugging.

Signed-off-by: Yue Ma <yuem@codeaurora.org>
CRs-fixed: 2059087
Change-Id: I0b11808f00229ed557141226bc2510673a7a1ede
2017-07-26 10:51:59 -07:00
Linux Build Service Account
1c9a156e41 Merge "ARM: dts: msm: enable DP functionality for SDA660 HDK platform" 2017-07-26 08:44:58 -07:00
Linux Build Service Account
e6cb8897ab Merge "msm: camera: Make use of mutex lock to avoid race condition" 2017-07-26 08:44:55 -07:00
Linux Build Service Account
bc72999165 Merge "msm: ais: sensor: validating the flash initialization parameters" 2017-07-26 08:44:54 -07:00
Linux Build Service Account
2991c52124 Merge "icnss: Consolidate logging message" 2017-07-26 08:44:53 -07:00
Linux Build Service Account
74d929874d Merge "drm/msm: Turn off hardware clock gating before reading A5XX registers" 2017-07-26 08:44:51 -07:00
Linux Build Service Account
123ada77d0 Merge "ARM: dts: msm: Add qseecom device node on msm8996 lfv platform" 2017-07-26 08:44:50 -07:00
Linux Build Service Account
67edc020df Merge "misc: qseecom: Support qseecom deferred probing" 2017-07-26 08:44:49 -07:00
Linux Build Service Account
7accc53e1b Merge "scsi: ufs: Serialise ufs clock gating and ungating" 2017-07-26 08:44:41 -07:00
zhaoyuan
4234d719d9 ARM: dts: msm: enable DP functionality for SDA660 HDK platform
SDA660 HDK platform has DP hardware blocks, so enable it in the
device tree.

CRs-Fixed: 2064346
Change-Id: Ieb524e37ed2f4cdd5776759b00ec182378ff6ff5
Signed-off-by: zhaoyuan <yzhao@codeaurora.org>
2017-07-26 00:26:29 -07:00
Prateek Sood
ce3ef1df54 hotplug cpu: ratelimit logs for thermal veto
Thermal notifier callback is not allowing CPU
to come online. Rate limit logs to avoid watchdog
non-secure bite as it is a valid rejection due to
high temperature of SOC.

Change-Id: If3f8df7370e6ffd18b50e7451431d6a26023359d
Signed-off-by: Prateek Sood <prsood@codeaurora.org>
2017-07-25 23:45:21 -07:00
annamraj
b8ec107574 msm: camera: Make use of mutex lock to avoid race condition
Make use of mutex lock to access IOCTL so that two threads
can avoid race condition.

Change-Id: I00db78a42c86eef8a157b5b3547e4ca0006b0853
Signed-off-by: annamraj <annamraj@codeaurora.org>
2017-07-25 22:36:12 -07:00
Linux Build Service Account
9f462e8a2b Merge "spcom: ignore CONNECTED notification while closing the channel" 2017-07-25 15:29:50 -07:00
Linux Build Service Account
16708b0614 Merge "msm: vidc: retain clock rate across power suspend/resume" 2017-07-25 15:29:49 -07:00
Linux Build Service Account
041974cf88 Merge "ARM: dts: msm: Add intermediate voting for DDR in memlat for sdm630" 2017-07-25 15:29:48 -07:00
Linux Build Service Account
139f1cce77 Merge "msm: sensor: Fix to validate the settings size in flash" 2017-07-25 15:29:47 -07:00
Linux Build Service Account
deb3b9d540 Merge "msm: camera: Prevent kernel info leak." 2017-07-25 15:29:46 -07:00
Linux Build Service Account
8682344a22 Merge "ARM: dts: msm: Add pinctrl bindings for msm8998" 2017-07-25 15:29:45 -07:00
Linux Build Service Account
dd657527ba Merge "msm: kgsl: Update total time at right place for accurate GPU busy" 2017-07-25 15:29:44 -07:00
Linux Build Service Account
18c4aab869 Merge "cnss2: Do not deinit MHI right after powerup failure" 2017-07-25 15:29:43 -07:00
Linux Build Service Account
9148aaf7a7 Merge "usb: gadget: Disable USB2 LPM Support" 2017-07-25 15:29:35 -07:00
Linux Build Service Account
dd5d279206 Merge "clk: msm: Fix pll out div programming" 2017-07-25 15:29:32 -07:00
Sameer Thalappil
ddbc617f58 icnss: Set crash state for PDR
For PDR, the crashed state should be set to invoke driver's
PDR/SSR routine rather than the remove routine.

CRs-Fixed: 2082279
Change-Id: I5f5d51c530c563d93eeaf183ee10ac558f5d5a1a
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
2017-07-25 13:45:32 -07:00
Prasanth Kamuju
db6ebef1cb ARM: dts: msm: Add intermediate voting for DDR in memlat for sdm630
The current vote mapping is not sufficient for the most of the
gaming usecases on sdm630. Added intermediate voting in the
current mapping.

CRs-Fixed: 2033301
Change-Id: Ie376a3ce46ccfd31a067dfa93967bb211e9df97a
Signed-off-by: Prasanth Kamuju <pkamuju@codeaurora.org>
2017-07-25 04:47:50 -07:00
Srikanth Uyyala
b2e834cfe1 msm: ispif: fix the OOB read issue
array 'entries' indexed without any conditional check
fix this by checking index against array size.

Change-Id: Ie41890ca26d4a780d13e65ee78b7a4f51f6183ea
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
2017-07-25 15:07:27 +05:30
Amit Blay
3d5f64fe8f ARM: dts: msm: Add qseecom device node on msm8996 lfv platform
Add qseecom device node in guest VM configuration.
This commit adds the device node for the qseecom driver,
and also the reserved memory region for the QSEECOM ION heap.

Change-Id: Ibdf80d080208b5ab8530a1c40ecbccc7298ae89b
Signed-off-by: Amit Blay <ablay@codeaurora.org>
2017-07-25 12:15:36 +03:00
Rahul Sharma
fa90d7b74f msm: ais: sensor: validating the flash initialization parameters
Copying the flash initialization parameters from userspace memory to
kernel memory and in turn checking for the validity of the flash
initialization parameters pointer sent from userspace

Change-Id: I9ecd0a5d320a68ef23fb8dd0d4eaab7f7da5f729
CR fixed: 2059812
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
Signed-off-by: Andy Sun <bins@codeaurora.org>
2017-07-25 16:57:48 +08:00
Amit Blay
3d4f53fccc misc: qseecom: Support qseecom deferred probing
During qseecom driver probing, the ION driver is invoked.
This commit supports the case where the ION driver still hasn't
probed. In that case, the qseecom probing will be deferred, and
retried at a later stage.

Change-Id: Ic780e8fa1d48a9f5b8b98773c034b280475f5fd0
Signed-off-by: Amit Blay <ablay@codeaurora.org>
2017-07-25 00:42:09 -07:00
Linux Build Service Account
a37c10a168 Merge "msm: mdss: sink mode needs to be read from EDID" 2017-07-25 00:36:02 -07:00
Linux Build Service Account
5fd7f75152 Merge "msm: mdss: hdcp2p2: fix check for sink support for HDCP 2.x" 2017-07-25 00:36:01 -07:00
Linux Build Service Account
223b0e823b Merge "msm: mdss: dp: do not program audio registers when DP core is off" 2017-07-25 00:35:58 -07:00
Linux Build Service Account
61edb88454 Merge "Revert "msm: sde: rotator: Enable traffic shaper for 4k@60fps layer"" 2017-07-25 00:35:57 -07:00
Linux Build Service Account
f92449559c Merge "wil6210: send uevent when creating sysfs files" 2017-07-25 00:35:56 -07:00
Linux Build Service Account
d4c5d4c9f0 Merge "esoc: Fix irq unbalance wake disable warning" 2017-07-25 00:35:55 -07:00
Linux Build Service Account
ba7b97eed0 Merge "ASoC: msm: mixer control queue handling in sink stream" 2017-07-25 00:35:46 -07:00
Linux Build Service Account
c4e3783d9c Merge "ASoC: msm: Add FE dai for MultiMedia21 for ASM Loopback" 2017-07-25 00:35:45 -07:00
Linux Build Service Account
64acc911d1 Merge "ASoC: msm: qdsp6v2: Add MultiMedia21 capture and routing" 2017-07-25 00:35:44 -07:00
Linux Build Service Account
863ccc545e Merge "USB: policy_engine: Enable VBUS after VCONN before PE_SRC_Startup" 2017-07-25 00:35:43 -07:00
Linux Build Service Account
3b3a95fafe Merge "soc: qcom: watchdog_v2: update last_pet variable during resume" 2017-07-25 00:35:42 -07:00
Linux Build Service Account
2f6ffceff8 Merge "usb: dwc3: gadget: don't send extra ZLP" 2017-07-25 00:35:41 -07:00
Linux Build Service Account
43a6d43b54 Merge "usb: dwc3: gadget: handle request->zero" 2017-07-25 00:35:40 -07:00
Linux Build Service Account
48f499115e Merge "msm: ais: cpp changes to validate ioctl input" 2017-07-25 00:35:39 -07:00
Linux Build Service Account
6e7835375e Merge "power: smb138x-charger: set buck freq to 700kHz in slave mode" 2017-07-25 00:35:38 -07:00