Re: [PATCH v9 15/17] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-11-12 Thread Rob Herring
On Thu, Nov 12, 2015 at 09:27:21AM +0800, Yakir Yang wrote: > Hi Rob, > > On 11/12/2015 07:10 AM, Rob Herring wrote: > >On Fri, Oct 30, 2015 at 09:09:15AM +0800, Yakir Yang wrote: > >>Some edp screen do not have hpd signal, so we can't just return > >>failed when hpd plug in detect failed. > >> >

[PATCH 3.19.y-ckt 097/155] netlink: Trim skb to alloc size to avoid MSG_TRUNC

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: "Arad, Ronen" [ Upstream commit db65a3aaf29ecce2e34271d52e8d2336b97bd9fe ] netlink_dump() allocates skb based on the calculated min_dump_alloc or a per socket max_recvmsg_len. min_al

[PATCH 3.19.y-ckt 096/155] ethtool: Use kcalloc instead of kmalloc for ethtool_get_strings

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Joe Perches [ Upstream commit 077cb37fcf6f00a45f375161200b5ee0cd4e937b ] It seems that kernel memory can leak into userspace by a kmalloc, ethtool_get_strings, then copy_to_user sequ

[PATCH 3.19.y-ckt 098/155] ath9k: declare required extra tx headroom

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 029cd0370241641eb70235d205aa0b90c84dce44 upstream. ath9k inserts padding between the 802.11 header and the data area (to align it). Since it didn't declare this

[PATCH 3.19.y-ckt 101/155] iwlwifi: mvm: fix D3 firmware PN programming

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 2cf5eb3ab7bb7f2e3a70edcef236cd62c87db030 upstream. The code to send the RX PN data (for each TID) to the firmware has a devastating bug: it overwrites the data f

[PATCH 3.19.y-ckt 102/155] iwlwifi: mvm: clear csa countdown when AP is stopped

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Avraham Stern commit e9cb0327b26dd7ba43a3b7a05b4b62219decf42d upstream. The csa_countdown flag was not cleared when the AP is stopped. As a result, if the AP was stopped after csa_co

[PATCH 3.19.y-ckt 103/155] iwlwifi: fix firmware filename for 3160

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit b5a48134f8af08f5243328f8a0b05fc5ae7cf343 upstream. The MODULE_FIRMWARE() for 3160 should be using the 7260 version as it's done in the device configuration struc

[PATCH 3.19.y-ckt 099/155] iio: accel: sca3000: memory corruption in sca3000_read_first_n_hw_rb()

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit eda7d0f38aaf50dbb2a2de15e8db386c4f6f65fc upstream. "num_read" is in byte units but we are write u16s so we end up write twice as much as intended. Signed-off-by

