Commit graph

585440 commits

Author SHA1 Message Date
Linux Build Service Account
04faf39d38 Merge "msm: ADSPRPC: Null check for file session context" 2017-03-21 05:00:48 -07:00
Linux Build Service Account
365271c4d6 Merge "ARM: dts: msm: enable ESD feature for command mode on sdm630" 2017-03-21 05:00:47 -07:00
Linux Build Service Account
4232ab8b56 Merge "drivercore: Avoid adding devices without pm_ops to dpm list" 2017-03-21 05:00:47 -07:00
Linux Build Service Account
8da09d99e9 Merge "soc: qcom: glink_smem_native_xprt: Wakeup tx thread in deferred function" 2017-03-21 05:00:38 -07:00
Linux Build Service Account
124a4c86d1 Merge "btfm: Close 3990 FM tx ports first and keep overflow bit always set" 2017-03-21 05:00:37 -07:00
Linux Build Service Account
a117d5c5be Merge "ARM: dts: msm: Increase memory for diag client on sdm660" 2017-03-21 05:00:36 -07:00
Linux Build Service Account
d9c8e68872 Merge "drivers: msm_lmh_dcvs: Fix unsigned integer overflow error" 2017-03-21 05:00:35 -07:00
Linux Build Service Account
2fbbf07b80 Merge "ath10k: Get WCN3990 mem base from dt node" 2017-03-21 05:00:33 -07:00
Linux Build Service Account
a012178c17 Merge "core_ctl: remove "cpus" sysfs file that prints CPU online status" 2017-03-21 05:00:31 -07:00
Linux Build Service Account
378e65ea2b Merge "ion: blacklist %p kptr_restrict" 2017-03-21 05:00:30 -07:00
Linux Build Service Account
b17f241668 Merge "icnss: Map memory regions passed by firmware" 2017-03-21 05:00:29 -07:00
Linux Build Service Account
bca8938bc5 Merge "android: fiq_debugger: restrict access to critical commands." 2017-03-21 05:00:29 -07:00
Linux Build Service Account
5b00aa454d Merge "msm vidc: Initialise array elements" 2017-03-21 05:00:28 -07:00
Linux Build Service Account
2dd84150c7 Merge "msm vidc: Update flags for secure scaling control" 2017-03-21 05:00:27 -07:00
Linux Build Service Account
12d7eee021 Merge "ARM: dts: msm: Update JPEG bandwidth voting for sdm630 and sdm660" 2017-03-21 05:00:26 -07:00
Linux Build Service Account
25b39c2892 Merge "usb: dwc3: Increase polling interval for set transfer resource ep cmd" 2017-03-21 05:00:25 -07:00
Linux Build Service Account
d839862f49 Merge "msm: camera: isp: use NOMINAL clock for CX iPeak" 2017-03-21 05:00:24 -07:00
Linux Build Service Account
6d1f13e7dd Merge "diag: Update msg, log and event information" 2017-03-21 05:00:23 -07:00
Linux Build Service Account
fda3bc12e7 Merge "iommu/io-pgtable-arm: fix multibit shareability comparison" 2017-03-21 05:00:21 -07:00
Linux Build Service Account
52429e5532 Merge "soc: qcom: secure_buffer: add export symbol hyp_assign_phys" 2017-03-21 05:00:20 -07:00
Linux Build Service Account
6ce9cfcc4e Merge "ath10k: remove the unused code from ath10k snoc driver" 2017-03-21 05:00:19 -07:00
Linux Build Service Account
3892c7568b Merge "msm: gsi: Remove duplicate registers defines" 2017-03-21 05:00:18 -07:00
Linux Build Service Account
a25f36717b Merge "ARM: dts: msm: increase the common cma region on sdm660" 2017-03-21 05:00:17 -07:00
Linux Build Service Account
b465fd1627 Merge "msm: camera: Rate limit debug logs" 2017-03-21 05:00:10 -07:00
Tharun Kumar Merugu
2b36fd66f7 msm: ADSPRPC: Null check for file session context
When any system call is made, before servicing it make sure that the
session context is not null and channel info is valid.

