Commit graph

591956 commits

Author SHA1 Message Date
Aravind Venkateswaran
8832c1bced msm: mdss: hdcp2p2: fix check for sink support for HDCP 2.x
Current implementation only checks if the sink is HDCP capable.
In addition, it is required that the source also checks for the
HDCP version supported by the sink prior to initiating HDCP 2.x
authentication sequence.

CRs-Fixed: 2062951
Change-Id: I24901202a0abc2ff4336ab9c6c2fd708a53559f2
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2017-07-14 21:46:34 -07:00
Linux Build Service Account
d9fbe4b921 Merge "ARM: dts: msm: Remove WLED short circuit properties for PM660" 2017-07-12 12:47:39 -07:00
Linux Build Service Account
1e6e80aa0e Merge "ARM: dts: msm: Add phy related properties for ethernet on msm8996" 2017-07-12 12:47:38 -07:00
Linux Build Service Account
56c8e3ec0d Merge "defconfig: Disable CGROUP_DEBUG config for msm8998 in perf" 2017-07-12 12:47:37 -07:00
Linux Build Service Account
27ee915218 Merge "msm: kgsl: Use vma_area_struct with proper locks" 2017-07-12 12:47:36 -07:00
Linux Build Service Account
92ccb29455 Merge "cnss2: Set PCIe to D3hot state before suspending PCIe link" 2017-07-12 03:29:34 -07:00
Linux Build Service Account
7438a89b3c Merge "Merge android-4.4@64a73ff (v4.4.76) into msm-4.4" 2017-07-12 03:29:33 -07:00
Linux Build Service Account
d03efe4d51 Merge "ASoC: wsa881x: Assign device number in reset" 2017-07-12 03:29:32 -07:00
Zou Shunxiang
40e39c6095 ARM: dts: msm: Add phy related properties for ethernet on msm8996
Add mdio_bus_id and phy_addr to access phy device
instead of scanning mdio bus. It will reduce time
cost during ethernet driver loading.

Change-Id: Ifb1574d4a68944a087dcafb12bc79098bc3156e4
Signed-off-by: Zou Shunxiang <shunxian@codeaurora.org>
2017-07-11 22:26:24 -07:00
Mohammed Khajapasha
b03fe4c43b defconfig: Disable CGROUP_DEBUG config for msm8998 in perf
Disable CGROUP_DEBUG config for msm8998 in perf defconfig.

Change-Id: Ib321201ea0761548fb26db42d59cad07a08eca85
Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org>
2017-07-12 10:06:15 +05:30
Kiran Gunda
0fd1ce1807 ARM: dts: msm: Remove WLED short circuit properties for PM660
WLED module does not have the SC protection feature on PM660l.
Hence remove the SC properties from the WLED device tree node.

CRs-Fixed: 2071302
Change-Id: I45ea0b7581780988b51ab3665c08d8a67a3ce4d3
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2017-07-12 10:05:23 +05:30
Linux Build Service Account
3629cb733f Merge "drm/msm/sde: Expose the HDR support capability of the chipset" 2017-07-11 17:57:53 -07:00
Linux Build Service Account
d68ac604a3 Merge "net: Kconfig: Add config entry for WLAN QCA6290 chipset" 2017-07-11 17:57:52 -07:00
Linux Build Service Account
69cc51bcab Merge "msm: isp: fix the issue during overflow recovery" 2017-07-11 17:57:51 -07:00
Linux Build Service Account
9a74724cda Merge "USB: phy-msm-qusb-v2: Enable autoresume only when device is connected" 2017-07-11 17:57:51 -07:00
Linux Build Service Account
b0e2239e53 Merge "ARM: dts: msm: Enable ACD functionality for sdm630 CPU rails" 2017-07-11 17:57:50 -07:00
Linux Build Service Account
9165ab4e7a Merge "ASoC: msm_sdw: Move the delay logic inside bulk write loop" 2017-07-11 17:57:49 -07:00
Linux Build Service Account
38c7257a21 Merge "soc: qcom: SCM front-end over QCPE" 2017-07-11 17:57:48 -07:00
Yue Ma
aace9713d6 cnss2: Set PCIe to D3hot state before suspending PCIe link
As per PCIe spec, PCIe link needs to be set to D3hot state before
entering D3cold state.

Change-Id: I68defc4cf29fe88262e92fe8fb934948ad13aef4
CRs-fixed: 2059087
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2017-07-11 14:37:24 -07:00
Yue Ma
022e1f5a20 net: Kconfig: Add config entry for WLAN QCA6290 chipset
WLAN QCA6290 chipset specific changes are featurized under
this config entry.

