Commit graph

581773 commits

Author SHA1 Message Date
Zhen Kong
08a969c0e4 crypto: msm: check length before copying to buf in _debug_stats_read
Make sure that `len` is not larger than `count` before copying data
to userspace `buf` in _debug_stats_read().

Change-Id: Iafb7cfa3828653f8c28183c812797c3d9a183da1
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2017-02-01 15:08:22 -08:00
Linux Build Service Account
af883d4db0 Merge "qcom: fg-util: Fix possible race condition in debugfs" 2017-01-31 14:01:10 -08:00
Linux Build Service Account
f8478b9862 Merge "mmc: sdhci-msm: Update ICE reset register offset for ICE HCI" 2017-01-31 14:01:08 -08:00
Linux Build Service Account
d8dbdec2b2 Merge "mmc: sdhci-msm-ice: Enable ICE HCI if supported" 2017-01-31 14:01:08 -08:00
Linux Build Service Account
cf5b32c293 Merge "defconfig: Enable android-verity and FEC in sdm660" 2017-01-31 14:01:07 -08:00
Linux Build Service Account
1fda242d28 Merge "ASoC: msm: qdsp6v2: extend validation of virtual address" 2017-01-31 14:01:06 -08:00
Linux Build Service Account
ec2c50f78a Merge "ASoC: add missing switch mixer controls" 2017-01-31 14:01:05 -08:00
Linux Build Service Account
477b504fc6 Merge "ASoC: msm: qdsp6v2: fix spurious wakeup from q6asm cmd_wait" 2017-01-31 14:01:04 -08:00
Linux Build Service Account
33fffaf77f Merge "ARM: dts: msm: add power supplies for amoled panel on sdm660" 2017-01-31 14:01:04 -08:00
Linux Build Service Account
e106ce901f Merge "ASoC: msm: Remove i2s_pcm config settings in sdm660" 2017-01-31 14:01:03 -08:00
Linux Build Service Account
f413e767d0 Merge "ARM: dts: msm: Add PM support for sdm630" 2017-01-31 14:01:02 -08:00
Linux Build Service Account
bde58b49e0 Merge "net: rmnet_data: Optimized GRO for single flow" 2017-01-31 14:01:01 -08:00
Veerabhadrarao Badiganti
8265e5eb2f mmc: sdhci-msm: Update ICE reset register offset for ICE HCI
SDHC v5.0 onwards the ICE reset register offset got updated.
Update the register offset based on the SDHC version.

Change-Id: I9c1250460cddf72837446b54fe03e3c52f11b234
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-01-31 20:51:19 +05:30
Veerabhadrarao Badiganti
92907bcb94 mmc: sdhci-msm-ice: Enable ICE HCI if supported
Check if the SDHC has ICE HCI support. If support is present,
enable the cryptoghrapic support inside SDHC.

Also ensure that it is re-enabled after SDHC is reset.
By default ICE HCI is disabled.

Change-Id: I43a65279088d70b415c396bc3e51e0e510bb7f9c
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-01-31 20:50:00 +05:30
Linux Build Service Account
a874c1606f Merge "soc: qcom: make debugfs support configurable for kryo l2 accessors driver" 2017-01-31 04:42:36 -08:00
Linux Build Service Account
db4204cf52 Merge "ARM: dts: msm: add battery profile for ascent 2800mah battery" 2017-01-31 04:42:35 -08:00
Linux Build Service Account
ffbe81b2ed Merge "ASoC: msm: Fix invalid pdata access after kfree" 2017-01-31 04:42:34 -08:00
Linux Build Service Account
22369c78bc Merge "usb: gadget: Add snapshot of CCID function driver" 2017-01-31 04:42:33 -08:00
Linux Build Service Account
1480b6a1a1 Merge "ARM: dts: msm: Add Nfc device to sdm660" 2017-01-31 04:42:32 -08:00
Linux Build Service Account
0a7b7fc131 Merge "mmc: sdhci-msm: Disable controller clocks in suspend" 2017-01-31 04:42:31 -08:00
Linux Build Service Account
b2179ceb0e Merge "msm_vidc: Disable DCVS in thumbnail mode" 2017-01-31 04:42:30 -08:00
Linux Build Service Account
c00bc44b4b Merge "msm: vidc: Disable port reconfig for thumbnail session" 2017-01-31 04:42:30 -08:00
Linux Build Service Account
f2ab5923b1 Merge "ASoC: wcd: Fix ADSP based SVA mode detection failures" 2017-01-31 04:42:29 -08:00
Linux Build Service Account
7949ac69d2 Merge "ASoC: wcd9xxx: check gpio pinctrl state in wcd9xxx_reset" 2017-01-31 04:42:28 -08:00
Linux Build Service Account
ac0b19ff2c Merge "ARM: dts: msm: modify sound node for sdm660 qrd skus" 2017-01-31 04:42:27 -08:00
Adinarayana Gupta Grandhi
7c57d5dd20 defconfig: Enable android-verity and FEC in sdm660
Enable the android verity device and support for
forward error correction.

Change-Id: I37c74d748f45bd5b5a0ac6b55c6709f662498433
Signed-off-by: Adinarayana Gupta Grandhi <agrandhi@codeaurora.org>
2017-01-31 04:37:34 -08:00
Laxminath Kasam
9a4f615fca ASoC: msm: Remove i2s_pcm config settings in sdm660
I2S_PCM config as per SDM architecture is taken
care in LPAIF. It is not required to set any LPAIF
register to config I2s or PCM mode from Apps side.
Remove the code related to i2s_pcm config.

