[PATCH 3.4 081/107] virtio-net: drop NETIF_F_FRAGLIST

2016-03-16 Thread lizf
From: Jason Wang 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 48900cb6af4282fa0fb6ff4d72a81aa3dadb5c39 upstream. virtio declares support for NETIF_F_FRAGLIST, but assumes that there are at most MAX_SKB_FRAGS + 2 fragments which isn't a

[PATCH 3.4 080/107] sg_start_req(): make sure that there's not too many elements in iovec

2016-03-16 Thread lizf
From: Al Viro 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 451a2886b6bf90e2fb378f7c46c655450fb96e81 upstream. unfortunately, allowing an arbitrary 16bit value means a possibility of overflow in the calculation of total number of pages

[PATCH 3.4 073/107] sctp: donot reset the overall_error_count in SHUTDOWN_RECEIVE state

2016-03-16 Thread lizf
From: lucien 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit f648f807f61e64d247d26611e34cc97e4ed03401 upstream. Commit f8d960524328 ("sctp: Enforce retransmission limit during shutdown") fixed a problem with excessive retransmissions in t

[PATCH 3.4 077/107] net: add validation for the socket syscall protocol argument

2016-03-16 Thread lizf
From: Hannes Frederic Sowa 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 79462ad02e861803b3840cc782248c7359451cd9 upstream. 郭永刚 reported that one could simply crash the kernel as root by using a simple program: int socket_fd;

[PATCH 3.4 074/107] Revert "usb: dwc3: Reset the transfer resource index on SET_INTERFACE"

2016-03-16 Thread lizf
From: Zefan Li 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- It was applied to the wrong function. This reverts commit 15488de7b72b6ab8254dda07053faa4be6b9ec66. --- drivers/usb/dwc3/ep0.c | 4 1 file changed, 4 deletions(-) diff --git a

[PATCH 3.4 079/107] RDS: fix race condition when sending a message on unbound socket

2016-03-16 Thread lizf
From: Quentin Casasnovas 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 8c7188b23474cca017b3ef354c4a58456f68303a upstream. Sasha's found a NULL pointer dereference in the RDS connection code when sending a message to an apparently unboun

Re: [PART1 RFC v2 05/10] KVM: x86: Detect and Initialize AVIC support

2016-03-16 Thread Suravee Suthikulpanit
Hi, On 03/16/2016 02:20 PM, Paolo Bonzini wrote: On 16/03/2016 07:22, Suravee Suthikulpanit wrote: >This is mainly causing a large number of VMEXIT due to NPF. Got it, it's here in the manual: "System software is responsible for setting up a translation in the nested page table granting guest

[PATCH 3.4 076/107] pptp: verify sockaddr_len in pptp_bind() and pptp_connect()

2016-03-16 Thread lizf
From: WANG Cong 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 09ccfd238e5a0e670d8178cf50180ea81ae09ae1 upstream. Reported-by: Dmitry Vyukov Signed-off-by: Cong Wang Signed-off-by: David S. Miller Signed-off-by: Zefan Li --- drivers

Re: [patch] ALSA: mixart: silence an uninitialized variable warning

2016-03-16 Thread walter harms
Am 16.03.2016 08:42, schrieb Dan Carpenter: > We could print the uninitialized value of "stat" in the error message. > > Signed-off-by: Dan Carpenter > > diff --git a/sound/pci/mixart/mixart.c b/sound/pci/mixart/mixart.c > index bc81b9f..25c0ddd 100644 > --- a/sound/pci/mixart/mixart.c > +++ b

Re: [PATCH RFC 1/2] scatterlist: add mempool based chained SG alloc/free api

2016-03-16 Thread Christoph Hellwig
> /* > + * The maximum number of SG segments that we will put inside a > + * scatterlist. > + * > + * XXX: what's the best number? > + */ > +#define SG_MAX_SEGMENTS 128 The important part here is that it's the amount we fit into a single scatterlist chunk. So I think naming

[PATCH 3.4 072/107] net: Fix RCU splat in af_key

