Commit graph

588049 commits

Author SHA1 Message Date
Linux Build Service Account
123d4f45f6 Merge "msm: ipa: return error on channel setup failure" 2017-04-25 21:48:45 -07:00
Linux Build Service Account
27ea79a481 Merge "msm: rmnet_ipa: fix security issue" 2017-04-25 21:48:44 -07:00
Linux Build Service Account
8bca4070e5 Merge "defconfig: Enable support for QBT1000 feature" 2017-04-25 21:48:42 -07:00
Linux Build Service Account
47014a127a Merge "spcom: always wait for glink LOCAL_DISCONNECT event after glink_close()" 2017-04-25 21:48:41 -07:00
Linux Build Service Account
1e4ac64015 Merge "wcnss: fix the race condition issue during cal data extraction" 2017-04-25 21:48:41 -07:00
Linux Build Service Account
f3a2f081da Merge "cfg80211: increse bss expire time" 2017-04-25 21:48:40 -07:00
Linux Build Service Account
f9d3e35e35 Merge "mhi: core: allow communication during shutdown" 2017-04-25 21:48:39 -07:00
Linux Build Service Account
330663d26e Merge "msm: sde: Fix kernel crash after stop streaming timeout" 2017-04-25 21:48:36 -07:00
Linux Build Service Account
deb9e834e9 Merge "msm: camera: Fix for NOC error in CCI" 2017-04-25 21:48:35 -07:00
Skylar Chang
763fc04f90 msm: ipa: return error on channel setup failure
Return the correct error code when channel setup fails due
to memory allocation.

Change-Id: If345299532f8d04a543e3c7e535d4a7987661d0e
CRs-Fixed: 2028360
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2017-04-24 15:41:41 -07:00
Sujeev Dias
36603a2a72 mhi: core: allow communication during shutdown
MHI clients allowed to communicate with external
soc via MHI during shutdown. Only disable MHI
communication after receiving shutdown notification.

CRs-Fixed: 2037184
Change-Id: If69f61a244a6175256753dea361085fa5f9afeac
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2017-04-24 08:12:44 -07:00
Linux Build Service Account
048c70075f Merge "sched: Add a check for cpu unbound deferrable timers" 2017-04-24 06:47:54 -07:00
Linux Build Service Account
f9849a4c57 Merge "soc: qcom: Request GFP_NOIO for effective memory reclaim" 2017-04-24 06:47:53 -07:00
Linux Build Service Account
d4966a38bb Merge "clk: qcom: clk-cpu-osm: handle corner cases for APM/MEM-ACC switching" 2017-04-24 06:47:52 -07:00
Linux Build Service Account
39b4e0837f Merge "msm_11ad: reorder registration with memory dump table" 2017-04-24 06:47:51 -07:00
Linux Build Service Account
5e10c8152d Merge "ANDROID: fix acl leaks" 2017-04-24 06:47:50 -07:00
Linux Build Service Account
22efcf6c13 Merge "spcom: use mutex on spcom_unlock_ion_buf()" 2017-04-24 06:47:49 -07:00
Linux Build Service Account
cf8fb0ea2e Merge "soc: qcom: glink: Change GFP_ATOMIC flag for intentless rx" 2017-04-24 06:47:48 -07:00
Linux Build Service Account
8495c8f056 Merge "msm: mdss: fix a warning for unused value" 2017-04-24 06:47:47 -07:00
Linux Build Service Account
c0eb692e36 Merge "msm: mdss: Populate alpha for compat" 2017-04-24 06:47:46 -07:00
Linux Build Service Account
550a9f41ff Merge "ARM: dts: msm: Fix RX sensitivity issue for SSPHY for SDM660" 2017-04-24 06:47:45 -07:00
Linux Build Service Account
250b70e2cf Merge "wcnss: fix the potential memory leak and heap overflow" 2017-04-24 06:47:44 -07:00
Linux Build Service Account
f238d6bc0d Merge "msm: mdss: Separate PP programming to advanced and deferred modes" 2017-04-24 06:47:44 -07:00
Sarada Prasanna Garnayak
bf00f32974 wcnss: fix the race condition issue during cal data extraction
The wcnss platform driver update the wlan calibration data
by the user space wlan daemon. The wlan user space daemon store
the updated wlan calibration data reported by wlan firmware in
user space and write it back to the wcnss platform calibration
data buffer for the calibration data download and update.

