Commit graph

583724 commits

Author SHA1 Message Date
Linux Build Service Account
cd59564d4f Merge "mm: fix kcompactd hang during memory offlining" 2017-02-25 01:09:41 -08:00
Linux Build Service Account
7e6c1371c9 Merge "mm: wake kcompactd before kswapd's short sleep" 2017-02-25 01:09:40 -08:00
Linux Build Service Account
fedfb30bbd Merge "mm, kswapd: replace kswapd compaction with waking up kcompactd" 2017-02-25 01:09:39 -08:00
Linux Build Service Account
053c4faad0 Merge "clk: qcom: Enable safe configuration for ahb clock source" 2017-02-25 01:09:38 -08:00
Linux Build Service Account
3b06e0b440 Merge "clk: qcom: clk-rcg2: Correct the erroneous RCG configuration during enable" 2017-02-25 01:09:37 -08:00
Linux Build Service Account
c231b49012 Merge "ARM: dts: msm: correct maximum PM8998 S13 voltage for msm8998v2" 2017-02-25 01:09:36 -08:00
Linux Build Service Account
b66a433427 Merge "defconfig: mfd: Enable REGMAP_ALLOW_WRITE_DEBUGFS for SDM660" 2017-02-25 01:09:35 -08:00
Linux Build Service Account
22c277e625 Merge "mhi: core: power management redesign" 2017-02-25 01:09:34 -08:00
Linux Build Service Account
0845c678f2 Merge "checkpatch: accept qca.qualcomm email addresses" 2017-02-25 01:09:29 -08:00
Linux Build Service Account
1774aa59ef Merge "soc: qcom: msm_smem: Fix uninitialized variable usage" 2017-02-25 01:09:28 -08:00
Linux Build Service Account
8f0acd2665 Merge "regulator: qpnp-labibb: Add support for notifier callback" 2017-02-25 01:09:27 -08:00
Linux Build Service Account
44ab13e7e1 Merge "ARM: dts: msm: Enable support for LPM Errata feature on sdm660" 2017-02-25 01:09:26 -08:00
Linux Build Service Account
f541603b71 Merge "ARM: dts: msm: Update LPM parameter values for sdm660" 2017-02-25 01:09:24 -08:00
Linux Build Service Account
93f94eb866 Merge "ARM: dts: msm: add support for msm8998 QRD HDK board" 2017-02-25 01:09:24 -08:00
Ray Zhang
51766baf78 drm/msm: add hdmi audio support for sde kms
Add the specific audio driver for SDE HDMI including
audio ACR and InfoFrame programming.

CRs-Fixed: 2010135
Change-Id: I24a76e4f41aad976d5215b68f6f7f00d1bbb3de0
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2017-02-25 13:54:20 +08:00
Hemant Kumar
82f2935616 usb: gadget: f_mass_storage: Allow USB LPM upon ep disable
Upon cable disconnect, there is a possibility of USB LPM
before file-storage thread run to completion. This causes
ep dequeue to fail and results into thread to block for
ever. Prevent this situation by incrementing power usage
count on gadget parent upon ep enable and decrement it
upon ep disable and allow USB LPM after that.

Change-Id: Ic3633320de6ebef912bdaeac305b3dd0df3eb8e0
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2017-02-24 17:46:39 -08:00
Sujeev Dias
bdfe181b25 mhi: core: Mark unprocessed events as STALE
MHI clients permitted to reset channels asynchronous
to pending data. It's possible after channel reset
there are pending events for that particular channel.
Mark all those events as stale, such that MHI event
process thread will ignore them.

CRs-Fixed: 1074226
Change-Id: I86547aa2c5d7ad5095807cfe87378f5540c05a66
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2017-02-24 14:54:16 -08:00
Sujeev Dias
8339f2fd20 mhi: core: power management redesign
In order to support subsystem restart, and
link down recovery, redesign mhi power
management state machine.

CRs-Fixed: 1081654
Change-Id: I3005b829bfdea1d3e9f086676c446b62b5d30d0b
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2017-02-24 14:54:11 -08:00
Sungjun Park
d28b85777a bluetooth: Fix slimbus shutdown sequence
During slimbus shutdown process, registered codec
driver callback has been implemented in wrong seqeunce.
So, it causes audio data overflow and impact on next
audio streaming. To correct the sequence, slimbus port
disable routine should be performed when WCN codec shutdown
callback is called.