Change-Id: I9283ea5dcac702018b2483cdcd4aea254e96c51a
CRs-fixed: 2071634
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2017-07-11 10:36:28 -07:00
Linux Build Service Account
d8ff341d38 Merge "ARM: dts: msm: add wlan carveout region for sdm660/sdm630" 2017-07-11 09:17:36 -07:00
Linux Build Service Account
cd7893663a Merge "staging: android: sync: fix list corruption in fence struct" 2017-07-11 09:17:35 -07:00
Linux Build Service Account
04102f12e1 Merge "soc: qcom: Notify to app pd clients in ind_ack thread" 2017-07-11 09:17:34 -07:00
Linux Build Service Account
9baa4699bd Merge "fs/dcache.c: fix spin lockup issue on nlru->lock" 2017-07-11 09:17:33 -07:00
Linux Build Service Account
940ac391bb Merge "mm/list_lru.c: fix list_lru_count_node() to be race free" 2017-07-11 09:17:32 -07:00
Linux Build Service Account
38b75a6b9f Merge "msm: ipa: fix wrong usage and cleanup dead code" 2017-07-11 09:17:32 -07:00
Linux Build Service Account
cf381e026e Merge "msm: ipa3: Verify IPA client id before using it" 2017-07-11 09:17:30 -07:00
Laxminath Kasam
ddb173d8ad ASoC: msm_sdw: Move the delay logic inside bulk write loop
On consecutive writes in bulk write API, ensure delay
is provided for atleast 100us between each soundwire
master write for WR_DONE status update and reflect
current register value. Also ensure delay in soundwire
master read is present after register address update
and before register value read.

CRs-Fixed: 2035787
Change-Id: I8399c5ca32328abdd4e90b46d6f8d6a6c0225905
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-07-11 03:47:57 -07:00
Linux Build Service Account
e5a68ffaa3 Merge "Merge android-4.4@8c91412 (v4.4.75) into msm-4.4" 2017-07-11 00:40:22 -07:00
Linux Build Service Account
0f0e37eeac Merge "mmc: core: Select HS mode in device first and then in the host" 2017-07-11 00:40:21 -07:00
Linux Build Service Account
d6b4382bc7 Merge "mm/page_alloc: introduce post allocation processing on page allocator" 2017-07-11 00:40:15 -07:00
Linux Build Service Account
329e421aab Merge "mm/page_owner: use stackdepot to store stacktrace" 2017-07-11 00:40:13 -07:00
Linux Build Service Account
11470983e5 Merge "mm/page_owner: introduce split_page_owner and replace manual handling" 2017-07-11 00:40:12 -07:00
Linux Build Service Account
09437acc78 Merge "lib/stackdepot: avoid to return 0 handle" 2017-07-11 00:40:12 -07:00
Linux Build Service Account
dee9c65c16 Merge "lib/stackdepot.c: allow the stack trace hash to be zero" 2017-07-11 00:40:11 -07:00
Linux Build Service Account
79f2b434d4 Merge "mm, kasan: stackdepot implementation. Enable stackdepot for SLAB" 2017-07-11 00:40:11 -07:00
Linux Build Service Account
381c897543 Merge "mm/page_owner: copy last_migrate_reason in copy_page_owner()" 2017-07-11 00:40:10 -07:00
Linux Build Service Account
17ead552c0 Merge "mm/page_owner: add zone range overlapping check" 2017-07-11 00:40:10 -07:00
Linux Build Service Account
038a9502b1 Merge "mm, page_owner: dump page owner info from dump_page()" 2017-07-11 00:40:09 -07:00
Linux Build Service Account
e8b8b04e8e Merge "mm, page_owner: track and print last migrate reason" 2017-07-11 00:40:09 -07:00
Linux Build Service Account
4eaf0330f9 Merge "mm, page_owner: copy page owner info during migration" 2017-07-11 00:40:08 -07:00
Linux Build Service Account
5fd1a48477 Merge "mm, page_owner: convert page_owner_inited to static key" 2017-07-11 00:40:08 -07:00
Linux Build Service Account
b7d16a2978 Merge "mm, page_owner: print migratetype of page and pageblock, symbolic flags" 2017-07-11 00:40:07 -07:00
Linux Build Service Account
ccc6c3b3c8 Merge "ARM: dts: msm: configure GPIO19 on msm8998 for 11ad refclk3" 2017-07-11 00:40:06 -07:00
Linux Build Service Account
1f575ad700 Merge "power: reset: msm: Restore disabling SDI during reset" 2017-07-11 00:40:05 -07:00
Linux Build Service Account
15e4cb50b3 Merge "net: rps: reset backlog state when IPI fails." 2017-07-11 00:40:05 -07:00
Avaneesh Kumar Dwivedi
2427e1bd7d soc: qcom: Notify to app pd clients in ind_ack thread
We have observed race condition between inquiring the remote pd state and
indication call back execution. They run asynchronously so we have no
control on their concurrent execution. So to achieve mutual exclusion,
moving the portion of code which result in race condition to indication
acknowledgment routine. Indication acknowledgment is send in separate
thread context which will avoid race condition.