During the wlan calibration data extraction there are some potential
race condition which leads to memory leak and buffer overflow during
the context switch. Fix the above issue by adding protection code.

CRs-Fixed: 2015791
Change-Id: I231807f6b2d8094d7138b95c659ed6272897ba2d
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-04-24 01:48:36 -07:00
Tirupathi Reddy
d1a1e24a5c clk: qcom: clk-cpu-osm: handle corner cases for APM/MEM-ACC switching
If the open-loop voltage of the highest virtual corner is
below the APM threshold voltage, then OSM should keep
the APM powered by VDD_MX. Also, if the open-loop voltage
of the lowest virtual corner is greater than or equal to
the MEM-ACC threshold voltage, then OSM should program
MEM-ACC settings for Turbo for all corners. Program SEQ_REGn
registers correctly for these two cases.

CRs-Fixed: 2008715
Change-Id: Id9bc91374245d65adda4db337c4fa34afc8f0af9
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-04-24 12:40:48 +05:30
Linux Build Service Account
0bdf562cc7 Merge "defconfig: msm8998: Use RCU_NOCB for RCU subsystem" 2017-04-23 23:13:01 -07:00
Amir Samuelov
b4968ee80c spcom: use mutex on spcom_unlock_ion_buf()
Only the channel owner app can lock/unlock a channel ion buf.
However, if the app share the ION buf FD with its child tasks,
they might wrongly free the same ion buf twice.
The ion driver panic if a non-valid ION buff handle is provided.

Change-Id: Ia8166df5ea314949090f7e94e90eff3a3ed78b19
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2017-04-23 13:53:27 +03:00
Amir Samuelov
cefed44f00 spcom: always wait for glink LOCAL_DISCONNECT event after glink_close()
Wait for glink LOCAL_DISCONNECT event, even if the channel is not
connected.

Change-Id: I03f20b6dbb2f46d7abd6996e8d298e991cf3f82b
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2017-04-23 03:27:30 -07:00
Linux Build Service Account
6cf6835d96 Merge "msm: mdss: check for audio support before notifying frameworks" 2017-04-21 17:57:37 -07:00
Linux Build Service Account
35cc04df55 Merge "msm: mdss: add debug bus support for dsi block" 2017-04-21 17:57:37 -07:00
Linux Build Service Account
0fc565ebdb Merge "FROMLIST: 9p: fix a potential acl leak" 2017-04-21 17:57:35 -07:00
Linux Build Service Account
038de1e53d Merge "soc: qcom: pil: Avoid possible buffer overflow during Modem boot" 2017-04-21 17:57:35 -07:00
Prasad Sodagudi
883e3ea07e sched: Add a check for cpu unbound deferrable timers
Add a check for cpu unbound deferrable timer expiry and raise
softirq for handling the expired timers so that the CPU can
process the cpu unbound deferrable times as early as possible
when a cpu tries to enter/exit idle loop.