[PATCH 3.19.y-ckt 094/155] ppp: don't override sk->sk_state in pppoe_flush_dev()

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit e6740165b8f7f06d8caee0fceab3fb9d790a6fed ] Since commit 2b018d57ff18 ("pppoe: drop PPPOX_ZOMBIEs in pppoe_release"), pppoe_release() calls dev_put(p

[PATCH 3.19.y-ckt 095/155] ovs: do not allocate memory from offline numa node

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov [ Upstream commit 598c12d0ba6de9060f04999746eb1e015774044b ] When openvswitch tries allocate memory from offline numa node 0: stats = kmem_cache_alloc_node(flow

[PATCH 3.19.y-ckt 086/155] pinctrl: imx25: ensure that a pin with id i is at position i in the info array

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= commit 9911a2d5e9d14e39692b751929a92cb5a1d9d0e0 upstream. The code in pinctrl-imx.c only works correctly if in the imx_pinctrl_soc_info passed to

[PATCH 3.19.y-ckt 084/155] memcg: convert threshold to bytes

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit 424cdc14138088ada1b0e407a2195b2783c6e5ef upstream. page_counter_memparse() returns pages for the threshold, while mem_cgroup_usage() returns bytes for memory usage.

[PATCH 3.19.y-ckt 085/155] i2c: designware: Do not use parameters from ACPI on Dell Inspiron 7348

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Mika Westerberg commit 56d4b8a24cef5d66f0d10ac778a520d3c2c68a48 upstream. ACPI SSCN/FMCN methods were originally added because then the platform can provide the most accurate HCNT/LC

[PATCH 3.19.y-ckt 087/155] l2tp: protect tunnel->del_work by ref_count

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Alexander Couzens [ Upstream commit 06a15f51cf3618e32a73871ee6a547ef7fd902b5 ] There is a small chance that tunnel_free() is called before tunnel->del_work scheduled resulting in a

[PATCH 3.19.y-ckt 047/155] dm: fix AB-BA deadlock in __dm_destroy()

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Junichi Nomura commit 2a708cff93f1845b9239bc7d6310aef54e716c6a upstream. __dm_destroy() takes io_barrier SRCU lock (dm_get_live_table) and suspend_lock in reverse order. Doing so ca

[PATCH 03/14] net: tcp_memcontrol: properly detect ancestor socket pressure

2015-11-12 Thread Johannes Weiner
When charging socket memory, the code currently checks only the local page counter for excess to determine whether the memcg is under socket pressure. But even if the local counter is fine, one of the ancestors could have breached its limit, which should also force this child to enter socket pressu

[PATCH 07/14] net: tcp_memcontrol: simplify the per-memcg limit access

2015-11-12 Thread Johannes Weiner
tcp_memcontrol replicates the global sysctl_mem limit array per cgroup, but it only ever sets these entries to the value of the memory_allocated page_counter limit. Use the latter directly. Signed-off-by: Johannes Weiner --- include/linux/memcontrol.h | 1 - include/net/sock.h | 8 +-

[PATCH 14/14] mm: memcontrol: hook up vmpressure to socket pressure

2015-11-12 Thread Johannes Weiner
Let the networking stack know when a memcg is under reclaim pressure so that it can clamp its transmit windows accordingly. Whenever the reclaim efficiency of a cgroup's LRU lists drops low enough for a MEDIUM or HIGH vmpressure event to occur, assert a pressure state in the socket and tcp memory

[PATCH 13/14] mm: memcontrol: account socket memory in unified hierarchy memory controller

2015-11-12 Thread Johannes Weiner
Socket memory can be a significant share of overall memory consumed by common workloads. In order to provide reasonable resource isolation in the unified hierarchy, this type of memory needs to be included in the tracking/accounting of a cgroup under active memory resource control. Overhead is onl

Re: [PATCH 4/4] locking: Introduce smp_cond_acquire()

2015-11-12 Thread Paul E. McKenney
On Thu, Nov 12, 2015 at 09:33:39PM +, Will Deacon wrote: > On Thu, Nov 12, 2015 at 10:59:06AM -0800, Paul E. McKenney wrote: > > On Thu, Nov 12, 2015 at 08:33:02PM +0100, Oleg Nesterov wrote: > > > On 11/12, Peter Zijlstra wrote: > > > > > > > > On Thu, Nov 12, 2015 at 07:38:07PM +0100, Oleg Ne

[PATCH 09/14] net: tcp_memcontrol: simplify linkage between socket and page counter

2015-11-12 Thread Johannes Weiner
There won't be any separate counters for socket memory consumed by protocols other than TCP in the future. Remove the indirection and link sockets directly to their owning memory cgroup. Signed-off-by: Johannes Weiner --- include/linux/memcontrol.h | 18 +++- include/net/sock.h

[PATCH 12/14] mm: memcontrol: move socket code for unified hierarchy accounting

2015-11-12 Thread Johannes Weiner
The unified hierarchy memory controller will account socket memory. Move the infrastructure functions accordingly. Signed-off-by: Johannes Weiner Acked-by: Michal Hocko --- mm/memcontrol.c | 148 1 file changed, 74 insertions(+), 74 delet

[PATCH 10/14] mm: memcontrol: generalize the socket accounting jump label

2015-11-12 Thread Johannes Weiner
The unified hierarchy memory controller is going to use this jump label as well to control the networking callbacks. Move it to the memory controller code and give it a more generic name. Signed-off-by: Johannes Weiner --- include/linux/memcontrol.h | 4 include/net/sock.h | 7 -

[PATCH 11/14] mm: memcontrol: do not account memory+swap on unified hierarchy

2015-11-12 Thread Johannes Weiner
The unified hierarchy memory controller doesn't expose the memory+swap counter to userspace, but its accounting is hardcoded in all charge paths right now, including the per-cpu charge cache ("the stock"). To avoid adding yet more pointless memory+swap accounting with the socket memory support in

[PATCH 05/14] net: tcp_memcontrol: protect all tcp_memcontrol calls by jump-label

2015-11-12 Thread Johannes Weiner
Move the jump-label from sock_update_memcg() and sock_release_memcg() to the callsite, and so eliminate those function calls when socket accounting is not enabled. This also eliminates the need for dummy functions because the calls will be optimized away if the Kconfig options are not enabled. Si

[PATCH 08/14] net: tcp_memcontrol: sanitize tcp memory accounting callbacks

2015-11-12 Thread Johannes Weiner
There won't be a tcp control soft limit, so integrating the memcg code into the global skmem limiting scheme complicates things unnecessarily. Replace this with simple and clear charge and uncharge calls--hidden behind a jump label--to account skb memory. Note that this is not purely aesthetic: as

ARM Linux Kernel Update

2015-11-12 Thread Satay Epic
Hello, I've an ARM SL3516 board with Linux 2.6.15 and I've tool-chain setup. I could able to compile the GPL source. This board has red-boot. I would like to update the kernel to 3.8.24. My first attempt so not sure about anything I should know, gotchas etc. Any advice about the compilation

[PATCH 06/14] net: tcp_memcontrol: remove dead per-memcg count of allocated sockets

2015-11-12 Thread Johannes Weiner
The number of allocated sockets is used for calculations in the soft limit phase, where packets are accepted but the socket is under memory pressure. Since there is no soft limit phase in tcp_memcontrol, and memory pressure is only entered when packets are already dropped, this is actually dead cod

[PATCH 04/14] net: tcp_memcontrol: remove bogus hierarchy pressure propagation

2015-11-12 Thread Johannes Weiner
When a cgroup currently breaches its socket memory limit, it enters memory pressure mode for itself and its *ancestors*. This throttles transmission in unrelated sibling and cousin subtrees that have nothing to do with the breached limit. On the contrary, breaching a limit should make that group a

[PATCH 00/14] mm: memcontrol: account socket memory in unified hierarchy

2015-11-12 Thread Johannes Weiner
Hi, this is version 3 of the patches to add socket memory accounting to the unified hierarchy memory controller. Changes since v2 include: - Fixed an underflow bug in the mem+swap counter that came through the design of the per-cpu charge cache. To fix that, the unused mem+swap counter is now

[PATCH 02/14] mm: vmscan: simplify memcg vs. global shrinker invocation

2015-11-12 Thread Johannes Weiner
Letting shrink_slab() handle the root_mem_cgroup, and implicitely the !CONFIG_MEMCG case, allows shrink_zone() to invoke the shrinkers unconditionally from within the memcg iteration loop. Signed-off-by: Johannes Weiner Acked-by: Michal Hocko --- include/linux/memcontrol.h | 2 ++ mm/vmscan.c

[PATCH 01/14] mm: memcontrol: export root_mem_cgroup

2015-11-12 Thread Johannes Weiner
A later patch will need this symbol in files other than memcontrol.c, so export it now and replace mem_cgroup_root_css at the same time. Signed-off-by: Johannes Weiner Acked-by: Michal Hocko --- include/linux/memcontrol.h | 3 ++- mm/backing-dev.c | 2 +- mm/memcontrol.c|

[PATCH 3.19.y-ckt 078/155] btrfs: check unsupported filters in balance arguments

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: David Sterba commit 8eb934591f8bf584969454a658f629cd06e59f3a upstream. We don't verify that all the balance filter arguments supplemented by the flags are actually known to the kerne

[PATCH 3.19.y-ckt 083/155] i2c: designware-platdrv: enable RuntimePM before registering to the core

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Wolfram Sang commit 36d48fb5766aee9717e429f772046696b215282d upstream. The core may register clients attached to this master which may use funtionality from the master. So, RuntimePM

[PATCH 3.19.y-ckt 081/155] i2c: rcar: enable RuntimePM before registering to the core

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Wolfram Sang commit 4f7effddf4549d57114289f273710f077c4c330a upstream. The core may register clients attached to this master which may use funtionality from the master. So, RuntimePM

[PATCH 3.19.y-ckt 080/155] drm/dp/mst: make mst i2c transfer code more robust.

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Dave Airlie commit ae491542cbbbcca0ec8938c37d4079a985e58440 upstream. This zeroes the msg so no random stack data ends up getting sent, it also limits the function to not accepting >

[PATCH 3.19.y-ckt 028/155] x86/kexec: Fix kexec crash in syscall kexec_file_load()

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: "Lee, Chun-Yi" commit e3c41e37b0f4b18cbd4dac76cbeece5a7558b909 upstream. The original bug is a page fault crash that sometimes happens on big machines when preparing ELF headers:

[PATCH 3.19.y-ckt 082/155] i2c: s3c2410: enable RuntimePM before registering to the core

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Wolfram Sang commit eadd709f5d2e8aebb1b7bf49460e97a68d81a9b0 upstream. The core may register clients attached to this master which may use funtionality from the master. So, RuntimePM

[PATCH 3.19.y-ckt 076/155] crypto: ahash - ensure statesize is non-zero

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 8996eafdcbad149ac0f772fb1649fbb75c482a6a upstream. Unlike shash algorithms, ahash drivers must implement export and import as their descriptors may contain hardwa

[PATCH 3.19.y-ckt 079/155] btrfs: fix use after free iterating extrefs

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Chris Mason commit dc6c5fb3b514221f2e9d21ee626a9d95d3418dff upstream. The code for btrfs inode-resolve has never worked properly for files with enough hard links to trigger extrefs.

[PATCH 3.19.y-ckt 049/155] clk: ti: fix dual-registration of uart4_ick

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Ben Dooks commit 19e79687de22f23bcfb5e79cce3daba20af228d1 upstream. On the OMAP AM3517 platform the uart4_ick gets registered twice, causing any power management to /dev/ttyO3 to fai

[PATCH 3.19.y-ckt 073/155] drm: Fix locking for sysfs dpms file

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit 621bd0f6982badd6483acb191eb7b6226a578328 upstream. With atomic drivers we need to make sure that (at least in general) property reads hold the right locks. But t

[PATCH 3.19.y-ckt 077/155] dm thin: fix missing pool reference count decrement in pool_ctr error path

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Mike Snitzer commit ba30670f4d5292c4e7f7980bbd5071f7c4794cdd upstream. Fixes: ac8c3f3df ("dm thin: generate event when metadata threshold passed") Signed-off-by: Mike Snitzer Signed

[PATCH 3.19.y-ckt 075/155] arm64: errata: use KBUILD_CFLAGS_MODULE for erratum #843419

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit b6dd8e0719c0d2d01429639a11b7bc2677de240c upstream. Commit df057cc7b4fa ("arm64: errata: add module build workaround for erratum #843419") sets CFLAGS_MODULE to ens

[PATCH 3.19.y-ckt 071/155] cxl: Fix number of allocated pages in SPA

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Christophe Lombard commit 4108efb02daa09cbb5db048ada55a5b021b5183d upstream. The scheduled process area is currently allocated before assigning the correct maximum processes to the A

[PATCH 3.19.y-ckt 074/155] drm/nouveau/fbcon: take runpm reference when userspace has an open fd

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Ben Skeggs commit f231976c2e8964ceaa9250e57d27c35ff03825c2 upstream. We need to do this in order to prevent accesses to the device while it's powered down. Userspace may have an mma

[PATCH 3.19.y-ckt 072/155] crypto: sparc - initialize blkcipher.ivsize

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Dave Kleikamp commit a66d7f724a96d6fd279bfbd2ee488def6b081bea upstream. Some of the crypto algorithms write to the initialization vector, but no space has been allocated for it. This

[PATCH 3.19.y-ckt 046/155] ASoC: sgtl5000: fix wrong register MIC_BIAS_VOLTAGE setup on probe

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Gianluca Renzi commit e256da84a04ea31c3c215997c847609af224e8f4 upstream. Signed-off-by: Gianluca Renzi Signed-off-by: Mark Brown Signed-off-by: Kamal Mostafa --- sound/soc/codecs

[PATCH 3.19.y-ckt 064/155] sched/core: Fix TASK_DEAD race in finish_task_switch()

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 95913d97914f44db2b81271c2e2ebd4d2ac2df83 upstream. So the problem this patch is trying to address is as follows: CPU0CPU1

[PATCH 3.19.y-ckt 067/155] workqueue: make sure delayed work run in local cpu

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit 874bbfe600a660cba9c776b3957b1ce393151b76 upstream. My system keeps crashing with below message. vmstat_update() schedules a delayed work in current cpu and expects

[PATCH 3.19.y-ckt 069/155] drm/radeon: add quirk for MSI R7 370

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Maxim Sheviakov commit e78654799135a788a941bacad3452fbd7083e518 upstream. Just adds the quirk for MSI R7 370 Armor 2X Bug: https://bugs.freedesktop.org/show_bug.cgi?id=91294 Signed-

[PATCH 3.19.y-ckt 068/155] drm/radeon: add pm sysfs files late

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 51a4726b04e880fdd9b4e0e58b13f70b0a68a7f5 upstream. They were added relatively early in the driver init process which meant that in some cases the driver was not f

[PATCH 3.19.y-ckt 061/155] arm64: readahead: fault retry breaks mmap file read random detection

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Mark Salyzyn commit 569ba74a7ba69f46ce2950bf085b37fea2408385 upstream. This is the arm64 portion of commit 45cac65b0fcd ("readahead: fault retry breaks mmap file read random detectio

[PATCH 3.19.y-ckt 063/155] ASoC: tas2552: fix dBscale-min declaration

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Andreas Dannenberg commit e2600460bc3aa14ca1df86318a327cbbabedf9a8 upstream. The minimum volume level for the TAS2552 (control register value 0x00) is -7dB however the driver declare

[PATCH 3.19.y-ckt 070/155] drm/radeon: add quirk for ASUS R7 370

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 2b02ec79004388a8c65e227bc289ed891b5ac8c6 upstream. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=92260 Signed-off-by: Alex Deucher Signed-off-by: Kamal Most

[PATCH] pstore-ram: add Device Tree bindings

2015-11-12 Thread Greg Hackmann
ramoops is one of the remaining places where ARM vendors still rely on board-specific shims. Device Tree lets us replace those shims with generic code. These bindings mirror the ramoops module parameters, with two small differences: (1) dump_oops becomes an optional "no-dump-oops" property, sinc

[PATCH 3.19.y-ckt 062/155] ASoC: tas2552: Correct the Speaker Driver Playback Volume (PGA_GAIN)

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Ujfalusi commit dd6ae3bcfe0fa9cf1bdb6f952c617f2070c57b37 upstream. The last parameter for DECLARE_TLV_DB_SCALE() is to tell if the gain will be muted or not when it is set to r

[PATCH 3.19.y-ckt 065/155] dm cache: fix NULL pointer when switching from cleaner policy

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Joe Thornber commit 2bffa1503c5c06192eb1459180fac4416575a966 upstream. The cleaner policy doesn't make use of the per cache block hint space in the metadata (unlike the other policie

[PATCH 3.19.y-ckt 066/155] 3w-9xxx: don't unmap bounce buffered commands

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit 15e3d5a285ab9283136dba34bbf72886d9146706 upstream. 3w controller don't dma map small single SGL entry commands but instead bounce buffer them. Add a helper

Re: [PATCH v5 4/5] ARM: dts: mt8135: enable basic SMP bringup for mt8135

2015-11-12 Thread Kevin Hilman
Eddie Huang writes: > On Wed, 2015-11-11 at 20:54 -0800, Kevin Hilman wrote: >> Hi Eddie, >> >> Kevin Hilman writes: >> >> > Eddie Huang writes: >> > >> >> On Tue, 2015-11-10 at 17:16 -0800, Kevin Hilman wrote: >> >>> Hi Eddie, >> >>> >> >>> [...] >> >>> >> >>> > I check the log [0], >> >>>

[PATCH 3.19.y-ckt 057/155] serial: 8250: add uart_config entry for PORT_RT2880

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Mans Rullgard commit 3c5a0357fdb3a9116a48dbdb0abb91fd23fbff80 upstream. This adds an entry to the uart_config table for PORT_RT2880 enabling rx/tx FIFOs. The UART is actually a Palm

[PATCH 3.19.y-ckt 056/155] tty: fix stall caused by missing memory barrier in drivers/tty/n_tty.c

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Kosuke Tatsukawa commit e81107d4c6bd098878af9796b24edc8d4a9524fd upstream. My colleague ran into a program stall on a x86_64 server, where n_tty_read() was waiting for data even if t

[PATCH 3.19.y-ckt 059/155] staging: speakup: fix speakup-r regression

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: "cov...@ccs.covici.com" commit b1d562acc78f0af46de0dfe447410bc40bdb7ece upstream. Here is a patch to make speakup-r work again. It broke in 3.6 due to commit 4369c64c79a22b98d3b7eff

[PATCH 3.19.y-ckt 058/155] drivers/tty: require read access for controlling terminal

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Jann Horn commit 0c55627167870255158db1cde0d28366f91c8872 upstream. This is mostly a hardening fix, given that write-only access to other users' ttys is usually only given through se

[PATCH 3.19.y-ckt 060/155] ALSA: synth: Fix conflicting OSS device registration on AWE32

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 225db5762dc1a35b26850477ffa06e5cd0097243 upstream. When OSS emulation is loaded on ISA SB AWE32 chip, we get now kernel warnings like: WARNING: CPU: 0 PID: 2791

[PATCH 3.19.y-ckt 054/155] USB: Add reset-resume quirk for two Plantronics usb headphones.

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Yao-Wen Mao commit 8484bf2981b3d006426ac052a3642c9ce1d8d980 upstream. These two headphones need a reset-resume quirk to properly resume to original volume level. Signed-off-by: Yao-

[PATCH 3.19.y-ckt 050/155] ASoC: dwc: correct irq clear method

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Yitian Bu commit 4873867e5f2bd90faad861dd94865099fc3140f3 upstream. from Designware I2S datasheet, tx/rx XRUN irq is cleared by reading register TOR/ROR, rather than by writing into

[PATCH 3.19.y-ckt 055/155] usb: Add device quirk for Logitech PTZ cameras

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Vincent Palatin commit 72194739f54607bbf8cfded159627a2015381557 upstream. Add a device quirk for the Logitech PTZ Pro Camera and its sibling the ConferenceCam CC3000e Camera. This fi

[PATCH 3.19.y-ckt 018/155] x86/asm/entry: Create and use a 'TOP_OF_KERNEL_STACK_PADDING' macro

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 3ee4298f440c81638cbb5ec06f2497fb7a9a9eb4 upstream. x86_32, unlike x86_64, pads the top of the kernel stack, because the hardware stack frame formats are variab

[PATCH 3.19.y-ckt 019/155] x86/process: Add proper bound checks in 64bit get_wchan()

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit eddd3826a1a0190e5235703d1e666affa4d13b96 upstream. Dmitry Vyukov reported the following using trinity and the memory error detector AddressSanitizer (https://c

[PATCH 3.19.y-ckt 048/155] [SMB3] Do not fall back to SMBWriteX in set_file_size error cases

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit 646200a041203f440fb6fcf9cacd9efeda9de74c upstream. The error paths in set_file_size for cifs and smb3 are incorrect. In the unlikely event that a server did not

[PATCH 3.19.y-ckt 053/155] ALSA: hda - Apply SPDIF pin ctl to MacBookPro 12,1

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: John Flatness commit e8ff581f7ac2bc3b8886094b7ca635dcc4d1b0e9 upstream. The MacBookPro 12,1 has the same setup as the 11 for controlling the status of the optical audio light. Simply

[PATCH 3.19.y-ckt 043/155] x86/xen: Do not clip xen_e820_map to xen_e820_map_entries when sanitizing map

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Malcolm Crossley commit 64c98e7f49100b637cd20a6c63508caed6bbba7a upstream. Sanitizing the e820 map may produce extra E820 entries which would result in the topmost E820 entries being

linux-next: manual merge of the clockevents tree with the h8300 tree

2015-11-12 Thread Stephen Rothwell
Hi Daniel, Today's linux-next merge of the clockevents tree got a conflict in: arch/h8300/Kconfig between commit: f639eeb4a60c ("h8300: enable CLKSRC_OF") from the h8300 tree and commit: 3e1e4573ef65 ("clocksource/drivers/h8300_timer8: Separate the Kconfig option from the arch") from

[PATCH 3.19.y-ckt 044/155] s390/boot/decompression: disable floating point in decompressor

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Christian Borntraeger commit adc0b7fbf6fe9967505c0254d9535ec7288186ae upstream. my gcc 5.1 used an ldgr instruction with a register != 0,2,4,6 for spilling/filling into a floating po

[PATCH 3.19.y-ckt 033/155] clocksource: Fix abs() usage w/ 64bit values

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: John Stultz commit 67dfae0cd72fec5cd158b6e5fb1647b7dbe0834c upstream. This patch fixes one cases where abs() was being used with 64-bit nanosecond values, where the result may be cap

Re: [PATCH v2 0/2] Stop Intel Processor Trace logging on panic

2015-11-12 Thread Takao Indoh
On 2015/11/12 21:38, Peter Zijlstra wrote: > On Thu, Nov 12, 2015 at 09:05:11PM +0900, Takao Indoh wrote: >> Ping, any comments on these patches? >> > > I've taken them, they should appear in tip sometime after the merge > window closes. > Ok, thanks. Thanks, Takao Indoh -- To unsubscribe from

[PATCH 3.19.y-ckt 035/155] mm/slab: fix unexpected index mapping result of kmalloc_size(INDEX_NODE+1)

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Joonsoo Kim commit 03a2d2a3eafe4015412cf4e9675ca0e2d9204074 upstream. Commit description is copied from the original post of this bug: http://comments.gmane.org/gmane.linux.kernel

[PATCH 3.19.y-ckt 039/155] mtd: nand: sunxi: fix sunxi_nand_chips_cleanup()

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Boris BREZILLON commit 8e375ccda31ccc73b087134e263c48d2114534f4 upstream. The sunxi_nand_chips_cleanup() function is missing a call to list_del() which generates a double free error.

[PATCH 3.19.y-ckt 042/155] x86/xen: Support kexec/kdump in HVM guests by doing a soft reset

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Vitaly Kuznetsov commit 0b34a166f291d255755be46e43ed5497cdd194f2 upstream. Currently there is a number of issues preventing PVHVM Xen guests from doing successful kexec/kdump: - B

[PATCH 3.19.y-ckt 045/155] svcrdma: handle rdma read with a non-zero initial page offset

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Steve Wise commit c91aed9896946721bb30705ea2904edb3725dd61 upstream. The server rdma_read_chunk_lcl() and rdma_read_chunk_frmr() functions were not taking into account the initial pa

[PATCH 3.19.y-ckt 040/155] ARM: dts: fix usb pin control for imx-rex dts

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: "Felipe F. Tonello" commit 0af822110871400908d5b6f83a8908c45f881d8f upstream. This fixes a duplicated pin control causing this error: imx6q-pinctrl 20e.iomuxc: pin MX6Q_PAD_GPIO

[PATCH 3.19.y-ckt 038/155] mtd: nand: sunxi: fix OOB handling in ->write_xxx() functions

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Boris BREZILLON commit 03a0e8a7c5ea29b5c4e72dfd64900b47a8fb6f2d upstream. The USER_DATA register cannot be accessed using byte accessors on A13 SoCs, thus triggering a bug when using

[PATCH 3.19.y-ckt 041/155] ASoC: db1200: Fix DAI link format for db1300 and db1550

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit e74679b38c9417c1c524081121cdcdb36f82264d upstream. Commit b4508d0f95fa ("ASoC: db1200: Use static DAI format setup") switched the db1200 driver over to usin

[PATCH 3.19.y-ckt 036/155] regmap: debugfs: Ensure we don't underflow when printing access masks

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Mark Brown commit b763ec17ac762470eec5be8ebcc43e4f8b2c2b82 upstream. If a read is attempted which is smaller than the line length then we may underflow the subtraction we're doing wi

[PATCH 3.19.y-ckt 037/155] regmap: debugfs: Don't bother actually printing when calculating max length

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Mark Brown commit 176fc2d5770a0990eebff903ba680d2edd32e718 upstream. The in kernel snprintf() will conveniently return the actual length of the printed string even if not given an ou

[PATCH 3.19.y-ckt 021/155] genirq: Fix race in register_irq_proc()

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit 95c2b17534654829db428f11bcf4297c059a2a7e upstream. Per-IRQ directories in procfs are created only when a handler is first added to the irqdesc, not when the irqd

[PATCH 3.19.y-ckt 034/155] dmaengine: dw: properly read DWC_PARAMS register

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit 6bea0f6d1c47b07be88dfd93f013ae05fcb3d8bf upstream. In case we have less than maximum allowed channels (8) and autoconfiguration is enabled the DWC_PARAMS read

[PATCH 3.19.y-ckt 032/155] arm64: ftrace: fix function_graph tracer panic

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Li Bin commit ee556d00cf20012e889344a0adbbf809ab5015a3 upstream. When function graph tracer is enabled, the following operation will trigger panic: mount -t debugfs nodev /sys/kerne

[PATCH 3.19.y-ckt 030/155] md/raid0: update queue parameter in a safer location.

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 199dc6ed5179251fa6158a461499c24bdd99c836 upstream. When a (e.g.) RAID5 array is reshaped to RAID0, the updating of queue parameters (e.g. max number of sectors per b

[PATCH 3.19.y-ckt 031/155] md/raid0: apply base queue limits *before* disk_stack_limits

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 66eefe5de11db1e0d8f2edc3880d50e7c36a9d43 upstream. Calling e.g. blk_queue_max_hw_sectors() after calls to disk_stack_limits() discards the settings determined by dis

[PATCH 3.19.y-ckt 023/155] KVM: nSVM: Check for NRIPS support before updating control field

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Bandan Das commit f104765b4f81fd74d69e0eb161e89096deade2db upstream. If hardware doesn't support DecodeAssist - a feature that provides more information about the intercept in the VM

Re: [Linaro-acpi] [PATCH v8 5/5] Watchdog: introduce ARM SBSA watchdog driver

2015-11-12 Thread Al Stone
On 11/05/2015 09:41 AM, Guenter Roeck wrote: > On 11/05/2015 07:00 AM, Fu Wei wrote: >> Hi Timur, >> >> On 5 November 2015 at 22:40, Timur Tabi wrote: >>> Fu Wei wrote: Did you really read the "Note" above OK, let me paste it again and again: SBSA 2.3 Page 23 : >>>

[PATCH 3.19.y-ckt 027/155] drm/dp/mst: drop cancel work sync in the mstb destroy path (v2)

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Dave Airlie commit 274d83524895fe41ca8debae4eec60ede7252bb5 upstream. Since 9eb1e57f564d4e6e10991402726cc83fe0b9172f drm/dp/mst: make sure mst_primary mstb is valid in work function

[PATCH 3.19.y-ckt 024/155] Use WARN_ON_ONCE for missing X86_FEATURE_NRIPS

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Dirk=20M=C3=BCller?= commit d2922422c48df93f3edff7d872ee4f3191fefb08 upstream. The cpu feature flags are not ever going to change, so warning everytime can cause a lot of k

Re: [PATCH] pstore-ram: add Device Tree bindings

2015-11-12 Thread Kees Cook
On Thu, Nov 12, 2015 at 3:53 PM, Greg Hackmann wrote: > ramoops is one of the remaining places where ARM vendors still rely on > board-specific shims. Device Tree lets us replace those shims with > generic code. > > These bindings mirror the ramoops module parameters, with two small > differences

[PATCH 3.19.y-ckt 026/155] drm/dp/mst: fixup handling hotplug on port removal.

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Dave Airlie commit df4839fdc9b3c922586b945f062f38cbbda022bb upstream. output ports should always have a connector, unless in the rare case connector allocation fails in the driver.

[PATCH 3.19.y-ckt 008/155] UBI: Validate data_size

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit 281fda27673f833a01d516658a64d22a32c8e072 upstream. Make sure that data_size is less than LEB size. Otherwise a handcrafted UBI image is able to trigger an o

[PATCH 3.19.y-ckt 020/155] drm/qxl: recreate the primary surface when the bo is not primary

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= commit 8d0d94015e96b8853c4f7f06eac3f269e1b3d866 upstream. When disabling/enabling a crtc the primary area must be updated independently of which c

[PATCH 3.19.y-ckt 003/155] [media] media/vivid-osd: fix info leak in ioctl

2015-11-12 Thread Kamal Mostafa
3.19.8-ckt10 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Salva=20Peir=C3=B3?= commit eda98796aff0d9bf41094b06811f5def3b4c333c upstream. The vivid_fb_ioctl() code fails to initialize the 16 _reserved bytes of struct fb_vblank afte

<    3   4   5   6   7   8   9   10   >