Commit graph

574729 commits

Author SHA1 Message Date
Manoj Prabhu B
43cd01495d ARM: dts: msm: Enable memory allocation for diag on falcon
The new diag client requires additional memory from hlos.
This patch caters to diag memory requirement

CRs-Fixed: 1079523
Change-Id: Ie96470b93d879d2c175f18aef25f3e256cd0a322
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2016-11-07 19:50:20 +05:30
Linux Build Service Account
911e592fdc Merge "icnss: Add ICNSS utility file" 2016-09-11 13:02:24 -07:00
Linux Build Service Account
9ac6506762 Merge "ASoC: msm: qdsp6v2: Fix excessive logging from VOIP driver" 2016-09-11 09:04:06 -07:00
Linux Build Service Account
b9897566ca Merge "cfg80211: Add support for aborting an ongoing scan" 2016-09-11 09:04:05 -07:00
Linux Build Service Account
3856375d06 Merge "cfg80211: Define macro to indicate support for cfg80211 abort scan api" 2016-09-11 09:04:04 -07:00
Linux Build Service Account
4970303a87 Merge "msm: ipa: mhi: add perf vote" 2016-09-11 04:03:38 -07:00
Linux Build Service Account
885abe4b27 Merge "msm: ipa: fix memory leak on QMI" 2016-09-10 23:41:00 -07:00
Yuanyuan Liu
6b6d7f362e icnss: Add ICNSS utility file
Add ICNSS utility file, which provides APIs for getting/setting
WLAN DFS channels.

CRs-Fixed: 1060783
Change-Id: Iae89ce7b26453f9a0ff3214bd5598ee11e181857
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-09-10 17:39:41 -07:00
Linux Build Service Account
c2ab8cf0ae Merge "mdss: display-port: add new sysfs node for 3D mode" 2016-09-10 14:35:08 -07:00
Linux Build Service Account
8bd9feafb1 Merge "drivers: GICv3: remove the rtb logs of gic write and read" 2016-09-10 06:39:14 -07:00
Linux Build Service Account
a2d7b195ec Merge "usb: dwc3-msm: Only set vbus_draw for SDP type" 2016-09-10 06:39:13 -07:00
Linux Build Service Account
5c5e16573d Merge "sched: Move data structures under CONFIG_SCHED_HMP" 2016-09-10 06:39:12 -07:00
Linux Build Service Account
6595d9c1cd Merge "usb: pd: Fix unbalanced vconn regulator disable" 2016-09-10 06:39:12 -07:00
Linux Build Service Account
1acb54a652 Merge "video: adf: zero out mapping data on adf_buffer_map() failure" 2016-09-10 06:39:11 -07:00
Linux Build Service Account
d2286074f3 Merge "soc: qcom: pil: allow to set subsystem firmware name" 2016-09-10 06:39:10 -07:00
Linux Build Service Account
50ad11fb8b Merge "icnss: Add IO reset logic" 2016-09-10 06:39:05 -07:00
Linux Build Service Account
d2f9d1e0e5 Merge "usb: gadget: u_ether: Add missing rx work initialization" 2016-09-10 06:39:04 -07:00
Runmin Wang
2a2c4f8bd9 drivers: GICv3: remove the rtb logs of gic write and read
gic_write/read use write/read_relaxed function which will create
lots of RTB logging. Change the API to no_log version to remove
those RTB logs.

Change-Id: Ide59d8c2753364840f8a2b304ef0c169870c8509
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-09-09 17:46:16 -07:00
Greg Hackmann
6cced823ba video: adf: zero out mapping data on adf_buffer_map() failure
If the following call chain fails

adf_device_post_nocopy() ->
  adf_buffer_map() ->
    dma_buf_attach(); dma_buf_map_attachment()

then the attachment returned by dma_buf_attach() will get cleaned up
twice: first during the error-handling path inside adf_buffer_map(), and
again during the error-handling path inside adf_device_post_nocopy().