Change-Id: Ieffa74fa22a4d25493f5590b5ac1e0d784fcbbad
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2017-04-21 17:24:12 -07:00
Mark Salyzyn
1cfb211346 ANDROID: fix acl leaks
Fixes regressions associated with commit 073931017b49
("posix_acl: Clear SGID bit when setting file permissions")

Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 32458736
Change-Id: I6ee127dfdf3594d24ccd8560541ac554c5b05eb6
[d-cagle@codeaurora.org: Resolve merge conflicts]
Git-repo: https://android.googlesource.com/kernel/msm/
Git-commit: 74d0e4d3d96d0ca82d39635318a69d55e966b767
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
2017-04-21 11:11:43 -07:00
Cong Wang
bea6f1c779 FROMLIST: 9p: fix a potential acl leak
(https://lkml.org/lkml/2016/12/13/579)

posix_acl_update_mode() could possibly clear 'acl', if so
we leak the memory pointed by 'acl'. Save this pointer
before calling posix_acl_update_mode() and release the memory
if 'acl' really gets cleared.

Reported-by: Mark Salyzyn <salyzyn@android.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Greg Kurz <groug@kaod.org>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@sandia.gov>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Bug: 32458736
Change-Id: Ia78da401e6fd1bfd569653bd2cd0ebd3f9c737a0
Git-repo: https://android.googlesource.com/kernel/msm/
Git-commit: 7c780387c931f63fe67830c817f65c1272512bb1
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
2017-04-21 11:09:12 -07:00
Linux Build Service Account
d44796d6ae Merge "arm: dma-mapping: add iova size alignment check" 2017-04-21 09:41:39 -07:00
Linux Build Service Account
f9da89f3ca Merge "lpm-levels: Select lpm for isolated cpu when sleep is disabled" 2017-04-21 09:41:38 -07:00
Linux Build Service Account
2fcd6d4d01 Merge "arm: dma-mapping: set the proper bitmap size" 2017-04-21 09:41:37 -07:00
Linux Build Service Account
3cbe2d2e4e Merge "staging: android: sync: Limit sync log dumping" 2017-04-21 09:41:36 -07:00
Linux Build Service Account
9b9651811b Merge "ARM: dts: msm: Add dts setting for a530 DRM on msm8996" 2017-04-21 09:41:35 -07:00
Linux Build Service Account
94d3609ffa Merge "iommu: iommu-debug: assign iova space for fastmap client" 2017-04-21 09:41:34 -07:00
Linux Build Service Account
377b645155 Merge "drivers: cpuidle: lpm-levels: add lpm_debug to Minidump" 2017-04-21 09:41:33 -07:00
Linux Build Service Account
c571b68a7c Merge "soc: qcom: Add Minidump support" 2017-04-21 09:41:32 -07:00
Rajkumar Manoharan
74e43f3573 cfg80211: increse bss expire time
The background scan completion takes more time when the station is
having heavy uplink traffic. The scan state machine decides to fall
back to home channel on every off-channel visit when there are pending
frames in tx queue. bgscan completion took ~30sec on dual band US
regulatory card.

scan period = (20 active channels * probe timeout) +
              (12 passive channels * passive probe timeout) +
              (32 * timeout on home channel) +
              (32 * flush timeout)

Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Git-commit: f9616e0f88
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/
jberg/mac80211-next.git
CRs-Fixed: 2036907
Change-Id: I8b57fba12f0d42fa7d01243210206d432fbf9757
Signed-off-by: Padma, Santhosh Kumar <skpadma@codeaurora.org>
2017-04-21 17:34:31 +05:30
Sravan Kumar D.V.N
0afc86cab6 msm: mdss: Separate PP programming to advanced and deferred modes
Deferring all the PP features programming to post pingpong done
in command mode panels causing performance issues in certain
use cases. To fix this, defer only the programming of features
with single buffered registers and program features with double
buffered registers before wait for pingpong.

Change-Id: I6a1e8114b50c558f667bde4db5c0ba57009d6f50
Signed-off-by: Sravan Kumar D.V.N <sravank1@codeaurora.org>
2017-04-21 02:21:25 -07:00
Linux Build Service Account
c30ff10a70 Merge "ARM: dts: msm: Add overlay files for 8998 QRD boards" 2017-04-21 00:37:36 -07:00
Linux Build Service Account
8ab7fc2939 Merge "char: msm_smd_pkt: Add snapshot of SMD packet driver" 2017-04-21 00:37:35 -07:00
Linux Build Service Account
f1a91e13f2 Merge "clk: msm: clock-mmss-8998: Set non_local_children flag for mdp_clk_src" 2017-04-21 00:37:34 -07:00
Linux Build Service Account
c2b5adaf8a Merge "diag: Split data stream for User PDs on LPASS" 2017-04-21 00:37:34 -07:00
Linux Build Service Account
ee129a0667 Merge "ANDROID: ion: Fix uninitialized variable" 2017-04-21 00:37:32 -07:00