[PATCH 3.4 013/146] ASoC: wm8741: Fix rates constraints values

2015-09-15 Thread lizf
From: Sergej Sawazki 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 8787041d9bb832b9449b1eb878cedcebce42c61a upstream. The WM8741 DAC supports the following typical audio sampling rates: 44.1kHz, 88.2kHz, 176.4kHz (eg: with a master cl

[PATCH 3.4 023/146] ARM: 8320/1: fix integer overflow in ELF_ET_DYN_BASE

2015-09-15 Thread lizf
From: Andrey Ryabinin 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 8defb3367fcd19d1af64c07792aade0747b54e0f upstream. Usually ELF_ET_DYN_BASE is 2/3 of TASK_SIZE. With 3G/1G user/kernel split this is not so, because 2*TASK_SIZE overflo

[PATCH 3.4 014/146] cdc-wdm: fix endianness bug in debug statements

2015-09-15 Thread lizf
From: Oliver Neukum 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 323ece54e0761198946ecd0c2091f1d2bfdfcb64 upstream. Values directly from descriptors given in debug statements must be converted to native endianness. Signed-off-by: Oliv

[PATCH 3.4 011/146] drm/radeon: fix doublescan modes (v2)

2015-09-15 Thread lizf
From: Alex Deucher 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit fd99a0943ffaa0320ea4f69d09ed188f950c0432 upstream. Use the correct flags for atom. v2: handle DRM_MODE_FLAG_DBLCLK Signed-off-by: Alex Deucher Signed-off-by: Zefan Li

[PATCH 3.4 025/146] ASoC: cs4271: Increase delay time after reset

2015-09-15 Thread lizf
From: Pascal Huerst 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 74ff960222d90999508b4ba0d3449f796695b6d5 upstream. The delay time after a reset in the codec probe callback was too short, and did not work on certain hw because the code

[PATCH 3.4 017/146] UBI: initialize LEB number variable

2015-09-15 Thread lizf
From: Brian Norris 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit f16db8071ce18819fbd705ddcc91c6f392fb61f8 upstream. In some of the 'out_not_moved' error paths, lnum may be used uninitialized. Don't ignore the warning; let's fix it. Thi

[PATCH 3.4 030/146] selinux/nlmsg: add XFRM_MSG_GETSPDINFO

2015-09-15 Thread lizf
From: Nicolas Dichtel 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 5e6deebafb45fb271ae6939d48832e920b8fb74e upstream. This command is missing. Fixes: ecfd6b183780 ("[XFRM]: Export SPD info") Signed-off-by: Nicolas Dichtel Signed-off-

[PATCH 3.4 037/146] selinux/nlmsg: add XFRM_MSG_REPORT

2015-09-15 Thread lizf
From: Nicolas Dichtel 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit b0b59b0056acd6f157a04cc895f7e24692fb08aa upstream. This command is missing. Fixes: 97a64b4577ae ("[XFRM]: Introduce XFRM_MSG_REPORT.") Reported-by: Stephen Smalley Si

[PATCH 3.4 062/146] 3w-xxxx: fix command completion race

2015-09-15 Thread lizf
From: Christoph Hellwig 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 9cd9554615cba14f0877cc9972a6537ad2bdde61 upstream. The 3w- driver needs to tear down the dma mappings before returning the command to the midlayer, as there is no

[PATCH 3.4 048/146] megaraid_sas: use raw_smp_processor_id()

2015-09-15 Thread lizf
From: Christoph Hellwig 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 16b8528d20607925899b1df93bfd8fbab98d267c upstream. We only want to steer the I/O completion towards a queue, but don't actually access any per-CPU data, so the raw_ v

[PATCH 3.4 039/146] selinux/nlmsg: add XFRM_MSG_MAPPING

2015-09-15 Thread lizf
From: Nicolas Dichtel 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit bd2cba07381a6dba60bc1c87ed8b37931d244da1 upstream. This command is missing. Fixes: 3a2dfbe8acb1 ("xfrm: Notify changes in UDP encapsulation via netlink") CC: Martin Wi

[PATCH 3.4 034/146] ALSA: emu10k1: don't deadlock in proc-functions

2015-09-15 Thread lizf
From: Michael Gernoth 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 91bf0c2dcb935a87e5c0795f5047456b965fd143 upstream. The functions snd_emu10k1_proc_spdif_read and snd_emu1010_fpga_read acquire the emu_lock before accessing the FPGA. T

[PATCH 3.4 054/146] nfs: fix high load average due to callback thread sleeping

2015-09-15 Thread lizf
From: Jeff Layton 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 5d05e54af3cdbb13cf19c557ff2184781b91a22c upstream. Chuck pointed out a problem that crept in with commit 6ffa30d3f734 (nfs: don't call blocking operations while !TASK_RUNNI

[PATCH 3.4 041/146] Btrfs: fix inode eviction infinite loop after cloning into it

2015-09-15 Thread lizf
From: Filipe Manana 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit f3d67294714af2d72a6fd6fd7d73b01c9329 upstream. If we attempt to clone a 0 length region into a file we can end up inserting a range in the inode's extent_io tree with

[PATCH 3.4 051/146] memstick: mspro_block: add missing curly braces

2015-09-15 Thread lizf
From: Dan Carpenter 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 13f6b191aaa11c7fd718d35a0c565f3c16bc1d99 upstream. Using the indenting we can see the curly braces were obviously intended. This is a static checker fix, but my guess is

[PATCH 3.4 052/146] nfsd: fix nsfd startup race triggering BUG_ON

2015-09-15 Thread lizf
From: Giuseppe Cantavenera 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit bb7ffbf29e76b89a86ca4c3ee0d4690641f2f772 upstream. nfsd triggered a BUG_ON in net_generic(...) when rpc_pipefs_event(...) in fs/nfsd/nfs4recover.c was called befor

[PATCH 3.4 059/146] drm/radeon: Use drm_calloc_ab for CS relocs

2015-09-15 Thread lizf
From: Michel Dänzer 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit b421ed15d2c3039eb724680e4de1e4b2bd196a9a upstream. The number of relocs is passed in by userspace and can be large. It has been observed to cause kcalloc failures in the

[PATCH 3.4 060/146] SCSI: add 1024 max sectors black list flag

2015-09-15 Thread lizf
From: Mike Christie 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 35e9a9f93994d7f7d12afa41169c7ba05513721b upstream. This works around a issue with qnap iscsi targets not handling large IOs very well. The target returns: VPD INQUIRY:

[PATCH 3.4 047/146] IB/mlx4: Fix WQE LSO segment calculation

2015-09-15 Thread lizf
From: Erez Shitrit 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit ca9b590caa17bcbbea119594992666e96cde9c2f upstream. The current code decreases from the mss size (which is the gso_size from the kernel skb) the size of the packet headers.

[PATCH 3.4 064/146] serial: xilinx: Use platform_get_irq to get irq description structure

2015-09-15 Thread lizf
From: Michal Simek 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 5c90c07b98c02198d9777a7c4f3047b0a94bf7ed upstream. For systems with CONFIG_SERIAL_OF_PLATFORM=y and device_type = "serial"; property in DT of_serial.c driver maps and unma

[PATCH 3.4 032/146] x86/iommu: Fix header comments regarding standard and _FINISH macros

2015-09-15 Thread lizf
From: Aravind Gopalakrishnan 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit b44915927ca88084a7292e4ddd4cf91036f365e1 upstream. The comment line regarding IOMMU_INIT and IOMMU_INIT_FINISH macros is incorrect: "The standard vs the _FINI

[PATCH 3.4 031/146] selinux/nlmsg: add XFRM_MSG_[NEW|GET]SADINFO

2015-09-15 Thread lizf
From: Nicolas Dichtel 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 5b5800fad072133e4a9c2efbf735baaac83dec86 upstream. These commands are missing. Fixes: 28d8909bc790 ("[XFRM]: Export SAD info.") Signed-off-by: Nicolas Dichtel Signed-

[PATCH 3.4 046/146] IB/core: disallow registering 0-sized memory region

2015-09-15 Thread lizf
From: Yann Droneaud 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 8abaae62f3fdead8f4ce0ab46b4ab93dee39bab2 upstream. If ib_umem_get() is called with a size equal to 0 and an non-page aligned address, one page will be pinned and a 0-size

[PATCH 3.4 035/146] MIPS: Hibernate: flush TLB entries earlier

2015-09-15 Thread lizf
From: Huacai Chen 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit a843d00d038b11267279e3b5388222320f9ddc1d upstream. We found that TLB mismatch not only happens after kernel resume, but also happens during snapshot restore. So move it to

[PATCH 3.4 049/146] firmware/ihex2fw.c: restore missing default in switch statement

2015-09-15 Thread lizf
From: Nicolas Iooss 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit d43698e8abb58a6ac47d16e0f47bb55f452e4fc4 upstream. Commit 2473238eac95 ("ihex: add support for CS:IP/EIP records") removes the "default:" statement in the switch block, m

[PATCH 3.4 043/146] ACPICA: Utilities: split IO address types from data type models.

2015-09-15 Thread lizf
From: Lv Zheng 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 2b8760100e1de69b6ff004c986328a82947db4ad upstream. ACPICA commit aacf863cfffd46338e268b7415f7435cae93b451 It is reported that on a physically 64-bit addressed machine, 32-bit

[PATCH 3.4 099/146] KVM: MMU: fix CR4.SMEP=1, CR0.WP=0 with shadow pages

2015-09-15 Thread lizf
From: Paolo Bonzini 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 898761158be7682082955e3efa4ad24725305fc7 upstream. smep_andnot_wp is initialized in kvm_init_shadow_mmu and shadow pages should not be reused for different values of it.

[PATCH 3.4 086/146] nfsd: fix the check for confirmed openowner in nfs4_preprocess_stateid_op

2015-09-15 Thread lizf
From: Christoph Hellwig 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit ebe9cb3bb13e7b9b281969cd279ce70834f7500f upstream. If we find a non-confirmed openowner we jump to exit the function, but do not set an error value. Fix this by fact

[PATCH 3.4 115/146] d_walk() might skip too much

2015-09-15 Thread lizf
From: Al Viro 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 2159184ea01e4ae7d15f2017e296d4bc82d5aeb0 upstream. when we find that a child has died while we'd been trying to ascend, we should go into the first live sibling itself, rather

[PATCH 3.4 131/146] ring-buffer-benchmark: Fix the wrong sched_priority of producer

2015-09-15 Thread lizf
From: Wang Long 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 108029323910c5dd1ef8fa2d10da1ce5fbce6e12 upstream. The producer should be used producer_fifo as its sched_priority, so correct it. Link: http://lkml.kernel.org/r/1433923957

[PATCH 3.4 135/146] ipv4: Missing sk_nulls_node_init() in ping_unhash().

2015-09-15 Thread lizf
From: "David S. Miller" 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit a134f083e79fb4c3d0a925691e732c56911b4326 upstream. If we don't do that, then the poison value is left in the ->pprev backlink. This can cause crashes if we do a disc

[PATCH 3.4 070/146] ARM: pxa: pxa_cplds: add lubbock and mainstone IO

2015-09-15 Thread lizf
From: Robert Jarzmik 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit aa8d6b73ea33c2167c543663ab66039ec94d58f1 upstream. Historically, this support was in arch/arm/mach-pxa/lubbock.c and arch/arm/mach-pxa/mainstone.c. When gpio-pxa was mov

[PATCH 3.4 097/146] ipvs: fix memory leak in ip_vs_ctl.c

2015-09-15 Thread lizf
From: Tommi Rantala 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit f30bf2a5cac6c60ab366c4bc6db913597bf4d6ab upstream. Fix memory leak introduced in commit a0840e2e165a ("IPVS: netns, ip_vs_ctl local vars moved to ipvs struct."): unrefer

[PATCH 3.4 072/146] ARM: pxa: lubbock: use new pxa_cplds driver

2015-09-15 Thread lizf
From: Robert Jarzmik 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit fc9e38c0f4d38bfc68b405cf48365d65f7b6319e upstream. As the interrupt handling was transferred to the pxa_cplds driver, make the switch in lubbock platform code. Fixes: 1

[PATCH 3.4 090/146] xhci: gracefully handle xhci_irq dead device

2015-09-15 Thread lizf
From: Joe Lawrence 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 948fa13504f80b9765d2b753691ab94c83a10341 upstream. If the xHCI host controller has died (ie, device removed) or suffered other serious fatal error (STS_FATAL), then xhci_i

[PATCH 3.4 111/146] x86/mce: Fix MCE severity messages

2015-09-15 Thread lizf
From: Borislav Petkov 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 17fea54bf0ab34fa09a06bbde2f58ed7bbdf9299 upstream. Derek noticed that a critical MCE gets reported with the wrong error type description: [Hardware Error]: CPU 34: M

[PATCH 3.4 134/146] md: use kzalloc() when bitmap is disabled

2015-09-15 Thread lizf
From: Benjamin Randazzo 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit b6878d9e03043695dbf3fa1caa6dfc09db225b16 upstream. In drivers/md/md.c get_bitmap_file() uses kmalloc() for creating a mdu_bitmap_file_t called "file". 5769 f

[PATCH 3.4 096/146] ext4: check for zero length extent explicitly

2015-09-15 Thread lizf
From: Eryu Guan 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 2f974865ffdfe7b9f46a9940836c8b167342563d upstream. The following commit introduced a bug when checking for zero length extent 5946d08 ext4: check for overlapping extents in

[PATCH 3.4 121/146] drm/i915: Don't skip request retirement if the active list is empty

2015-09-15 Thread lizf
From: Ville Syrjälä 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 0aedb1626566efd72b369c01992ee7413c82a0c5 upstream. Apparently we can have requests even if though the active list is empty, so do the request retirement regardless of whe

[PATCH 3.4 112/146] x86: bpf_jit: fix compilation of large bpf programs

2015-09-15 Thread lizf
From: Alexei Starovoitov 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 3f7352bf21f8fd7ba3e2fcef9488756f188e12be upstream. x86 has variable length encoding. x86 JIT compiler is trying to pick the shortest encoding for given bpf instructi

[PATCH 3.4 129/146] bridge: disable softirqs around br_fdb_update to avoid lockup

2015-09-15 Thread lizf
From: Nikolay Aleksandrov 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit c4c832f89dc468cf11dc0dd17206bace44526651 upstream. br_fdb_update() can be called in process context in the following way: br_fdb_add() -> __br_fdb_add() -> br_fdb_u

[PATCH 3.4 116/146] target/pscsi: Don't leak scsi_host if hba is VIRTUAL_HOST

2015-09-15 Thread lizf
From: Andy Grover 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 5a7125c64def3b21f8147eca8b54949a60963942 upstream. See https://bugzilla.redhat.com/show_bug.cgi?id=1025672 We need to put() the reference to the scsi host that we got in p

[PATCH 3.4 104/146] ALSA: hda - Add Conexant codecs CX20721, CX20722, CX20723 and CX20724

2015-09-15 Thread lizf
From: David Henningsson 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 6ffc0898b29a2811a6c0569c5dd9b581980110df upstream. This patch adds support for Conexant HD Audio codecs CX20721, CX20722, CX20723 and CX20724. BugLink: https://bugs.

[PATCH 3.4 078/146] nilfs2: fix sanity check of btree level in nilfs_btree_root_broken()

2015-09-15 Thread lizf
From: Ryusuke Konishi 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit d8fd150fe3935e1692bf57c66691e17409ebb9c1 upstream. The range check for b-tree level parameter in nilfs_btree_root_broken() is wrong; it accepts the case of "level == NI

[PATCH 3.4 079/146] ocfs2: dlm: fix race between purge and get lock resource

2015-09-15 Thread lizf
From: Junxiao Bi 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit b1432a2a35565f538586774a03bf277c27fc267d upstream. There is a race window in dlm_get_lock_resource(), which may return a lock resource which has been purged. This will caus

[PATCH 3.4 084/146] USB: pl2303: Remove support for Samsung I330

2015-09-15 Thread lizf
From: "Jason A. Donenfeld" 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 48ef23a4f686b1e4519d4193c20d26834ff810ff upstream. This phone is already supported by the visor driver. Signed-off-by: Jason A. Donenfeld Fixes: 1da177e4c3f4 ("L

Re: [PATCH V3 2/3] reset: hisilicon: document hisi-hi6220 reset controllers bindings

2015-09-15 Thread Philipp Zabel
Am Dienstag, den 15.09.2015, 11:58 +0800 schrieb Chen Feng: > Add DT bindings documentation for hi6220 SoC reset controller. > > Signed-off-by: Chen Feng > --- > .../bindings/reset/hisilicon,hi6220-reset.txt | 97 > ++ > 1 file changed, 97 insertions(+) > create mode 1

[PATCH 3.4 126/146] USB: cp210x: add ID for HubZ dual ZigBee and Z-Wave dongle

2015-09-15 Thread lizf
From: "John D. Blair" 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit df72d588c54dad57dabb3cc8a87475d8ed66d806 upstream. Added the USB serial device ID for the HubZ dual ZigBee and Z-Wave radio dongle. Signed-off-by: John D. Blair Signe

[PATCH 3.4 119/146] ozwpan: divide-by-zero leading to panic

2015-09-15 Thread lizf
From: "Jason A. Donenfeld" 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 04bf464a5dfd9ade0dda918e44366c2c61fce80b upstream. A network supplied parameter was not checked before division, leading to a divide-by-zero. Since this happens in

[PATCH 3.4 106/146] sd: Disable support for 256 byte/sector disks

2015-09-15 Thread lizf
From: Mark Hounschell 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 74856fbf441929918c49ff262ace9835048e4e6a upstream. 256 bytes per sector support has been broken since 2.6.X, and no-one stepped up to fix this. So disable support for i

[PATCH 3.4 108/146] crypto: s390/ghash - Fix incorrect ghash icv buffer handling.

2015-09-15 Thread lizf
From: Harald Freudenberger 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit a1cae34e23b1293eccbcc8ee9b39298039c3952a upstream. Multitheaded tests showed that the icv buffer in the current ghash implementation is not handled correctly. A mo

[PATCH 3.4 123/146] Input: elantech - fix detection of touchpads where the revision matches a known rate

2015-09-15 Thread lizf
From: Hans de Goede 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 5f0ee9d17aae628b22be86966471db65be21f262 upstream. Make the check to skip the rate check more lax, so that it applies to all hw_version 4 models. This fixes the touchpad

[PATCH 3.4 088/146] xhci: fix isoc endpoint dequeue from advancing too far on transaction error

2015-09-15 Thread lizf
From: Mathias Nyman 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit d104d0152a97fade389f47635b73a9ccc7295d0b upstream. Isoc TDs usually consist of one TRB, sometimes two. When all goes well we receive only one success event for a TD, and

[PATCH 3.4 133/146] udf: Check length of extended attributes and allocation descriptors

2015-09-15 Thread lizf
From: Jan Kara 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 23b133bdc452aa441fcb9b82cbf6dd05cfd342d0 upstream. Check length of extended attributes and allocation descriptors when loading inodes from disk. Otherwise corrupted filesystem

[PATCH 3.4 137/146] x86, kvm: fix kvm's usage of kernel_fpu_begin/end()

2015-09-15 Thread lizf
From: Suresh Siddha 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit b1a74bf8212367be2b1d6685c11a84e056eaaaf1 upstream. Preemption is disabled between kernel_fpu_begin/end() and as such it is not a good idea to use these routines in kvm_lo

[PATCH v2] arm/ls1021a: Add Sleep feature for ls1021

2015-09-15 Thread Dongsheng Wang
From: Wang Dongsheng Add system STANDBY implement for ls1021 platform. Signed-off-by: Chenhui Zhao Signed-off-by: Wang Dongsheng --- *v2*: - Remove PSCI code. Just implement STANDBY in platform code. diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile index fb689d8..d7a2d1d 10

[PATCH 3.4 139/146] net: socket: Fix the wrong returns for recvmsg and sendmsg

2015-09-15 Thread lizf
From: Junling Zheng 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- Based on 08adb7dabd4874cc5666b4490653b26534702ce0 upstream. We found that after v3.10.73, recvmsg might return -EFAULT while -EINVAL was expected. We tested it through the recv

[PATCH 3.4 146/146] ipv6: add check for blackhole or prohibited entry in rt6_redire

2015-09-15 Thread lizf
From: Weilong Chen 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- There's a check for ip6_null_entry, but it's not enough if the config CONFIG_IPV6_MULTIPLE_TABLES is selected. Blackhole or prohibited entries should also be ignored. This path i

[PATCH 3.4 141/146] block: fix ext_dev_lock lockdep report

2015-09-15 Thread lizf
From: Dan Williams 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 4d66e5e9b6d720d8463e11d027bd4ad91c8b1318 upstream. = [ INFO: inconsistent lock state ] 4.1.0-rc7+ #217 Tainted: G O -

[PATCH 3.4 142/146] NET: ROSE: Don't dereference NULL neighbour pointer.

2015-09-15 Thread lizf
From: Ralf Baechle 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit d496f7842aada20c61e6044b3395383fa972872c upstream. A ROSE socket doesn't necessarily always have a neighbour pointer so check if the neighbour pointer is valid before dere

[PATCH 3.4 138/146] ipmi: fix timeout calculation when bmc is disconnected

2015-09-15 Thread lizf
From: Xie XiuQi 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit e21404dc0ac7ac971c1e36274b48bb460463f4e5 upstream. Loading ipmi_si module while bmc is disconnected, we found the timeout is longer than 5 secs. Actually it takes about 3 mi

[PATCH 3.4 140/146] bridge: superfluous skb->nfct check in br_nf_dev_queue_xmit

2015-09-15 Thread lizf
From: Vasily Averin 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit aff09ce303f83bd370772349238482ae422a2341 upstream. Currently bridge can silently drop ipv4 fragments. If node have loaded nf_defrag_ipv4 module but have no nf_conntrack_i

[PATCH 3.4 145/146] udp: fix behavior of wrong checksums

2015-09-15 Thread lizf
From: Eric Dumazet 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit beb39db59d14990e401e235faf66a6b9b31240b0 upstream. We have two problems in UDP stack related to bogus checksums : 1) We return -EAGAIN to application even if receive queu

[PATCH 3.4 144/146] sched: Queue RT tasks to head when prio drops

2015-09-15 Thread lizf
From: Thomas Gleixner 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 81a44c5441d7f7d2c3dc9105f4d65ad0d5818617 upstream. The following scenario does not work correctly: Runqueue of CPUx contains two runnable and pinned tasks: T1: SCHED

[PATCH 3.4 136/146] x86, kvm: use kernel_fpu_begin/end() in kvm_load/put_guest_fpu()

2015-09-15 Thread lizf
From: Suresh Siddha 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 9c1c3fac53378c9782c18f80107965578d7b7167 upstream. kvm's guest fpu save/restore should be wrapped around kernel_fpu_begin/end(). This will avoid for example taking a DNA

[PATCH 3.4 132/146] tracing: Have filter check for balanced ops

2015-09-15 Thread lizf
From: Steven Rostedt 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 2cf30dc180cea808077f003c5116388183e54f9e upstream. When the following filter is used it causes a warning to trigger: # cd /sys/kernel/debug/tracing # echo "((dev==1)b

[PATCH 3.4 143/146] pipe: iovec: Fix memory corruption when retrying atomic copy as non-atomic

2015-09-15 Thread lizf
From: Ben Hutchings 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- pipe_iov_copy_{from,to}_user() may be tried twice with the same iovec, the first time atomically and the second time not. The second attempt needs to continue from the iovec pos

[PATCH 3.4 122/146] vfs: read file_handle only once in handle_to_path

2015-09-15 Thread lizf
From: Sasha Levin 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 161f873b89136eb1e69477c847d5a5033239d9ba upstream. We used to read file_handle twice. Once to get the amount of extra bytes, and once to fetch the entire structure. This

[PATCH 3.4 117/146] USB: serial: ftdi_sio: Add support for a Motion Tracker Development Board

2015-09-15 Thread lizf
From: Patrick Riphagen 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 1df5b888f54070a373a73b34488cc78c2365b7b4 upstream. This adds support for new Xsens device, Motion Tracker Development Board, using Xsens' own Vendor ID Signed-off-by:

[PATCH 3.4 118/146] ozwpan: Use proper check to prevent heap overflow

2015-09-15 Thread lizf
From: "Jason A. Donenfeld" 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit d114b9fe78c8d6fc6e70808c2092aa307c36dc8e upstream. Since elt->length is a u8, we can make this variable a u8. Then we can do proper bounds checking more easily. Wi

[PATCH 3.4 127/146] MIPS: Fix enabling of DEBUG_STACKOVERFLOW

2015-09-15 Thread lizf
From: James Hogan 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 5f35b9cd553fd64415b563497d05a563c988dbd6 upstream. Commit 334c86c494b9 ("MIPS: IRQ: Add stackoverflow detection") added kernel stack overflow detection, however it only ena

Re: [PATCH v3 2/8] genirq: irqdomain: Remove irqdomain dependency on struct device_node

2015-09-15 Thread Marc Zyngier
On 15/09/15 00:15, Rafael J. Wysocki wrote: > On Monday, September 14, 2015 05:44:01 PM Marc Zyngier wrote: >> struct device_node is very much DT specific, and the original authors >> of the irqdomain subsystem recognized that tie, and went as far as >> mentionning that this could be replaced by so

[PATCH 3.4 120/146] ozwpan: unchecked signed subtraction leads to DoS

2015-09-15 Thread lizf
From: "Jason A. Donenfeld" 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 9a59029bc218b48eff8b5d4dde5662fd79d3e1a8 upstream. The subtraction here was using a signed integer and did not have any bounds checking at all. This commit adds pr

[PATCH 3.4 130/146] bridge: fix multicast router rlist endless loop

2015-09-15 Thread lizf
From: Nikolay Aleksandrov 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 1a040eaca1a22f8da8285ceda6b5e4a2cb704867 upstream. Since the addition of sysfs multicast router support if one set multicast_router to "2" more than once, then the

[PATCH 3.4 124/146] ALSA: hda/realtek - Add a fixup for another Acer Aspire 9420

2015-09-15 Thread lizf
From: Takashi Iwai 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit b5d724b1add6eabf3aa7276ab3454ea9f45eebd3 upstream. Acer Aspire 9420 with ALC883 (1025:0107) needs the fixup for EAPD to make the sound working like other Aspire models. B

Re: [PATCH 0/5] New Atmel PIO4 pinctrl/gpio driver

2015-09-15 Thread Ludovic Desroches
Hi Sascha, On Tue, Sep 15, 2015 at 10:57:03AM +0200, Sascha Hauer wrote: > Hi Ludovic, > > On Mon, Sep 07, 2015 at 03:12:10PM +0200, Ludovic Desroches wrote: > > Hi Sascha, > > > > Any comments about this version? Maybe you missed it since you answered > > me on the RFC version. Of course I'll d

[PATCH 3.4 128/146] bridge: use _bh spinlock variant for br_fdb_update to avoid lockup

2015-09-15 Thread lizf
From: Wilson Kok 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 1d7c49037b12016e7056b9f2c990380e2187e766 upstream. br_fdb_update() can be called in process context in the following way: br_fdb_add() -> __br_fdb_add() -> br_fdb_update() (

[PATCH 3.4 125/146] ALSA: usb-audio: add MAYA44 USB+ mixer control names

2015-09-15 Thread lizf
From: Clemens Ladisch 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 044bddb9ca8d49edb91bc22b9940a463b0dbb97f upstream. Add mixer control names for the ESI Maya44 USB+ (which appears to be identical width the AudioTrak Maya44 USB). Repo

Re: [PATCH] sched/fair: adjust the depth of a sched_entity when its parent changes

2015-09-15 Thread Peter Zijlstra
On Mon, Sep 14, 2015 at 10:32:42PM -0700, Shayan Pooya wrote: > Fixes commit fed14d45f945 ("sched/fair: Track cgroup depth") > Hit this kernel panic mentioned in https://lkml.org/lkml/2014/2/15/217 > when running docker with kernel 3.16. v3.16 includes the fix from that thread (and I had to look

[PATCH] scsi: provide UAPI version of scsi/sg.h and scsi/scsi_ioctl.h

2015-09-15 Thread Paolo Bonzini
Provide a UAPI version of the header in the kernel, making it easier for interested projects to use an up-to-date version of the header. The new headers are placed under uapi/linux/scsi/ so as not to conflict with the glibc-provided headers in /usr/include/scsi. Cc: Andy Grover Cc: James Bottoml

[PATCH 3.4 103/146] powerpc: Align TOC to 256 bytes

2015-09-15 Thread lizf
From: Anton Blanchard 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 5e95235ccd5442d4a4fe11ec4eb99ba1b7959368 upstream. Recent toolchains force the TOC to be 256 byte aligned. We need to enforce this alignment in our linker script, other

[PATCH 3.4 110/146] ARM: dts: imx27: only map 4 Kbyte for fec registers

2015-09-15 Thread lizf
From: Philippe Reynes 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit a29ef819f3f34f89a1b9b6a939b4c1cdfe1e85ce upstream. According to the imx27 documentation, fec has a 4 Kbyte memory space map. Moreover, the actual 16 Kbyte mapping overl

[PATCH 3.4 114/146] fs, omfs: add NULL terminator in the end up the token list

2015-09-15 Thread lizf
From: Sasha Levin 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit dcbff39da3d815f08750552fdd04f96b51751129 upstream. match_token() expects a NULL terminator at the end of the token list so that it would know where to stop. Not having one

[PATCH 3.4 100/146] ASoC: wm8960: fix "RINPUT3" audio route error

2015-09-15 Thread lizf
From: Zidan Wang 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 85e36a1f4a735d991ba5106781ea48e89a0b8901 upstream. It should be "RINPUT3" instead of "LINPUT3" route to "Right Input Mixer". Signed-off-by: Zidan Wang Acked-by: Charles Ke

Re: [PATCH V3 3/3] reset: hi6220: Reset driver for hisilicon hi6220 SoC

2015-09-15 Thread Philipp Zabel
Hi, Am Dienstag, den 15.09.2015, 11:58 +0800 schrieb Chen Feng: [...] > diff --git a/drivers/reset/hisilicon/Kconfig b/drivers/reset/hisilicon/Kconfig > new file mode 100644 > index 000..26bf95a > --- /dev/null > +++ b/drivers/reset/hisilicon/Kconfig > @@ -0,0 +1,5 @@ > +config COMMON_RESET_HI

[PATCH 3.4 109/146] bridge: fix parsing of MLDv2 reports

2015-09-15 Thread lizf
From: Thadeu Lima de Souza Cascardo 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 47cc84ce0c2fe75c99ea5963c4b5704dd78ead54 upstream. When more than a multicast address is present in a MLDv2 report, all but the first address is ignored,

[PATCH 3.4 101/146] ASoC: wm8994: correct BCLK DIV 348 to 384

2015-09-15 Thread lizf
From: Zidan Wang 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 17fc2e0a3db11889e942c5ab15a1fcb876638f25 upstream. According to the RM of wm8958, BCLK DIV 348 doesn't exist, correct it to 384. Signed-off-by: Zidan Wang Acked-by: Charle

[PATCH 3.4 105/146] mmc: atmel-mci: fix bad variable type for clkdiv

2015-09-15 Thread lizf
From: Ludovic Desroches 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 60c8f783a18feb95ad967c87e9660caf09fb4700 upstream. clkdiv is declared as an u32 but it can be set to a negative value causing a huge divisor value. Change its type to

[PATCH 3.4 102/146] Input: elantech - fix semi-mt protocol for v3 HW

2015-09-15 Thread lizf
From: Benjamin Tissoires 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 3c0213d17a09601e0c6c0ae0e27caf70d988290f upstream. When the v3 hardware sees more than one finger, it uses the semi-mt protocol to report the touches. However, it cu

[PATCH 3.4 107/146] xen/events: don't bind non-percpu VIRQs with percpu chip

2015-09-15 Thread lizf
From: David Vrabel 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 77bb3dfdc0d554befad58fdefbc41be5bc3ed38a upstream. A non-percpu VIRQ (e.g., VIRQ_CONSOLE) may be freed on a different VCPU than it is bound to. This can result in a race

Re: [PATCH V3 1/3] arm64: dts: Add reset dts config for Hisilicon Hi6220 SoC

2015-09-15 Thread Philipp Zabel
Am Dienstag, den 15.09.2015, 11:58 +0800 schrieb Chen Feng: > Add reset controller for hi6220 hikey-board. > > Signed-off-by: Chen Feng > --- > arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi >

[PATCH 3.4 113/146] lguest: fix out-by-one error in address checking.

2015-09-15 Thread lizf
From: Rusty Russell 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 83a35114d0e4583e6b0ca39502e68b6a92e2910c upstream. This bug has been there since day 1; addresses in the top guest physical page weren't considered valid. You could map

[PATCH 3.4 092/146] ahci: un-staticize ahci_dev_classify

2015-09-15 Thread lizf
From: Rob Herring 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit bbb4ab43f82adf02c8b4d0d7e7b7e79d24204b05 upstream. Make ahci_dev_classify available to the ahci platform driver for custom hard reset function. Signed-off-by: Rob Herring

Re: [PATCH] kernel/sysctl.c: If "count" including the terminating byte '\0' the write system call should retrun success.

2015-09-15 Thread Sean Fu
According to POSIX standard, "The write() function shall attempt to write nbyte bytes from the buffer pointed to by buf to the file associated with the open file descriptor, fildes.". So it is not the length of string(strlen). On Mon, Sep 14, 2015 at 4:05 AM, Steven Rostedt wrote: > On Sun, 13 S

[PATCH 3.4 083/146] USB: cp210x: add ID for KCF Technologies PRN device

2015-09-15 Thread lizf
From: Mark Edwards 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit c735ed74d83f8ecb45c4c4c95a16853c9c3c8157 upstream. Added the USB serial console device ID for KCF Technologies PRN device which has a USB port for its serial console. Sig

[PATCH 3.4 095/146] drm/radeon: fix VM_CONTEXT*_PAGE_TABLE_END_ADDR handling

2015-09-15 Thread lizf
From: Christian König 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 607d48063512707a414e346972e2210dc71ab491 upstream. The mapping range is inclusive between starting and ending addresses. Signed-off-by: Christian König Signed-off-by:

[PATCH 3.4 087/146] md/raid5: don't record new size if resize_stripes fails.

2015-09-15 Thread lizf
From: NeilBrown 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 6e9eac2dcee5e19f125967dd2be3e36558c42fff upstream. If any memory allocation in resize_stripes fails we will return -ENOMEM, but in some cases we update conf->pool_size anyway

Re: [PATCH] staging/rtl8192u: remove unused function

2015-09-15 Thread Nicolas Joseph
Le 14/09/15 à 14:25, Raphaël Beamonte a écrit : > Not sure the commit message is really clear. Something like this seems > more clean to me: > "Remove unused function N_DBPSOfRate. This function was only > used by function ComputeTxTime that was removed in a previous > commit." Indeed, is more cle

[PATCH 3.4 093/146] ahci: avoton port-disable reset-quirk

2015-09-15 Thread lizf
From: Dan Williams 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit dbfe8ef5599a5370abc441fcdbb382b656563eb4 upstream. Avoton AHCI occasionally sees drive probe timeouts at driver load time. When this happens SCR_STATUS indicates device de

[PATCH 3.4 094/146] ARM: net: delegate filter to kernel interpreter when imm_offset() return value can't fit into 12bits.

2015-09-15 Thread lizf
From: Nicolas Schichan 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 0b59d8806a31bb0267b3a461e8fef20c727bdbf6 upstream. The ARM JIT code emits "ldr rX, [pc, #offset]" to access the literal pool. #offset maximum value is 4095 and if the

<    1   2   3   4   5   6   7   8   9   10   >