Change-Id: Id6ef22c34066adbb5b28bc31e605776c467bf03c
Signed-off-by: Sungjun Park <sjpark@codeaurora.org>
2017-02-24 12:04:27 -08:00
Linux Build Service Account
98094e2149 Merge "ath10k: fix copyright year for copy engine driver" into msm-4.4 2017-02-24 11:52:13 -08:00
Prasad Sodagudi
f522e34fed defconfig: msm: Enable ARM64_STRICT_BREAK_BEFORE_MAKE flag.
Eneable config ARM64_STRICT_BREAK_BEFORE_MAKE flag to detect
break-before-make violations in set_pte and print a warning.

Change-Id: I6401e447f5b2e4ddde666fe4f0a7ff7c01a32b44
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2017-02-24 09:42:53 -08:00
Will Deacon
2845235d53 arm64: mm: allow enforcing of strict break-before-make for page tables
The ARM ARM strongly recommends using break-before-make when updating
page table entries in the following circumstances:

  * A change of the memory type.
  * A change of the cacheability attributes.
  * A change of the output address (OA), if the OA of at least one of
    the old translation table entry and the new translation table entry
    is writable.

This patch adds a debug option to the kernel so that we can detect
break-before-make violations in set_pte and print a warning.

Change-Id: I038fd175d880355419b0795bf9967efea767e681
Git-commit: 07eea9d556ab76995119f0d034cf5f8280be278f
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2017-02-24 09:42:33 -08:00
Prasad Sodagudi
dde29fdd40 arm64: Disable KASAN in uwwind_frame
There is chance of unwinding stack of other task
and that task may be executing on other CPU simultaneously.
If the other task which is getting unwind may be executing
on other cpu, KASAN warning would get printed due stack
changes. So disable kasan in unwind_frame while accessing
other stack frames.

Change-Id: I25107f44e102414cf36e50e0b215a207ae5462d1
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2017-02-24 09:14:38 -08:00
Jordan Crouse
e156e57d83 drm/msm: Add BACKLIGHT_CLASS_DEVICE as a dependency
One of the SDE files requires BACKLIGHT_CLASS_DEVICE so make sure it
gets selected in the Kconfig.

Change-Id: Ic0dedbadc5bca3ea536d94d54e3683d656bd4aba
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-24 08:58:54 -07:00
Sujeev Dias
cfd091a9bb ARM: dts: msm: mhi_uci: Enable MHI TF Channels
Enable MHI TF channels 22, and 23 for
unit testing.

CRs-Fixed: 1024980
Change-Id: I38a01b25fdd3b4b330e0925cb762ec9747b31fa4
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2017-02-24 07:39:03 -08:00
Laxminath Kasam
b05d6bd9aa ASoC: msm: Update configs for speaker protection on sdm660
In speaker protection config, default setting uses
4 channels for RX. Update INT4_MI2S hostless session
config with 4 channels to match with speaker protection
config and avoid hw params failure.
As soundwire codec VI sense capture can support
8k and 48k sampling rates, use 48k sample rate as
V/I sense data captured is in sync with playback data
with this sampling rate.

CRs-Fixed: 2003278
Change-Id: I60e3a541096658e28862de70f59ee11b119e37ce
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-02-24 19:39:53 +05:30
Laxminath Kasam
ac0a983dae ASoC: msm_sdw: Add 48k TX VI sense sampling rate support
To capture VI sense from soundwire codec to LPASS AFE,
add 48k sampling rate support. Currently 8k sampling rate
record from soundwire codec to LPASS AFE shows distorted
data. Fallback to use 48k sampling rate which is supported
from soundwire codec and LPASS AFE speaker protection module
and V/I sense captured is in sync with playback data.

CRs-Fixed: 2003278
Change-Id: Ibb266094e288cc9341f5da7f569e07e9ae8d03df
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-02-24 19:34:53 +05:30
Laxminath Kasam
b7f73d188d ASoC: wsa881x: Add retry logic for temperature read
When temperature read happens, swr logical address
query failing sometimes and next retry is successful.
Add retry logic to handle this.
Also, temperature result can be out of range,
add retry of 3 attempts with 20ms gap to handle this.

CRs-Fixed: 2003278
Change-Id: Ie1b91d181e07d293864ea82d8b09419cc32e0854
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-02-24 19:34:46 +05:30
Tirupathi Reddy
844f4ec03b clk: qcom: osm: program SEQ_REG32 unconditionally
Program SEQ_REG32 unconditionally with the L_VAL corresponding to
the first virtual corner with MEM ACC level 3.