Fix this by zeroing out the mapping data inside adf_buffer_map()'s
error-handling path.  When adf_device_post_nocopy() hands it back to
adf_buffer_mapping_cleanup(), it will deliberately skip over zeroed-out
data.

(The second adf_buffer_mapping_cleanup() call inside
adf_device_post_nocopy() is not a bug; it's intended to clean up after
any *other* buffers we handled as part of this request.)

CVE:CVE-2016-3811

Bug: 28025945
Bug: 28279077

Change-Id: I824d980b208da3a15d35f74970755c8f18500263
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Git-repo: https://android.googlesource.com/kernel/msm.git
Git-commit: 4436de7a92d037599e0d217f16f9c391b6ad866a
Signed-off-by: Ravi Kumar Siddojigari <rsiddoji@codeaurora.org>
2016-09-09 16:56:27 -07:00
Jack Pham
abc22dbb35 usb: pd: Fix unbalanced vconn regulator disable
Make sure to only call regulator_disable() on VCONN only if
it was previously enabled, else it could result in an
unbalanced disable state. Subsequent enables would then be
no-ops and the regulator would not actually turn on.

Change-Id: I67a6ad6d2bc036a63714403e2eed8c0577ef0246
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2016-09-09 15:40:54 -07:00
Syed Rameez Mustafa
1389927146 sched: Move data structures under CONFIG_SCHED_HMP
Frequency-demand conversion data structures are only used under
CONFIG_SCHED_HMP. Move them out of sched.h into hmp.c to where they
actually belong after the recent refactor.

Change-Id: I3c3eebca86062f11b80af93ba3716695eb787376
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
2016-09-09 15:35:38 -07:00
Prashanth Bhatta
39e464dffc icnss: Add IO reset logic
Add IO reset logic without which hardware IO freezes.

CRs-fixed: 1062502
Change-Id: I58b05ae64706865a16cc52a1f81e484c396cc6f0
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-09-09 14:34:27 -07:00
Prashanth Bhatta
b0aac0da3d icnss: Enhance debugging capabilities
There are instances of QMI message timeout and because of this
stability issues are seen way after the QMI message failure. To
aid the debugging, enhance the debug capabilities by adding
ASSERT in case of failure.
Also update the logs properly to indicate which message really
failed.

CRs-fixed: 1060274
Change-Id: Ie817970cb10c879d04ffe5e2a853ada8bf8a1f88
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-09-09 14:34:09 -07:00
Amir Samuelov
5a5b5183aa soc: qcom: pil: allow to set subsystem firmware name
Allow the PIL client to set the firmware file name
for a specific subsystem.

Change-Id: Ib410cae212afb067f5df2e5d25f4f23f583ed1f2
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2016-09-09 12:54:32 -07:00
Linux Build Service Account
2590d5faf4 Merge "ARM: dts: msm: update corner switch delay time for msmcobalt v2" 2016-09-09 11:53:18 -07:00
Linux Build Service Account
5ea20de3a5 Merge "clk: msm: clock-osm: update register initialization for msmcobalt v2" 2016-09-09 11:53:17 -07:00
Linux Build Service Account
8aca8d3631 Merge "ARM: dts: msm: Add stub regulator devices for msmfalcon" 2016-09-09 11:53:16 -07:00
Linux Build Service Account
e454f66b6b Merge "diag: Clear masks upon logging exit" 2016-09-09 11:53:16 -07:00
Linux Build Service Account
b4d91ec2d2 Merge "msm-core: debug: Update the number of supported pstates" 2016-09-09 11:53:14 -07:00
Linux Build Service Account
1a563680c4 Merge "msm-core: debug: Fix the number of arguments for sysfs nodes" 2016-09-09 11:53:14 -07:00
Linux Build Service Account
a2fa0f0d22 Merge "input: ft5x06: check return value of kobject_create_and_add" 2016-09-09 11:53:12 -07:00
Linux Build Service Account
272c3ee99c Merge "input: ft5x06: create secure touch sysfs files" 2016-09-09 11:53:11 -07:00
Linux Build Service Account
f479b5032c Merge "clk: msm: clock-osm: Add measurement support for CPU clocks" 2016-09-09 11:53:10 -07:00
Linux Build Service Account
04eb468f0a Merge "defconfig: msm: Enable CONFIG_QCOM_REMOTEQDSS for 32-bit" 2016-09-09 11:53:08 -07:00
Linux Build Service Account
08223d34ed Merge "soc: qcom: glink: Reduce code under spinlock" 2016-09-09 11:53:08 -07:00
Himanshu Aggarwal
501c621ee3 input: ft5x06: check return value of kobject_create_and_add
The Focaltech driver creates a sysfs under sys/kernel/ts_info
to access touch panel details. However, the return value of the
API is not checked properly. Check the return value of the API.
Also avoid making a duplicate copy of the kobject and clean up
the show routine.