Change-Id: Ieba53b123d6553c5381db9f0b6d57b8f343e6155
Acked-by: Vishnu Karthik D <vikarthi@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
2017-03-20 06:57:56 -07:00
Nick Desaulniers
8eac2dd9db ion: blacklist %p kptr_restrict
Bug: 31494725
Change-Id: I10a0c2aae883dfaa6c235c38689a704064557008
Git-repo: https://android.googlesource.com/kernel/msm.git
Git-commit: b57e736e9991b3d0f85c0870b1eff6310a4baa64
[d-cagle@codeaurora.org: Automatic resolve of merge conflicts]
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
2017-03-20 03:33:11 -07:00
Sravan Kumar Ambapuram
d36bb30811 drivercore: Avoid adding devices without pm_ops to dpm list
Devices without pm_ops are not required to be added in dpm list.
It also helps in improving suspend/resume latencies.

Change-Id: I19a85742fdb6f4d01363b69662ea6d7721a08b3a
Signed-off-by: Sravan Kumar Ambapuram <asravan@codeaurora.org>
2017-03-20 15:32:19 +05:30
Dhoat Harpal
b6bcf8779b soc: qcom: glink_smem_native_xprt: Wakeup tx thread in deferred function
Wakeup of tx thread is done in rx_worker non atomic context. Additionally,
rx_worker also process commands in non atomic context which require tx in
same context. This leads to deadlock situation, if the tx issued from
rx_worker non atomic context result in fifo full and go to sleep.

To avoid this deadlock situation now wakeup is called from a deferred
function.

CRs-Fixed: 2018003
Change-Id: Ibfd12f65340c7ac9a00956a014bc013401223c98
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2017-03-20 15:00:28 +05:30
Mark Salyzyn
3951e7859f android: fiq_debugger: restrict access to critical commands.
Sysrq must be enabled via /proc/sys/kernel/sysrq as a security
measure to enable various critical fiq debugger commands that
either leak information or can be used as a system attack.

Default disabled, this will leave the reboot, reset, irqs, sleep,
nosleep, console and ps commands.  Reboot and reset commands
will be restricted from taking any parameters.  We will also
switch to showing the limited command set in this mode.

Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 32402555
Change-Id: I3f74b1ff5e4971d619bcb37a911fed68fbb538d5
[d-cagle@codeaurora.org: Resolve merge conflict]
Git-repo: https://android.googlesource.com/kernel/msm
Git-commit: 1031836c0895f1f5a05c25efec83bfa11aa08ca9
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
2017-03-20 02:28:42 -07:00
Sandeep Panda
1c44dae0c1 ARM: dts: msm: enable ESD feature for command mode on sdm630
Enable ESD feature for default truly command mode panel on sdm630.
Also increase the escape clock of both command and video mode panel
to avoid DSI PHY related errors seen during ESD enable use case.

Change-Id: Icc6064a9ad2b7aac2699f3161a3f7711933e55f8
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2017-03-20 12:14:05 +05:30
Rupesh Tatiya
9a983b8062 btfm: Close 3990 FM tx ports first and keep overflow bit always set
Close data source ports i.e. wcn3990 tx ports before data sink ports i.e.
AFE for FM tx case. Also, do not set wcn3990 overflow/underflow registers
to 0 during channel disable path. This causes audio loss if audio focus
is lost during FM playback.

Change-Id: Id6c8ee145bf7feb8681851499ba36b708667b4ef
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
2017-03-20 11:55:15 +05:30
Mohit Aggarwal
d3dd42d17c ARM: dts: msm: Increase memory for diag client on sdm660
Currently, memshare allocates 5MB memory to diag client.
This patch increases the memory to 15MB. Also now diag
client will be considered guaranteed to avoid memory
allocation failure on modem SSRs.

Change-Id: I2ac822ef95ab7fbf054fdc80052b8406732f383e
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
2017-03-20 11:38:35 +05:30
Deepak Kushwah
f7ae08fa56 msm vidc: Initialise array elements
Array elements needs to be initialised as the
elements are not initialised by default and may
contain junk data which will lead to unexpected
behaviour.