CRs-Fixed: 2011483
Change-Id: I3b8a5bed2c78f0f5f3aae22c4a58c57b75ddf3bb
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-02-24 18:11:20 +05:30
Amit Nischal
7d08417887 clk: msm: clock-mmss-8998: Update frequency plan for byte/pixel clock
The byte and pixel clock max frequency level has been updated to new
values, so update the same.

Change-Id: I5451c03b29a3b28e7363923896bc4836dbcd6e61
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
2017-02-24 17:42:52 +05:30
Deepak Kumar
65d3a21cad ARM: dts: msm: Update GFX PM-QoS values for SDM660
Update GFX PM-QoS entries according to the measured
LPM latencies for SDM660.

Change-Id: I8f7e8141c4a5d2cae380a0af51dec8c29e683594
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2017-02-24 16:24:13 +05:30
Deepak Kumar
e5f964228d msm: kgsl: Use init_utsname() instead of ustname() for kernel build info.
Using per uts namespace utsname() for kernel build information section
in snapshot dump was causing a kernel panic because it is accessing a
NULL nsproxy pointer. nsproxy was null because corresponding user task
got SIGKILL which triggered call to free_nsproxy. The patch fixes the
issue by using the global init_utsname() which is always valid.

Change-Id: I13b1b07557794a7fcedf0c9e6acfd3406fbb8989
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2017-02-24 12:06:16 +05:30
Rakesh Pillai
badbe74a32 ath10k: fix copyright year for copy engine driver
Revert back the copyright year of third party file.

CRs-Fixed: 2009450
Change-Id: I2ca345632c70bc6b795ae6197663be68599eb0c4
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
2017-02-23 21:43:40 -08:00
Linux Build Service Account
f419890fd6 Merge "smb138x: support ship mode" 2017-02-23 21:36:01 -08:00
Linux Build Service Account
4a493082aa Merge "drm/msm: mdp5: Correctly return ERR_PTR for mdp5_cfg_init" 2017-02-23 21:36:00 -08:00
Linux Build Service Account
2cd7103b29 Merge "msm: ipa3: halt modem channels as part of SSR" 2017-02-23 21:35:59 -08:00
Linux Build Service Account
c110184f50 Merge "msm: gsi: add support for generic commands" 2017-02-23 21:35:58 -08:00
Linux Build Service Account
53d85c3a8f Merge "ARM: dts: msm: enable watchdog for sdm630" 2017-02-23 21:35:57 -08:00
Linux Build Service Account
d3462b2761 Merge "drivers: dma-removed: page align size on free" 2017-02-23 21:35:57 -08:00
Linux Build Service Account
e1ddced4d7 Merge "defconfig: add cti config with save-restore disable for perf of sdm660" 2017-02-23 21:35:55 -08:00
Linux Build Service Account
b1fe14f458 Merge "ARM: dts: msm: Add LMH DCVSh mitigation support for KTM for sdm630" 2017-02-23 21:35:54 -08:00
Linux Build Service Account
66e280eb07 Merge "ARM: dts: msm: Enable LMH DCVSh driver for sdm630" 2017-02-23 21:35:54 -08:00
Linux Build Service Account
17ec241c6c Merge "soc: qcom: pil: Clear elf region on authentication failure" 2017-02-23 21:35:53 -08:00
Linux Build Service Account
9c2a8d5241 Merge "supply: qcom: battery: re-split FCC when ICL changes" 2017-02-23 21:35:52 -08:00
Linux Build Service Account
970eca3801 Merge "msm: mink: Separate out transport and client error" 2017-02-23 21:35:51 -08:00
Linux Build Service Account
2dd610f4a0 Merge "ARM: dts: msm: enable SSC based sensors for SDM630 MTP/CDP" 2017-02-23 21:35:51 -08:00
Linux Build Service Account
61284d06be Merge "ARM: dts: msm: Add SMB1351 device node for SDM660 QRD" 2017-02-23 21:35:50 -08:00
Linux Build Service Account
4c57c4181c Merge "ARM: dts: msm: changing memlat vote for min freq on SDM660" 2017-02-23 21:35:49 -08:00
Linux Build Service Account
4da238cbed Merge "ARM: dts: msm: Add touch device node for HDK835" 2017-02-23 21:35:48 -08:00
Linux Build Service Account
791f50a09d Merge "ARM: dts: msm: Enable support for GLINK QOS feature on msm8998" 2017-02-23 21:35:48 -08:00