Change-Id: Ib36e9d7661ee3d2ce7b229d8692e6212e33cbf36
Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
2016-09-09 03:28:36 -07:00
Abinaya P
d30cccfe22 input: ft5x06: Add support for clocks for secure touch on 8937 QRD
Because of a change in the underlying bus driver, the secure touch
layer in the input drivers is now required to control directly the
clocks which are needed during the touch sessions. The clocks which
are associated with the underlying I2C bus are clk_gcc_blsp1_ahb_clk
and clk_gcc_blsp1_qup3_i2c_apps_clk. These clocks are turned on/off
when the secure touch session is started/ended.

Change-Id: If5abca579e264cc7799310628c4e379ac4368e7e
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
2016-09-09 03:28:28 -07:00
Abinaya P
93d6b9b0b4 input: ft5x06: create secure touch sysfs files
This patch creates two sysfs files for secure touch -
secure_touch and secure_touch_enable which will be
accessed by secure ui app. We also define the store
and show function for these sysfs files.

Change-Id: I4bc156de12a8b41c3640c4f1fb2d32ca3d8b5b43
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
2016-09-09 15:53:54 +05:30
Linux Build Service Account
3dc7ca5e82 Merge "soc: qcom: irq-helper: Add comments to exposed APIs" 2016-09-09 01:26:15 -07:00
Linux Build Service Account
ea31f5c965 Merge "scsi: ufs: export set_bus_vote ops" 2016-09-09 01:26:14 -07:00
Linux Build Service Account
9ff4c51df9 Merge "sched: Further re-factor HMP specific code" 2016-09-09 01:26:13 -07:00
Linux Build Service Account
696d6979fd Merge "defconfig: msm: Add MSMTRITON in defconfigs" 2016-09-09 01:26:12 -07:00
Linux Build Service Account
8363983cc2 Merge "ARM: dts: msm: Add initial device tree files for msmtriton" 2016-09-09 01:26:11 -07:00
Linux Build Service Account
981a0eae00 Merge "ASoC: qdsp6v2: Add proper dependency for audio driver" 2016-09-09 01:26:10 -07:00
Linux Build Service Account
cb8988669c Merge "usb: Add support for reset controller framework" 2016-09-09 01:26:06 -07:00
Linux Build Service Account
492410cee8 Merge "ASoC: utils: initialize dummy_codec before use" 2016-09-09 01:26:05 -07:00
Linux Build Service Account
86e077003f Merge "ASoC: msm: qdsp6v2: check if buf is null before using it" 2016-09-09 01:26:04 -07:00
Linux Build Service Account
e7affe2968 Merge "ASoC: wcd9xxx: check impedance index before use" 2016-09-09 01:26:04 -07:00
Linux Build Service Account
c175473643 Merge "ALSA: timer: check if timer->card is null before using it" 2016-09-09 01:26:03 -07:00
Linux Build Service Account
39dfe0cc0a Merge "misc: qcom: qdsp6v2: initialize config_32" 2016-09-09 01:26:02 -07:00