Commit graph

591307 commits

Author SHA1 Message Date
Dhoat Harpal
dcff893174 soc: qcom: glink: Remove magic number logic
Possible use after free issue while accessing magic number,
if the ctx is already freed.

Magic number check is removed.

CRs-Fixed: 2061287
Change-Id: Ie157a930c7eb310829766319e0af742114337e6c
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2017-06-23 20:40:16 +05:30
Linux Build Service Account
e5b8aadd07 Merge "drm: msm: add support for a custom hotplug event" 2017-06-22 23:41:17 -07:00
Linux Build Service Account
f8c31265f8 Merge "soc: qcom: sleepstate: Enable/Disable IPCRTR wakelocks" 2017-06-22 23:41:16 -07:00
Linux Build Service Account
3d7828b335 Merge "thermal: qpnp-adc-tm: Fix shutdown path for ADC_TM" 2017-06-22 23:41:15 -07:00
Linux Build Service Account
c9b4dc7067 Merge "Merge branch 'android-4.4@e76c0fa' into branch 'msm-4.4'" 2017-06-22 23:41:14 -07:00
Linux Build Service Account
a21b8a6a89 Merge "drm/msm: add PLL_ENABLE property to support clock recovery" 2017-06-22 23:41:10 -07:00
Linux Build Service Account
8f79480709 Merge "ath10k: Add interface combinations for wcn3990" 2017-06-22 23:41:09 -07:00
Linux Build Service Account
2277a4c12d Merge "ASoC: msm: qdsp6v2: Remove size checks when finding ADM cal" 2017-06-22 23:41:08 -07:00
Linux Build Service Account
50947ee8ec Merge "ARM: dts: msm: Update temperature threshold limits for EA for 8998/660/630" 2017-06-22 23:41:07 -07:00
Linux Build Service Account
93202f2f62 Merge "msm: vidc: Scale clocks with inst load during dcvs setup period" 2017-06-22 23:41:06 -07:00
Linux Build Service Account
cb75f7e5b7 Merge "qcom: scm: Remove inputs printing from scm_call2_atomic" 2017-06-22 23:41:05 -07:00
Linux Build Service Account
6c27d8d8b7 Merge "usb: core: Add support to handle multi config audio device" 2017-06-22 23:41:03 -07:00
Linux Build Service Account
c7572d54ad Merge "qseecom: use strnlen in qseecom_start_app" 2017-06-22 23:41:02 -07:00
Linux Build Service Account
dcfdefb70a Merge "power: qcom: qpnp-fg-gen3: add missing break in switch statement" 2017-06-22 23:41:01 -07:00
Linux Build Service Account
7ebaed16ad Merge "soc: qcom: glink: Move tx_info allocation in beginning" 2017-06-22 23:41:00 -07:00
Linux Build Service Account
9a7d7cda15 Merge "ARM: dts: msm: Remove HDMI hotplug feature for msm8996 ADP" 2017-06-22 23:40:59 -07:00
Linux Build Service Account
8b2a2a4d4f Merge "drm/msm: gracefully handle NULL return from setup_pagetable()" 2017-06-22 23:40:58 -07:00
Ramakrishnan Ganesh
4fb87c366b soc: qcom: sleepstate: Enable/Disable IPCRTR wakelocks
The acquiring of wakelock prevents the system from entering
suspend for high frequency non-wakeup sensor requests. With
the change IPCRTR now does not acquire a wakelock while cpu
is out of suspend. This allows the cpu to enter suspend.
The wakelocks are enabled in the suspend path so that future
wakeup capable sensor events gets handled without issues.
The wakelocks are disabled post resume from suspend.
This change affects only the data on the SLPI edge.

Change-Id: Iae3dafb735bfb0d3000487f2fa2216d68e9a026f
Signed-off-by: Ramakrishnan Ganesh <ramakris@codeaurora.org>
2017-06-22 17:57:53 -07:00
Tatenda Chipeperekwa
0aedc43f0b drm: msm: add support for a custom hotplug event
Add support for a custom hotplug event that is triggered when the
status of the connector has changed. The event string of the
custom event will be in the following format:
	"name=<connector name> status=<connector status>"
For example, when the DisplayPort connector has its status
updated to connected then the event string that is used as part
of the hotplug event will be as follows:
	"name=DP-1 status=connected"
If the connector name is not known or is invalid at the time that
the event is triggered then the name will be reported as "unknown".