Change-Id: Ifecb8065b09afcbf11a9dcfbf230403afcdb225d
CRs-Fixed: 2015789
Signed-off-by: Deepak Kushwah <dkushwah@codeaurora.org>
2017-03-19 23:00:35 -07:00
Deepak Kushwah
0e73a64179 msm vidc: Update flags for secure scaling control
Secure scaling control is flagged as volatile which
should not be beacause as per the documentation a volatile
control changes continuously but this control value
is updated from capabilities we got from the firmware
which is not going to change later. Also as this control
is volatile, when we try to get control on this, driver
will try to get control for all the controls which are
flagged as volatile. This might lead to generate session
error as there are some controls which are specific to
codec type but as they are flagged volatile driver will
try to get control for them too and this will trigger
session error from firmware.

Change-Id: I42602eb8e20a6ae5ce90f9dbe938b0503c6a731e
CRs-Fixed: 2015147
Signed-off-by: Deepak Kushwah <dkushwah@codeaurora.org>
2017-03-19 23:00:18 -07:00
Govind Singh
d68630f7bf ath10k: Get WCN3990 mem base from dt node
Add support to get WCN3990 mem base from
device tree node.

Change-Id: I1561dc18577a075bda123429b3e9b89e92a9bfb5
Signed-off-by: Govind Singh <govinds@codeaurora.org>
2017-03-19 21:38:17 -07:00
Govind Singh
87aed5e5d9 ARM: dts: msm: update wcn3990 wlan device node for APQ8998
Add memory regions defined as starting address and size in
wlan module device node for APQ8998.

Change-Id: I76b790f2186d133984997acff5b3faed621f2116
Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-03-19 21:38:06 -07:00
Linux Build Service Account
687a4eb82b Merge "ASoC: sdm660_cdc: Add null check in msm_dig_suspend" 2017-03-19 20:46:21 -07:00
Linux Build Service Account
e3cfe4f4b3 Merge "msm: camera: isp: Initialize or validate variables before use" 2017-03-19 20:46:20 -07:00
Linux Build Service Account
de5618cae1 Merge "clk: qcom: Register gcc debug mux with clock_debug functionality" 2017-03-19 20:46:19 -07:00
Linux Build Service Account
49159cb40c Merge "clk: Move the measure functionality from common clock framework" 2017-03-19 20:46:18 -07:00
Linux Build Service Account
f9cf02e447 Merge "clk: qcom: Move clock debug measure support from common code" 2017-03-19 20:46:17 -07:00
Linux Build Service Account
4ffdf3c600 Merge "deconfig: arm64: enable the laser sensor on msm8998" 2017-03-19 20:46:16 -07:00
Linux Build Service Account
41ad85e5be Merge "input: vl53l0: Enable laser sensor Kconfig and Makefile entries" 2017-03-19 20:46:16 -07:00
Linux Build Service Account
3daf91ef36 Merge "ARM: dts: msm: Add support TOF sensor on msm8998" 2017-03-19 20:46:15 -07:00
Linux Build Service Account
f39a5999e2 Merge "ARM: dts: msm: enable ESD for command mode panel on sdm660" 2017-03-19 12:40:31 -07:00
Linux Build Service Account
f81cdebca6 Merge "mhi: core: process incoming data based on event ring type" 2017-03-19 12:40:29 -07:00
Linux Build Service Account
a81b8bead5 Merge "msm: mdss: dp: Fix DP display issue during device boot time" 2017-03-19 12:40:28 -07:00
Linux Build Service Account
2eb0277a50 Merge "msm: mdss: disable programmable fetch when not in use" 2017-03-19 12:40:28 -07:00
Linux Build Service Account
93be26b574 Merge "firmware: tz_log: Enable asynchronous driver probing" 2017-03-19 12:40:27 -07:00
Krupal Divvela
b3279f7dd2 ARM: dts: msm: Update JPEG bandwidth voting for sdm630 and sdm660
Update correct bandwidth voting for JPEG and JPEGDMA modules,
based on JPEG clock(JPEG clock * 2.5).

CRs-Fixed: 2017755
Change-Id: Iae98f74fa885dc15f4d41c3e69639dd9cad99563
Signed-off-by: Krupal Divvela <kdivvela@codeaurora.org>
2017-03-18 01:58:52 -07:00