Change-Id: Ic8217b6dc178a7248979e7c2ca183286597112ad
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-01-31 15:36:55 +05:30
Raju P.L.S.S.S.N
67b984c116 ARM: dts: msm: Add PM support for sdm630
Add initial PM configuration necessary for SPM, LPM, MPM,
RPM stats to support SDM630.

Change-Id: I2e9ab91d8b0240a75198e489663ff794be3ee7ec
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
2017-01-31 14:05:13 +05:30
Ashish Garg
f36d9e9024 ARM: dts: msm: add power supplies for amoled panel on sdm660
Add LAB/IBB/OLEDB entries for supporting amoled panel on
sdm660.

Change-Id: I12b0f8d626d9c30a071b1877b9b9135a0ea83368
Signed-off-by: Ashish Garg <ashigarg@codeaurora.org>
Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
2017-01-31 11:57:04 +05:30
Kaushal Kumar
2f5ead45f5 soc: qcom: make debugfs support configurable for kryo l2 accessors driver
Add config option to enable/disable l2 indirect access debug capability.
The driver exposes l2 indirect access debugfs interface to get/set data,
address, and target cpus so keep it disabled by default.

Change-Id: I22f84d16a3bf12a78295f2d052bb50e90d6f2a8b
Signed-off-by: Kaushal Kumar <kaushalk@codeaurora.org>
2017-01-31 11:46:26 +05:30
Sayali Lokhande
283e8d1b93 mmc: sdhci-msm: Disable controller clocks in suspend
Generally, during card suspend we call mmc_power_off
and disable controller clocks.
Now consider below sequence of events :
suspend -> resume -> suspend.
1) During first platform suspend, mmc_power_off will
be called and clocks would be disabled.
2) As a part of platform resume, we enable controller
clocks and defer card resume when
MMC_BUSRESUME_NEEDS_RESUME flag is set.
3) During next suspend we check if card is already
suspended (i.e MMC_BUSRESUME_NEEDS_RESUME is set)
and return without doing actual suspend (where we
call mmc_power_off and disable controller clocks).

So in this scenario, controller clocks will remain ON
even though card state is SUSPENDED.

Fix this by disabling controller clocks during suspend
if controller clock was ON.

CRs-Fixed: 1088893
Change-Id: Id54a15d7f6a7131dab609eec1db158c64ada83ce
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2017-01-30 22:03:09 -08:00
Linux Build Service Account
42e1251b38 Merge "smb-lib: disable APSD run on CC while APSD is disabled" 2017-01-30 20:16:01 -08:00
Linux Build Service Account
15632ada36 Merge "msm: isp: Recover VFE when epoch mismatch happens" 2017-01-30 20:16:00 -08:00
Linux Build Service Account
9787f5c3c1 Merge "ARM: dts: msm: update cpufreq node for SDM660 target" 2017-01-30 20:15:59 -08:00
Nicholas Troast
88b334d041 smb-lib: disable APSD run on CC while APSD is disabled
CC can debounce several times while VBUS is present and if APSD is
disabled the APSD result will be unknown. Disable APSD run on CC
debounce when APSD is disabled so the APSD result will not be reset in
this case.

Change-Id: Ia0b18605ea7d51aab0426bc7ad7c873152f42dc7
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2017-01-30 14:52:33 -08:00
Linux Build Service Account
ea4719da1f Merge "ath10k: Add htt tx/rx layer changes for WCN3990 target." 2017-01-30 07:05:36 -08:00
Linux Build Service Account
f9500f4705 Merge "msm: kgsl: Fix incomplete IB2 dump in the snapshot" 2017-01-30 07:05:35 -08:00
Linux Build Service Account
9b80f2b723 Merge "ARM: dts: msm: add truly 1080p panel support for sdm660" 2017-01-30 07:05:34 -08:00
Linux Build Service Account
e3e2337e47 Merge "ARM: dts: msm: Add qrng device node for SDM630" 2017-01-30 07:05:32 -08:00
Linux Build Service Account
ba93fbf5f0 Merge "ufs: add additional sync between ice work queue and pending request" 2017-01-30 07:05:31 -08:00
Linux Build Service Account
d9f73b621e Merge "msm: kgsl: Check GPMU presence before accessing power counters" 2017-01-30 07:05:30 -08:00
Linux Build Service Account
7b317a25ea Merge "wil6210: fix QCA_WLAN_VENDOR_ATTR_FREQ attribute ID" 2017-01-30 07:05:29 -08:00
Linux Build Service Account
e1d0109fdc Merge "adreno_tz: Correct tz_buf pointer type to correct pointer arithmetic" 2017-01-30 07:05:28 -08:00
Linux Build Service Account
520c2d8947 Merge "ARM: dts: msm: change ref threhold to 184K in sdm660" 2017-01-30 07:05:27 -08:00
Linux Build Service Account
f3b8923a2c Merge "ARM: dts: msm: Disable WSA for internal codec SDM660" 2017-01-30 07:05:26 -08:00
Linux Build Service Account
e1e1ad0592 Merge "ath10k: Add host/target CE config and services for WCN3990" 2017-01-30 07:05:24 -08:00
Linux Build Service Account
79e80bf58b Merge "ASoC: msm: Update WCD934X RX and TX Slim channels" 2017-01-30 07:05:24 -08:00
Linux Build Service Account
3ed889b39e Merge "sched: set LBF_IGNORE_PREFERRED_CLUSTER_TASKS correctly" 2017-01-30 07:05:23 -08:00
Linux Build Service Account
564fc4f080 Merge "scsi: ufs: validate input args to queuecommand" 2017-01-30 07:05:22 -08:00
Linux Build Service Account
31a533f0a9 Merge "ARM: dts: msm: Add BCL mitigation configuration for sdm630" 2017-01-30 07:05:21 -08:00