Change-Id: I5d6164d1e8e651cb05527733d68fa86fefb9e6ce
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-22 17:11:45 -07:00
Linux Build Service Account
db478ca29d Merge "Revert "msm: kgsl: Offload mementry destroy work to separate thread"" 2017-06-22 14:00:22 -07:00
Linux Build Service Account
af39cfe11e Merge "sched: avoid migrating when softint on tgt cpu should be short" 2017-06-22 14:00:20 -07:00
Linux Build Service Account
47f3f67114 Merge "arm64: dma-mapping: fix aliasing issues with non-CMA alloc" 2017-06-22 14:00:19 -07:00
Linux Build Service Account
146cbfce78 Merge "mmc: sdhci-msm: Don't turnoff Vcc during initialization" 2017-06-22 14:00:18 -07:00
Linux Build Service Account
1cbfeeaf0d Merge "power: smb-lib: Add support to detect weak charger" 2017-06-22 14:00:17 -07:00
Linux Build Service Account
01cff86d50 Merge "soc: qcom: glink: Move tx_wakeup_worker to rx tasklet" 2017-06-22 14:00:16 -07:00
Linux Build Service Account
356730a45b Merge "diag: Update msg mask tables for new SSID" 2017-06-22 14:00:14 -07:00
Linux Build Service Account
9419a8a284 Merge "drm/msm: Move memptrs to msm_gpu and reorganize" 2017-06-22 14:00:12 -07:00
Linux Build Service Account
17ca958bf3 Merge "icnss: fix the memory and kernel info leak due to the race condition" 2017-06-22 07:40:35 -07:00
Linux Build Service Account
fb2390c8b1 Merge "msm: kgsl: convert some workqueues to use kthreads." 2017-06-22 07:40:34 -07:00
Linux Build Service Account
e26d095a21 Merge "power: smb-lib: Rearrange BOOST_BACK voting logic" 2017-06-22 07:40:33 -07:00
Linux Build Service Account
4f317411a4 Merge "msm: vidc: Recompute extradata address of buffers with ref 2" 2017-06-22 07:40:31 -07:00
Linux Build Service Account
d9cc5d555c Merge "msm: vidc: Renaming the AU-Delimiter params/extens" 2017-06-22 07:40:30 -07:00
Linux Build Service Account
c515c98cc0 Merge "msm: camera: validate num_streams in stream_cfg_cmd before using it" 2017-06-22 07:40:29 -07:00
Linux Build Service Account
86d96e09c2 Merge "ARM: dts: msm: Update sensor device node for SDM660 QRD" 2017-06-22 07:40:28 -07:00
Linux Build Service Account
4bdee99442 Merge "ath10k: Increase peer delete response wait to 500msec" 2017-06-22 07:40:27 -07:00
Linux Build Service Account
0ae9c77a8c Merge "msm📷 correct stats query out of boundary" 2017-06-22 07:40:26 -07:00
Linux Build Service Account
d519bfb9c1 Merge "clk: qcom: osm: Initialize ACD when the cluster is online" 2017-06-22 07:40:25 -07:00
Linux Build Service Account
f8499f2b5e Merge "ais: refine some code style issues" 2017-06-22 07:40:24 -07:00
Linux Build Service Account
3b2de2e798 Merge "ARM: dts: msm: override initial pwrlevel for MSM8996ProAU" 2017-06-22 07:40:23 -07:00
Linux Build Service Account
4dcf7a50c5 Merge "Merge branch 'android-4.4@6fc0573' into branch 'msm-4.4'" 2017-06-22 07:40:22 -07:00
Linux Build Service Account
a367cb43e4 Merge "wil6210: protect against invalid length of tx management frame" 2017-06-22 07:40:21 -07:00
Linux Build Service Account
b944e8d1e6 Merge "msm: camera: Add error check for cmd in IOCTL." 2017-06-22 07:40:20 -07:00
Linux Build Service Account
7c14b62c88 Merge "drivers: soc: qcom: rpm_stats: Add mutex lock for shared data" 2017-06-22 07:40:19 -07:00
Linux Build Service Account
77a019931a Merge "msm: camera: fix untrusted pointer for power down setting" 2017-06-22 07:40:18 -07:00
Linux Build Service Account
46e4ca524d Merge "msm: ipa3: fix compatibility with ipa_nat driver" 2017-06-22 07:40:17 -07:00
Linux Build Service Account
1184e3d0c4 Merge "msm: sps: Fix race condition in SPS debugfs APIs" 2017-06-22 07:40:16 -07:00
Linux Build Service Account
dcb27d45f0 Merge "msm: camera: fix untrusted pointer for power down setting" 2017-06-22 07:40:15 -07:00
Linux Build Service Account
870d3e21b3 Merge "msm: camera: Use mutex lock to avoid race condition" 2017-06-22 07:40:15 -07:00
Vinayak Menon
1c6a9c9721 arm64: dma-mapping: fix aliasing issues with non-CMA alloc
Cache flush and clearing of logical mapping is done right now
only when the allocation is from CMA, for allocation requests
with DMA_ATTR_STRONGLY_ORDERED or DMA_ATTR_NO_KERNEL_MAPPING
set. Extend this to non-CMA allocations too, to avoid cache
aliasing issues.

Change-Id: I133d34d79665ee7159fe384121e933d7768748c2
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2017-06-22 16:51:33 +05:30
Hareesh Gundu
e98fd46014 Revert "msm: kgsl: Offload mementry destroy work to separate thread"
This reverts commit 281fcb5e18.

To address the issue with the OOMkiller causing to kill the
foreground application.

Change-Id: Ie4c078d706fdf1c13ad45840f72b414ddc37c1d0
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
Signed-off-by: Venkateswara Rao Tadikonda <vtadik@codeaurora.org>
2017-06-22 14:29:10 +05:30