2016-03-16 Thread lizf
From: David Ahern 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit ba51b6be38c122f7dab40965b4397aaf6188a464 upstream. Hit the following splat testing VRF change for ipsec: [ 113.475692] === [ 113.476194] [ IN

[PATCH 3.4 078/107] RDS: verify the underlying transport exists before creating a connection

2016-03-16 Thread lizf
From: Sasha Levin 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 74e98eb085889b0d2d4908f59f6e00026063014f upstream. There was no verification that an underlying transport exists when creating a connection, this would cause dereferencing

[PATCH 3.4 070/107] EDAC, ppc4xx: Access mci->csrows array elements properly

2016-03-16 Thread lizf
From: Michael Walle 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 5c16179b550b9fd8114637a56b153c9768ea06a5 upstream. The commit de3910eb79ac ("edac: change the mem allocation scheme to make Documentation/kobject.txt

[PATCH 3.4 066/107] localmodconfig: Use Kbuild files too

2016-03-16 Thread lizf
From: Richard Weinberger 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit c0ddc8c745b7f89c50385fd7aa03c78dc543fa7a upstream. In kbuild it is allowed to define objects in files named "Makefile" and "Kbuild". Currently localmodconfig reads o

[PATCH 3.4 065/107] x86/ldt: Correct FPU emulation access to LDT

2016-03-16 Thread lizf
From: Juergen Gross 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 4809146b86c3d41ce588fdb767d021e2a80600dd upstream. Commit 37868fe113ff ("x86/ldt: Make modify_ldt synchronous") introduced a new struct ldt_struct anchored at mm->context

[PATCH 3.4 071/107] ipc,sem: fix use after free on IPC_RMID after a task using same semaphore set exits

2016-03-16 Thread lizf
From: "Herton R. Krzesinski" 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 602b8593d2b4138c10e922eeaafe306f6b51817b upstream. The current semaphore code allows a potential use after free: in exit_sem we may free the task's sem_undo_list

[PATCH 3.4 069/107] libfc: Fix fc_fcp_cleanup_each_cmd()

2016-03-16 Thread lizf
From: Bart Van Assche 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 8f2777f53e3d5ad8ef2a176a4463a5c8e1a16431 upstream. Since fc_fcp_cleanup_cmd() can sleep this function must not be called while holding a spinlock. This patch avoids tha

[PATCH] md/raid5: Cleanup cpu hotplug notifier

2016-03-16 Thread Anna-Maria Gleixner
The raid456_cpu_notify() hotplug callback lacks handling of the CPU_UP_CANCELED case. That means if CPU_UP_PREPARE fails, the scratch buffer is leaked. Add handling for CPU_UP_CANCELED[_FROZEN] hotplug notifier transitions to free the scratch buffer. CC: Shaohua Li CC: linux-r...@vger.kernel.org

[PATCH 3.4 064/107] x86/ldt: Correct LDT access in single stepping logic

2016-03-16 Thread lizf
From: Juergen Gross 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 136d9d83c07c5e30ac49fc83b27e8c4842f108fc upstream. Commit 37868fe113ff ("x86/ldt: Make modify_ldt synchronous") introduced a new struct ldt_struct anchored at mm->context

Re: [PATCH 1/2] pinctrl: sh-pfc: enable to indicate GPSR/IPSR/MOD_SEL for debug

2016-03-16 Thread Geert Uytterhoeven
Hi Morimoto-san, On Wed, Mar 16, 2016 at 1:47 AM, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > Current sh_pfc can't indicate GPSR/IPSR/MOD_SEL name for debug. > Of course we can get it from indicated register address, but it > is not convenient. This patch enables to indicate these. >

[PATCH 3.4 068/107] libiscsi: Fix host busy blocking during connection teardown

2016-03-16 Thread lizf
From: John Soni Jose 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 660d0831d1494a6837b2f810d08b5be092c1f31d upstream. In case of hw iscsi offload, an host can have N-number of active connections. There can be IO's running on some connec

[PATCH 3.4 062/107] MIPS: Make set_pte() SMP safe.

2016-03-16 Thread lizf
From: David Daney 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 46011e6ea39235e4aca656673c500eac81a07a17 upstream. On MIPS the GLOBAL bit of the PTE must have the same value in any aligned pair of PTEs. These pairs of PTEs are referred

Re: [PATCH RFC 0/2] mempool based chained scatterlist alloc/free api api

2016-03-16 Thread Christoph Hellwig
On Tue, Mar 15, 2016 at 04:12:03PM -0700, James Bottomley wrote: > motion. If you add in one patch and remove in another the code motion > trackers don't see it. Agreed, having the move in a single patch would be nice. > Thirdly, are you sure the pool structure for NVMe should be the same as > f

[PATCH 3.4 055/107] x86/xen: Probe target addresses in set_aliased_prot() before the hypercall

2016-03-16 Thread lizf
From: Andy Lutomirski 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit aa1acff356bbedfd03b544051f5b371746735d89 upstream. The update_va_mapping hypercall can fail if the VA isn't present in the guest's page tables. Under certain loads, th

[tip:efi/core] x86/mm/pat: Fix boot crash when 1GB pages are not supported by the CPU

2016-03-16 Thread tip-bot for Matt Fleming
Commit-ID: d367cef0a7f0c6ee86e997c0cb455b21b3c6b9ba Gitweb: http://git.kernel.org/tip/d367cef0a7f0c6ee86e997c0cb455b21b3c6b9ba Author: Matt Fleming AuthorDate: Mon, 14 Mar 2016 10:33:01 + Committer: Ingo Molnar CommitDate: Wed, 16 Mar 2016 09:00:49 +0100 x86/mm/pat: Fix boot crash

[PATCH 3.4 060/107] rds: fix an integer overflow test in rds_info_getsockopt()

2016-03-16 Thread lizf
From: Dan Carpenter 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 468b732b6f76b138c0926eadf38ac88467dcd271 upstream. "len" is a signed integer. We check that len is not negative, so it goes from zero to INT_MAX. PAGE_SIZE is unsigned

[PATCH 3.4 063/107] ocfs2: fix BUG in ocfs2_downconvert_thread_do_work()

2016-03-16 Thread lizf
From: Joseph Qi 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 209f7512d007980fd111a74a064d70a3656079cf upstream. The "BUG_ON(list_empty(&osb->blocked_lock_list))" in ocfs2_downconvert_thread_do_work can be triggered in the following cas

[PATCH 3.4 058/107] MIPS: Fix sched_getaffinity with MT FPAFF enabled

2016-03-16 Thread lizf
From: Felix Fietkau 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 1d62d737555e1378eb62a8bba26644f7d97139d2 upstream. p->thread.user_cpus_allowed is zero-initialized and is only filled on the first sched_setaffinity call. To avoid addin

[PATCH 3.4 061/107] perf: Fix fasync handling on inherited events

2016-03-16 Thread lizf
From: Peter Zijlstra 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit fed66e2cdd4f127a43fd11b8d92a99bdd429528c upstream. Vince reported that the fasync signal stuff doesn't work proper for inherited events. So fix that. Installing fasync

[PATCH 3.4 056/107] x86/ldt: Make modify_ldt synchronous

2016-03-16 Thread lizf
From: Andy Lutomirski 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 37868fe113ff2ba814b3b4eb12df214df555f8dc upstream. modify_ldt() has questionable locking and does not synchronize threads. Improve it: redesign the locking and synchro

Re: [PATCH] media: add GFP flag to media_*() that could get called in atomic context

2016-03-16 Thread Sakari Ailus
Hi Mauro, On Tue, Mar 15, 2016 at 12:55:35PM -0300, Mauro Carvalho Chehab wrote: > Em Mon, 14 Mar 2016 14:09:09 +0200 > Sakari Ailus escreveu: > > > Hi Mauro, > > > > On Mon, Mar 14, 2016 at 08:46:33AM -0300, Mauro Carvalho Chehab wrote: > > > Em Mon, 14 Mar 2016 12:52:54 +0200 > > > Sakari Ail

Re: [PATCH 5/8] sched/cpufreq: pass sched class into cpufreq_update_util

2016-03-16 Thread Vincent Guittot
On 16 March 2016 at 08:41, Peter Zijlstra wrote: > On Tue, Mar 15, 2016 at 03:06:09PM -0700, Michael Turquette wrote: >> Quoting Peter Zijlstra (2016-03-15 14:25:20) >> > On Sun, Mar 13, 2016 at 10:22:09PM -0700, Michael Turquette wrote: >> > > +++ b/include/linux/sched.h >> > > @@ -2362,15 +2362,

[PATCH 3.4 057/107] md/raid1: extend spinlock to protect raid1_end_read_request against inconsistencies

2016-03-16 Thread lizf
From: NeilBrown 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 423f04d63cf421ea436bcc5be02543d549ce4b28 upstream. raid1_end_read_request() assumes that the In_sync bits are consistent with the ->degaded count. raid1_spare_active updates

[tip:x86/urgent] x86/mm, x86/mce: Fix return type/value for memcpy_mcsafe()

2016-03-16 Thread tip-bot for Tony Luck
Commit-ID: cbf8b5a2b649a501758291cb4d4ba1e5711771ba Gitweb: http://git.kernel.org/tip/cbf8b5a2b649a501758291cb4d4ba1e5711771ba Author: Tony Luck AuthorDate: Mon, 14 Mar 2016 15:33:39 -0700 Committer: Ingo Molnar CommitDate: Wed, 16 Mar 2016 09:02:18 +0100 x86/mm, x86/mce: Fix return ty

Re: [PATCH v2] atomic: Fix bugs in 'fetch_or()' and rename it to 'xchg_or()'

2016-03-16 Thread Peter Zijlstra
On Wed, Mar 16, 2016 at 09:04:37AM +0100, Ingo Molnar wrote: > atomic_fetch_or() > atomic_fetch_and() > atomic_fetch_not() Sure we can go add those. I have a flight scheduled early next month, I'll try and have a go at adding all the fetch_$op variants to all arches.

[PATCH 3.4 051/107] USB: sierra: add 1199:68AB device ID

2016-03-16 Thread lizf
From: Dirk Behme 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 74472233233f577eaa0ca6d6e17d9017b6e53150 upstream. Add support for the Sierra Wireless AR8550 device with USB descriptor 0x1199, 0x68AB. It is common with MC879x modules 11

[PATCH 3.4 043/107] Input: usbtouchscreen - avoid unresponsive TSC-30 touch screen

2016-03-16 Thread lizf
From: Bernhard Bender 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 968491709e5b1aaf429428814fff3d932fa90b60 upstream. This patch fixes a problem in the usbtouchscreen driver for DMC TSC-30 touch screen. Due to a missing delay between

[PATCH 3.4 049/107] niu: don't count tx error twice in case of headroom realloc fails

2016-03-16 Thread lizf
From: Jiri Pirko 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 42288830494cd51873ca745a7a229023df061226 upstream. Fixes: a3138df9 ("[NIU]: Add Sun Neptune ethernet driver.") Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller Sig

Re: [PATCH 2/2] pinctrl: sh-pfc: IPSRx and MOD_SELx should be set before GPSRx

2016-03-16 Thread Geert Uytterhoeven
Hi Morimoto-san, On Wed, Mar 16, 2016 at 1:48 AM, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > Gen2 / Gen3 datasheet will have below note in next version. > This patch follows this note. > > IPSRx and MOD_SELx registers shall be set before setting GPSRx > registers in case that they ne

[PATCH 3.4 052/107] ALSA: usb-audio: add dB range mapping for some devices

2016-03-16 Thread lizf
From: Yao-Wen Mao 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 2d1cb7f658fb9c3ba8f9dab8aca297d4dfdec835 upstream. Add the correct dB ranges of Bose Companion 5 and Drangonfly DAC 1.2. Signed-off-by: Yao-Wen Mao Signed-off-by: Takashi

[PATCH 3.4 046/107] netfilter: nf_conntrack: Support expectations in different zones

2016-03-16 Thread lizf
From: Joe Stringer 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 4b31814d20cbe5cd4ccf18089751e77a04afe4f2 upstream. When zones were originally introduced, the expectation functions were all extended to perform lookup using the zone. How

[PATCH 3.4 047/107] crypto: ixp4xx - Remove bogus BUG_ON on scattered dst buffer

2016-03-16 Thread lizf
From: Herbert Xu 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit f898c522f0e9ac9f3177d0762b76e2ab2d2cf9c0 upstream. This patch removes a bogus BUG_ON in the ablkcipher path that triggers when the destination buffer is different from the s

Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to 4KB regardless of system page size"

2016-03-16 Thread Alexey Kardashevskiy
On 03/16/2016 05:09 PM, Eli Cohen wrote: On Wed, Mar 16, 2016 at 04:49:00PM +1100, Alexey Kardashevskiy wrote: On 03/16/2016 04:10 PM, Eli Cohen wrote: On Wed, Mar 16, 2016 at 01:07:58PM +1100, Alexey Kardashevskiy wrote: So with v4.5 as a host, there is no actual distro available today to us

[PATCH 3.4 050/107] vhost: actually track log eventfd file

2016-03-16 Thread lizf
From: Marc-André Lureau 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 7932c0bd7740f4cd2aa168d3ce0199e7af7d72d5 upstream. While reviewing vhost log code, I found out that log_file is never set. Note: I haven't tested the change (QEMU doe

[PATCH 3.4 045/107] mmc: block: Add missing mmc_blk_put() in power_ro_lock_show()

2016-03-16 Thread lizf
From: Tomas Winkler 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 9098f84cced870f54d8c410dd2444cfa61467fa0 upstream. Enclosing mmc_blk_put() is missing in power_ro_lock_show() sysfs handler, let's add it. Fixes: add710eaa886 ("mmc: boo

[PATCH 3.4 044/107] md/raid1: fix test for 'was read error from last working device'.

2016-03-16 Thread lizf
From: NeilBrown 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 34cab6f42003cb06f48f86a86652984dec338ae9 upstream. When we get a read error from the last working device, we don't try to repair it, and don't fail the device. We simple rep

[PATCH 3.4 039/107] xhci: report U3 when link is in resume state

2016-03-16 Thread lizf
From: Zhuang Jin Can 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 243292a2ad3dc365849b820a64868927168894ac upstream. xhci_hub_report_usb3_link_state() returns pls as U0 when the link is in resume state, and this causes usb core to thin

[PATCH 3.4 041/107] usb-storage: ignore ZTE MF 823 card reader in mode 0x1225

2016-03-16 Thread lizf
From: Oliver Neukum 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 5fb2c782f451a4fb9c19c076e2c442839faf0f76 upstream. This device automatically switches itself to another mode (0x1405) unless the specific access pattern of Windows is fol

[PATCH 3.4 042/107] tile: use free_bootmem_late() for initrd

2016-03-16 Thread lizf
From: Chris Metcalf 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 3f81d2447b37ac697b3c600039f2c6b628c06e21 upstream. We were previously using free_bootmem() and just getting lucky that nothing too bad happened. Signed-off-by: Chris Met

[PATCH 3.4 038/107] xhci: Calculate old endpoints correctly on device reset

2016-03-16 Thread lizf
From: Brian Campbell 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 326124a027abc9a7f43f72dc94f6f0f7a55b02b3 upstream. When resetting a device the number of active TTs may need to be corrected by xhci_update_tt_active_eps, but the number

[PATCH 3.4 033/107] inet: frags: fix defragmented packet's IP header for af_packet

2016-03-16 Thread lizf
From: Edward Hyunkoo Jee 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 0848f6428ba3a2e42db124d41ac6f548655735bf upstream. When ip_frag_queue() computes positions, it assumes that the passed sk_buff does not contain L2 headers. However,

[PATCH 3.4 036/107] usb: dwc3: Reset the transfer resource index on SET_INTERFACE

2016-03-16 Thread lizf
From: John Youn 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit aebda618718157a69c0dc0adb978d69bc2b8723c upstream. This fixes an issue introduced in commit b23c843992b6 (usb: dwc3: gadget: fix DEPSTARTCFG for non-EP0 EPs) that made sure w

[PATCH 3.4 037/107] usb: xhci: Bugfix for NULL pointer deference in xhci_endpoint_init() function

2016-03-16 Thread lizf
From: AMAN DEEP 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 3496810663922617d4b706ef2780c279252ddd6a upstream. virt_dev->num_cached_rings counts on freed ring and is not updated correctly. In xhci_free_or_cache_endpoint_ring() functio

[PATCH 3.4 034/107] md: make sure everything is freed when dm-raid stops an array.

2016-03-16 Thread lizf
From: NeilBrown 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 5eff3c439d3478ba9e8ba5f8c0aaf6e6fadb6e58 upstream. md_stop() would stop an array, but not free various attached data structures. For internal arrays, these are freed later in

[PATCH 3.4 029/107] net: Clone skb before setting peeked flag

2016-03-16 Thread lizf
From: Herbert Xu 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 738ac1ebb96d02e0d23bc320302a6ea94c612dec upstream. Shared skbs must not be modified and this is crucial for broadcast and/or multicast paths where we use it as an optimisati

[PATCH 3.4 032/107] mac80211: clear subdir_stations when removing debugfs

2016-03-16 Thread lizf
From: Tom Hughes 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 4479004e6409087d1b4986881dc98c6c15dffb28 upstream. If we don't do this, and we then fail to recreate the debugfs directory during a mode change, then we will fail later tryi

[PATCH 3.4 031/107] can: mcp251x: fix resume when device is down

2016-03-16 Thread lizf
From: Stefan Agner 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 25b401c1816ae64bcc5dcb1d39ab41812522a0ce upstream. If a valid power regulator or a dummy regulator is used (which happens to be the case when no regulator is specified), r

[PATCH 3.4 028/107] libata: increase the timeout when setting transfer mode

2016-03-16 Thread lizf
From: Mikulas Patocka 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit d531be2ca2f27cca5f041b6a140504999144a617 upstream. I have a ST4000DM000 disk. If Linux is booted while the disk is spun down, the command that sets transfer mode causes

[PATCH 3.4 027/107] libata: force disable trim for SuperSSpeed S238

2016-03-16 Thread lizf
From: Arne Fitzenreiter 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit cda57b1b05cf7b8b99ab4b732bea0b05b6c015cc upstream. This device loses blocks, often the partition table area, on trim. Disable TRIM. http://pcengines.ch/msata16a.htm

[PATCH 3.4 025/107] libata: add ATA_HORKAGE_BROKEN_FPDMA_AA quirk for HP 250GB SATA disk VB0250EAVER

2016-03-16 Thread lizf
From: Aleksei Mamlin 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 08c85d2a599d967ede38a847f5594447b6100642 upstream. Enabling AA on HP 250GB SATA disk VB0250EAVER causes errors: [3.788362] ata3.00: failed to enable AA (error_mask=

[PATCH 3.4 024/107] ata: pmp: add quirk for Marvell 4140 SATA PMP

2016-03-16 Thread lizf
From: Lior Amsalem 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 945b47441d83d2392ac9f984e0267ad521f24268 upstream. This commit adds the necessary quirk to make the Marvell 4140 SATA PMP work properly. This PMP doesn't like SRST on port

Re: [PATCH] iio: adc: imx25-gcq: fix do_div

2016-03-16 Thread Lee Jones
On Sat, 12 Mar 2016, Jonathan Cameron wrote: > On 07/03/16 11:06, Sudip Mukherjee wrote: > > On Mon, Mar 07, 2016 at 10:01:34AM +0100, Markus Pargmann wrote: > >> Hi, > >> > >> On Saturday 05 March 2016 18:43:11 Jonathan Cameron wrote: > >>> On 03/03/16 12:51, Sudip Mukherjee wrote: > We are

[PATCH 3.4 022/107] rds: rds_ib_device.refcount overflow

2016-03-16 Thread lizf
From: Wengang Wang 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 4fabb59449aa44a585b3603ffdadd4c5f4d0c033 upstream. Fixes: 3e0249f9c05c ("RDS/IB: add refcount tracking to struct rds_ib_device") There lacks a dropping on rds_ib_device.r

[PATCH 3.4 019/107] net: do not process device backlog during unregistration

2016-03-16 Thread lizf
From: Julian Anastasov 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit e9e4dd3267d0c5234c5c0f47440456b10875dec9 upstream. commit 381c759d9916 ("ipv4: Avoid crashing in ip_error") fixes a problem where processed packet comes from device wi

[PATCH 3.4 023/107] st: null pointer dereference panic caused by use after kref_put by st_open

2016-03-16 Thread lizf
From: "Seymour, Shane M" 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit e7ac6cbec0a354758a1298d3231e4a635362 upstream. Two SLES11 SP3 servers encountered similar crashes simultaneously following some kind of SAN/tape target issue: .

[PATCH 3.4 018/107] rtnetlink: verify IFLA_VF_INFO attributes before passing them to driver

2016-03-16 Thread lizf
From: Daniel Borkmann 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 4f7d2cdfdde71ffe962399b7020c674050329423 upstream. Jason Gunthorpe reported that since commit c02db8c6290b ("rtnetlink: make SR-IOV VF interface symmetric"), we don't v

[PATCH 3.4 016/107] s390/sclp: clear upper register halves in _sclp_print_early

2016-03-16 Thread lizf
From: Martin Schwidefsky 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit f9c87a6f46d508eae0d9ae640be98d50f237f827 upstream. If the kernel is compiled with gcc 5.1 and the XZ compression option the decompress_kernel function calls _sclp_pr

[PATCH 3.4 012/107] dm thin: allocate the cell_sort_array dynamically

2016-03-16 Thread lizf
From: Joe Thornber 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit a822c83e47d97cdef38c4352e1ef62d9f46cfe98 upstream. Given the pool's cell_sort_array holds 8192 pointers it triggers an order 5 allocation via kmalloc. This order 5 alloca

[PATCH 3.4 014/107] USB: cp210x: add ID for Aruba Networks controllers

2016-03-16 Thread lizf
From: Peter Sanford 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit f98a7aa81eeeadcad25665c3501c236d531d4382 upstream. Add the USB serial console device ID for Aruba Networks 7xxx series controllers which have a USB port for their serial

Re: [PATCH] mfd: Fix MACRO for commonly declared MFD cell attributes

2016-03-16 Thread Lee Jones
On Fri, 11 Mar 2016, Laxman Dewangan wrote: > > On Friday 11 March 2016 02:09 PM, Lee Jones wrote: > >On Wed, 09 Mar 2016, Laxman Dewangan wrote: > >>On Wednesday 02 March 2016 06:38 PM, Lee Jones wrote: > >>>On Mon, 29 Feb 2016, Laxman Dewangan wrote: > >>> > On Friday 26 February 2016 10:05

Re: Possible race at user mode helper in request_firmware

2016-03-16 Thread Ming Lei
On Wed, Mar 16, 2016 at 3:02 PM, Chandra Sekhar Lingutla wrote: > Hi Ming, > > > On 03/16/2016 07:36 AM, Ming Lei wrote: >> >> On Tue, Mar 15, 2016 at 11:09 PM, Ming Lei wrote: >>> >>> Hi, >>> >>> On Mon, Mar 14, 2016 at 8:00 PM, wrote: Hello, I see possible race in _request

[PATCH 3.4 013/107] USB: option: add 2020:4000 ID

2016-03-16 Thread lizf
From: Claudio Cappelli 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit f6d7fb37f92622479ef6da604f27561f5045ba1e upstream. Add device Olivetti Olicard 300 (Network Connect: MT6225) - IDs 2020:4000. T: Bus=01 Lev=02 Prnt=04 Port=00 Cnt=01

[PATCH 3.4 011/107] dm btree remove: fix bug in redistribute3

2016-03-16 Thread lizf
From: Dennis Yang 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 4c7e309340ff85072e96f529582d159002c36734 upstream. redistribute3() shares entries out across 3 nodes. Some entries were being moved the wrong way, breaking the ordering.

[PATCH 3.4 010/107] ALSA: usb-audio: Add MIDI support for Steinberg MI2/MI4

2016-03-16 Thread lizf
From: Dominic Sacré 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 0689a86ae814f39af94a9736a0a5426dd82eb107 upstream. The Steinberg MI2 and MI4 interfaces are compatible with the USB class audio spec, but the MIDI part of the devices is

Re: [PATCH] mm: memcontrol: reclaim and OOM kill when shrinking memory.max below usage

2016-03-16 Thread Michal Hocko
On Tue 15-03-16 22:18:48, Johannes Weiner wrote: > On Fri, Mar 11, 2016 at 12:19:31PM +0300, Vladimir Davydov wrote: > > On Fri, Mar 11, 2016 at 09:18:25AM +0100, Michal Hocko wrote: > > > On Thu 10-03-16 15:50:14, Johannes Weiner wrote: > > ... > > > > @@ -5037,9 +5040,36 @@ static ssize_t memory_

[PATCH 3.4 009/107] 9p: don't leave a half-initialized inode sitting around

2016-03-16 Thread lizf
From: Al Viro 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 0a73d0a204a4a04a1e110539c5a524ae51f91d6d upstream. Signed-off-by: Al Viro Signed-off-by: Zefan Li --- fs/9p/vfs_inode.c | 3 +-- fs/9p/vfs_inode_dotl.c | 3 +-- 2 files

[PATCH 3.4 004/107] ext4: avoid deadlocks in the writeback path by using sb_getblk_gfp

2016-03-16 Thread lizf
From: Nikolay Borisov 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit c45653c341f5c8a0ce19c8f0ad4678640849cb86 upstream. Switch ext4 to using sb_getblk_gfp with GFP_NOFS added to fix possible deadlocks in the page writeback path. Signed-

[PATCH 3.4 007/107] hpfs: kstrdup() out of memory handling

2016-03-16 Thread lizf
From: Sanidhya Kashyap 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit ce657611baf902f14ae559ce4e0787ead6712067 upstream. There is a possibility of nothing being allocated to the new_opts in case of memory pressure, therefore return ENOME

[PATCH 3.4 002/107] fs/buffer.c: support buffer cache allocations with gfp modifiers

2016-03-16 Thread lizf
From: Gioh Kim 3.4.111-rc1 review patch. If anyone has any objections, please let me know. -- commit 3b5e6454aaf6b4439b19400d8365e2ec2d24e411 upstream. A buffer cache is allocated from movable area because it is referred for a while and released soon. But some filesystems ar

Re: [PATCH v4 1/3] mmc: sdhci: Set DMA mask when adding host

2016-03-16 Thread Adrian Hunter
On 07/03/16 04:07, Alexandre Courbot wrote: > Set the DMA mask in sdhci_add_host() after we determined the > capabilities of the device. 64-bit devices in particular are given the > proper mask that ensures bounce buffers are not used. > > Also disable DMA if no proper DMA mask can be set, as the

Re: [PATCH v2 1/2] mfd: intel_quark_i2c_gpio: remove clock tree on error path

2016-03-16 Thread Lee Jones
On Thu, 10 Mar 2016, Andy Shevchenko wrote: > On Fri, 2016-02-19 at 10:42 +0200, Andy Shevchenko wrote: > > There is a potential resource leak in case when ->probe() fails. We > > have to > > unregister and remove clock tree which is done here. > > > > This is a follow up to previously pushed com

Re: [PATCH v2 4/5] mmc: davinci: don't use dma platform resources

2016-03-16 Thread Peter Ujfalusi
On 03/15/16 19:14, David Lechner wrote: > On 03/15/2016 03:54 AM, Peter Ujfalusi wrote: >> On 03/15/16 00:54, David Lechner wrote: >>> >>> host->dma_tx = >>> -dma_request_slave_channel_compat(mask, edma_filter_fn, >>> -&host->txdma, mmc_dev(host->mmc), "tx"); >>> +

Re: Possible race at user mode helper in request_firmware

2016-03-16 Thread Chandra Sekhar Lingutla
On 03/16/2016 02:12 PM, Ming Lei wrote: On Wed, Mar 16, 2016 at 3:02 PM, Chandra Sekhar Lingutla wrote: Hi Ming, On 03/16/2016 07:36 AM, Ming Lei wrote: On Tue, Mar 15, 2016 at 11:09 PM, Ming Lei wrote: Hi, On Mon, Mar 14, 2016 at 8:00 PM, wrote: Hello, I see possible race in _requ

Re: [PATCH 5/8] sched/cpufreq: pass sched class into cpufreq_update_util

2016-03-16 Thread Peter Zijlstra
On Wed, Mar 16, 2016 at 09:29:59AM +0100, Vincent Guittot wrote: > I wonder if it's really worth passing per sched_class request to > sched_util ? sched_util is about selecting a frequency based on the > utilization of the CPU, it only needs a value that reflect the whole > utilization. Can't we su

[PATCH V8 00/14] Add T210 support in Tegra soctherm

2016-03-16 Thread Wei Ni
This patchset adds following functions for tegra_soctherm driver: 1. add T210 support. 2. export debugfs to show some registers. 3. add thermtrip funciton. 4. add suspend/resume function. The v7 series is in: https://patchwork.kernel.org/patch/8561681/ The v6 series is in: https://lkml.org/lkml/20

[PATCH V8 02/14] thermal: tegra: combine sensor group-related data

2016-03-16 Thread Wei Ni
Combine sensor group-related data structures into struct tegra_tsensor_group. This provides a single location for sensor group data storage. More sensor group data will be added in subsequent patches. Signed-off-by: Wei Ni --- drivers/thermal/tegra/tegra-soctherm.c | 145 +++

[PATCH V8 05/14] thermal: tegra: add Tegra210 specific SOC_THERM driver

2016-03-16 Thread Wei Ni
Add Tegra210 specific SOC_THERM driver. Signed-off-by: Wei Ni --- drivers/thermal/tegra/Makefile| 1 + drivers/thermal/tegra/soctherm-fuse.c | 11 ++ drivers/thermal/tegra/soctherm.c | 6 ++ drivers/thermal/tegra/soctherm.h | 4 + drivers/thermal/tegra/te

[PATCH V8 01/14] thermal: tegra: move tegra thermal files into tegra directory

2016-03-16 Thread Wei Ni
Move Tegra soctherm driver to tegra directory, it's easy to maintain and add more new function support for Tegra platforms. This will also help to split soctherm driver into common parts and chip specific data related parts. Signed-off-by: Wei Ni --- drivers/thermal/Kconfig

[PATCH V8 03/14] thermal: tegra: get rid of PDIV/HOTSPOT hack

2016-03-16 Thread Wei Ni
Get rid of T124-specific PDIV/HOTSPOT hack. tegra-soctherm.c contained a hack to set the SENSOR_PDIV and SENSOR_HOTSPOT_OFFSET registers - it just did two writes of T124-specific opaque values. Convert these into a form that can be substituted on a per-chip basis, and into structure fields that ha

[PATCH V8 04/14] thermal: tegra: split tegra_soctherm driver

2016-03-16 Thread Wei Ni
Split most of the Tegra124 data and code into a Tegra124-specific file. Split most of the fuse-related code into a fuse-related source file. This is in preparation for adding a Tegra210-specific driver in a future patch. Beyond the maintainability improvements, this is intended to separate chip-sp

[PATCH V8 14/14] arm: tegra: set critical trips for Tegra124

2016-03-16 Thread Wei Ni
Set general "critical" trip temperatures for cpu, gpu, mem and pllx thermal zones for all Tegra124 platform, these trips can trigger shut down or reset. Tegra124 Jetson TK1 was already set "critical" trips before, so it can overwrite the general values. Signed-off-by: Wei Ni --- arch/arm/boot/dt

Re: Possible race at user mode helper in request_firmware

2016-03-16 Thread Ming Lei
On Wed, Mar 16, 2016 at 4:48 PM, Chandra Sekhar Lingutla wrote: > On 03/16/2016 02:12 PM, Ming Lei wrote: >> >> On Wed, Mar 16, 2016 at 3:02 PM, Chandra Sekhar Lingutla >> wrote: >>> >>> Hi Ming, >>> >>> >>> On 03/16/2016 07:36 AM, Ming Lei wrote: On Tue, Mar 15, 2016 at 11:09 PM,

[PATCH V8 08/14] of: add notes of critical trips for soctherm

2016-03-16 Thread Wei Ni
The "critical" type trip in thermal zone can be set to SOC_THERM hardware, it can trigger shut down or reset event from hardware. Signed-off-by: Wei Ni Acked-by: Rob Herring --- Documentation/devicetree/bindings/thermal/tegra-soctherm.txt | 12 1 file changed, 12 insertions(+) dif

[PATCH V8 12/14] thermal: tegra: add PM support

2016-03-16 Thread Wei Ni
Add suspend/resume function in soctherm driver. Signed-off-by: Wei Ni --- drivers/thermal/tegra/soctherm.c | 46 1 file changed, 46 insertions(+) diff --git a/drivers/thermal/tegra/soctherm.c b/drivers/thermal/tegra/soctherm.c index 52793132bd4e..f2b4c4e

[PATCH V8 06/14] thermal: tegra: add a debugfs to show registers

2016-03-16 Thread Wei Ni
Add a debugfs interface to show register contents for debug. Signed-off-by: Wei Ni --- drivers/thermal/tegra/soctherm.c | 146 ++- drivers/thermal/tegra/soctherm.h | 2 + 2 files changed, 145 insertions(+), 3 deletions(-) diff --git a/drivers/thermal/tegra/

[PATCH V8 13/14] arm64: tegra: add soctherm node for Tegra210

2016-03-16 Thread Wei Ni
Adds soctherm node for Tegra210, and add cpu, gpu, mem, pllx as thermal-zones. Set critical trip temperatures for them. Signed-off-by: Wei Ni --- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 92 1 file changed, 92 insertions(+) diff --git a/arch/arm64/boot/dts/nvi

[PATCH V8 07/14] thermal: of-thermal: allow setting trip_temp on hardware

2016-03-16 Thread Wei Ni
In current of-thermal, the .set_trip_temp only support to set trip_temp for SW. But some sensors support to set trip_temp on hardware, so that can trigger interrupt, shutdown or any other events. This patch adds .set_trip_temp() callback in thermal_zone_of_device_ops{}, so that the sensor device ca

[PATCH V8 10/14] thermal: tegra: handle clocks in one function

2016-03-16 Thread Wei Ni
Handle clock enable/disable codes in one funcion soctherm_clk_enable(), so that the codes are more clear. Signed-off-by: Wei Ni --- drivers/thermal/tegra/soctherm.c | 51 1 file changed, 36 insertions(+), 15 deletions(-) diff --git a/drivers/thermal/tegr

[PATCH V8 09/14] thermal: tegra: add thermtrip function

2016-03-16 Thread Wei Ni
Add support for hardware critical thermal limits to the SOC_THERM driver. It use the Linux thermal framework to create critical trip temp, and set it to SOC_THERM hardware. If these limits are breached, the chip will reset, and if appropriately configured, will turn off the PMIC. This support is c

[PATCH V8 11/14] thermal: tegra: handle HW initialization in one funcotion

2016-03-16 Thread Wei Ni
Handle HW initialization in one function soctherm_init(), so that the codes are more clear. Signed-off-by: Wei Ni --- drivers/thermal/tegra/soctherm.c | 85 +--- 1 file changed, 44 insertions(+), 41 deletions(-) diff --git a/drivers/thermal/tegra/soctherm.c b

<    1   2   3   4   >