Change-Id: Ib94f7ef4efd5de63fc8bededcf5cb6ae4ca2c3d8
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
2017-07-10 23:12:25 -07:00
Srikanth Uyyala
da41b1aff9 msm: isp: fix the issue during overflow recovery
When HAL3 is used undelivered requests are stored in request_queue
these requests need to be cleared during overflow recovery.

Change-Id: I733ba127abba8bfb70b3c727c7196adba2cb1973
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
2017-07-11 10:27:04 +05:30
Tirupathi Reddy
a4ca7944f4 ARM: dts: msm: Enable ACD functionality for sdm630 CPU rails
The adaptive clock distribution (ACD) mitigates the impact of
high-frequency supply voltage (VDD) droops on microprocessor
performance. Program ACD functional configuration for both
Silver and Gold clusters of sdm630.

Also set VCTL_RAMP_EN & VCTL_RAMP_EN to 1 in SAW4_AVS_CTL.

CRs-Fixed: 2074210
Change-Id: I1f8021b8b436602b22a87d2036aebbfcf6840f58
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-07-11 09:54:14 +05:30
Sahitya Tummala
c6b2e7c51e fs/dcache.c: fix spin lockup issue on nlru->lock
__list_lru_walk_one() acquires nlru spin lock (nlru->lock) for longer
duration if there are more number of items in the lru list.  As per the
current code, it can hold the spin lock for upto maximum UINT_MAX entries
at a time.  So if there are more number of items in the lru list, then
"BUG: spinlock lockup suspected" is observed in the below path -

[<ffffff8eca0fb0bc>] spin_bug+0x90
[<ffffff8eca0fb220>] do_raw_spin_lock+0xfc
[<ffffff8ecafb7798>] _raw_spin_lock+0x28
[<ffffff8eca1ae884>] list_lru_add+0x28
[<ffffff8eca1f5dac>] dput+0x1c8
[<ffffff8eca1eb46c>] path_put+0x20
[<ffffff8eca1eb73c>] terminate_walk+0x3c
[<ffffff8eca1eee58>] path_lookupat+0x100
[<ffffff8eca1f00fc>] filename_lookup+0x6c
[<ffffff8eca1f0264>] user_path_at_empty+0x54
[<ffffff8eca1e066c>] SyS_faccessat+0xd0
[<ffffff8eca084e30>] el0_svc_naked+0x24

This nlru->lock is acquired by another CPU in this path -

[<ffffff8eca1f5fd0>] d_lru_shrink_move+0x34
[<ffffff8eca1f6180>] dentry_lru_isolate_shrink+0x48
[<ffffff8eca1aeafc>] __list_lru_walk_one.isra.10+0x94
[<ffffff8eca1aec34>] list_lru_walk_node+0x40
[<ffffff8eca1f6620>] shrink_dcache_sb+0x60
[<ffffff8eca1e56a8>] do_remount_sb+0xbc
[<ffffff8eca1e583c>] do_emergency_remount+0xb0
[<ffffff8eca0ba510>] process_one_work+0x228
[<ffffff8eca0bb158>] worker_thread+0x2e0
[<ffffff8eca0c040c>] kthread+0xf4
[<ffffff8eca084dd0>] ret_from_fork+0x10

Fix this lockup by reducing the number of entries to be shrinked from the
lru list to 1024 at once.  Also, add cond_resched() before processing the
lru list again.

Change-Id: I6df8d74cbc4c5ceac294f2d0784702cf096e84be
Link: http://marc.info/?t=149722864900001&r=1&w=2
Link: http://lkml.kernel.org/r/1498707575-2472-1-git-send-email-stummala@codeaurora.org
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Suggested-by: Jan Kara <jack@suse.cz>
Suggested-by: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: Alexander Polakov <apolyakov@beget.ru>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: <stable@vger.kernel.org>
Patch-mainline: linux-mm @ 29/06/17, 09:09:35
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2017-07-11 09:30:59 +05:30