Re: [PATCH v5 0/3] spi-nor: Add support for Intel SPI serial flash controller

2016-11-19 Thread Boris Brezillon
On Sat, 19 Nov 2016 09:35:46 +0200 Mika Westerberg wrote: > On Fri, Nov 18, 2016 at 07:04:26PM +, Lee Jones wrote: > > On Mon, 14 Nov 2016, Mika Westerberg wrote: > > > > > This is fifth version of the series. You can find the previous versions > > >

Re: [PATCH 00/11] mtd: nand: denali: first round of cleanups of Denali NAND driver

2016-11-19 Thread Boris Brezillon
Hi Masahiro, On Wed, 9 Nov 2016 13:35:19 +0900 Masahiro Yamada wrote: > I am tackling on this driver to use it for my SoCs. > The difficulty is a bunch of platform specific stuff > (more specifically, Intel MRST specific) is hard-coded in this driver. > > I need

[PATCH 0/3] Fix improper handling of pcie hotplug events.

2016-11-19 Thread Ashok Raj
This patch series fixes pciehp for certain special conditions observed during testing. Ashok Raj (3): pciehp: Prioritize data-link event over presence detect pciehp: Fix led status when enabling already enabled slot. pciehp: Fix race condition handling surprise link-down

[PATCH 3/3] pciehp: Fix race condition handling surprise link-down

2016-11-19 Thread Ashok Raj
A surprise link down may retrain very quickly, causing the same slot to generate a link up event before handling the link down completes. Since the link is active, the power off work queued from the first link down will cause a second down event when the power is disabled. The second down event

[GIT PULL] Please pull powerpc/linux.git powerpc-4.9-5 tag

2016-11-19 Thread Michael Ellerman
Hi Linus, Please pull some more powerpc fixes for 4.9: The following changes since commit fb479e44a9e240a23c2d208c2ace23542a47f41c: powerpc/64s: relocation, register save fixes for system reset interrupt (2016-10-27 21:55:14 +1100) are available in the git repository at:

[PATCH 4.4 00/37] 4.4.34-stable review

2016-11-19 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.34 release. There are 37 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Mon Nov 21 09:19:48 UTC 2016. Anything

[PATCH 4.4 05/37] ip6_tunnel: Clear IP6CB in ip6tunnel_xmit()

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eli Cooper [ Upstream commit 23f4ffedb7d751c7e298732ba91ca75d224bc1a6 ] skb->cb may contain data from previous layers. In the observed scenario, the garbage data were

[PATCH 4.4 02/37] net: clear sk_err_soft in sk_clone_lock()

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit e551c32d57c88923f99f8f010e89ca7ed0735e83 ] At accept() time, it is possible the parent has a non zero sk_err_soft, leftover from a prior

[PATCH 4.8 25/49] mlxsw: spectrum_router: Correctly dump neighbour activity

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Arkadi Sharshevsky [ Upstream commit 42cdb338f40a98e6558bae35456fe86b6e90e1ef ] The device's neighbour table is periodically dumped in order to update the kernel about

[PATCH 4.8 19/49] net: icmp_route_lookup should use rt dev to determine L3 domain

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: David Ahern [ Upstream commit 9d1a6c4ea43e48c7880c85971c17939b56832d8a ] icmp_send is called in response to some event. The skb may not have the device set (skb->dev

[PATCH 4.8 17/49] fib_trie: Correct /proc/net/route off by one error

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Duyck [ Upstream commit fd0285a39b1cb496f60210a9a00ad33a815603e7 ] The display of /proc/net/route has had a couple issues due to the fact that when I

[PATCH 4.8 26/49] Revert "bnx2: Reset device during driver initialization"

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Baoquan He [ Upstream commit 5d0d4b91bf627f14f95167b738d524156c9d440b ] This reverts commit 3e1be7ad2d38c6bd6aeef96df9bd0a7822f4e51c. When people build bnx2 driver into

[PATCH 4.8 21/49] ipv4: use new_gw for redirect neigh lookup

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Suryaputra Lin [ Upstream commit 969447f226b451c453ddc83cac6144eaeac6f2e3 ] In v2.6, ip_rt_redirect() calls arp_bind_neighbour() which returns 0 and

[PATCH 4.8 09/49] dccp: do not release listeners too soon

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit c3f24cfb3e508c70c26ee8569d537c8ca67a36c6 ] Andrey Konovalov reported following error while fuzzing with syzkaller : IPv4: Attempt to

[PATCH 4.8 07/49] ipv4: allow local fragmentation in ip_finish_output_gso()

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Lance Richardson [ Upstream commit 9ee6c5dc816aa8256257f2cd4008a9291ec7e985 ] Some configurations (e.g. geneve interface with default MTU of 1500 over an ethernet

Re: [REVIEW][PATCH 0/3] Fixing ptrace vs exec vs userns interactions

2016-11-19 Thread Willy Tarreau
On Sat, Nov 19, 2016 at 10:28:04AM +0100, Willy Tarreau wrote: > On Sat, Nov 19, 2016 at 08:17:00AM +0100, Willy Tarreau wrote: > > Hi Eric, > > > > On Thu, Nov 17, 2016 at 11:02:47AM -0600, Eric W. Biederman wrote: > > > > > > With everyone heading to Kernel Summit and Plumbers I put this set

[PATCH 4.8 02/49] net: clear sk_err_soft in sk_clone_lock()

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit e551c32d57c88923f99f8f010e89ca7ed0735e83 ] At accept() time, it is possible the parent has a non zero sk_err_soft, leftover from a prior

[PATCH 4.8 04/49] bgmac: stop clearing DMA receive control register right after it is set

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Andy Gospodarek [ Upstream commit fcdefccac976ee51dd6071832b842d8fb41c479c ] Current bgmac code initializes some DMA settings in the receive control register for some

[PATCH 4.8 32/49] sparc64: Handle extremely large kernel TSB range flushes sanely.

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 849c498766060a16aad5b0e0d03206726e7d2fa4 ] If the number of pages we are flushing is more than twice the number of entries in the TSB,

[PATCH 4.8 33/49] sparc64: Fix illegal relative branches in hypervisor patched TLB code.

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit b429ae4d5b565a71dfffd759dfcd4f6c093ced94 ] When we copy code over to patch another piece of code, we can only use PC-relative branches

[PATCH 4.8 28/49] sctp: change sk state only when it has assocs in sctp_shutdown

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit 5bf35ddfee052d44f39ebaa395d87101c8918405 ] Now when users shutdown a sock with SEND_SHUTDOWN in sctp, even if this sock has no connection

[PATCH 4.4 15/37] ipv4: use new_gw for redirect neigh lookup

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Suryaputra Lin [ Upstream commit 969447f226b451c453ddc83cac6144eaeac6f2e3 ] In v2.6, ip_rt_redirect() calls arp_bind_neighbour() which returns 0 and

[PATCH 4.4 09/37] ipv6: dccp: fix out of bound access in dccp_v6_err()

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 1aa9d1a0e7eefcc61696e147d123453fc0016005 ] dccp_v6_err() does not use pskb_may_pull() and might access garbage. We only need 4 bytes at

[PATCH 4.4 23/37] sparc64: Fix illegal relative branches in hypervisor patched TLB code.

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit b429ae4d5b565a71dfffd759dfcd4f6c093ced94 ] When we copy code over to patch another piece of code, we can only use PC-relative branches

[PATCH 4.4 20/37] sparc64 mm: Fix base TSB sizing when hugetlb pages are used

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mike Kravetz [ Upstream commit af1b1a9b36b8f9d583d4b4f90dd8946ed0cd4bd0 ] do_sparc64_fault() calculates both the base and huge page RSS sizes and uses this

[PATCH 4.4 22/37] sparc64: Handle extremely large kernel TSB range flushes sanely.

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 849c498766060a16aad5b0e0d03206726e7d2fa4 ] If the number of pages we are flushing is more than twice the number of entries in the TSB,

[PATCH 4.4 21/37] sparc: Handle negative offsets in arch_jump_label_transform

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: James Clarke [ Upstream commit 9d9fa230206a3aea6ef451646c97122f04777983 ] Additionally, if the offset will overflow the immediate for a ba,pt instruction, fall back on a

[PATCH] infiniband: hw: hfi1: constify mmu_notifier_ops structure

2016-11-19 Thread Bhumika Goyal
Declare the structure mmu_notifier_ops as const as it is only stored in the ops field of a mmu_notifier structure. The ops field is of type const struct mmu_notifier_ops *, so mmu_notifier_ops structures having this property can be declared as const. Done using coccinelle: @r1 disable

Re: [PATCH] ASoC: mioa701_wm9713: add missing white space in dev_err message

2016-11-19 Thread Robert Jarzmik
Colin King writes: > From: Colin Ian King > > There is a missing whitespace in the dev_err message between > "will" and "lead". Add the whitespace. > > Signed-off-by: Colin Ian King Acked-by: Robert Jarzmik

Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available

2016-11-19 Thread Michael Kerrisk (man-pages)
Hi Dave, [Best to CC me when I'm mentioned in the discussion. I only caught this by chance.] On 18 November 2016 at 23:17, Dave Chinner wrote: > On Fri, Nov 18, 2016 at 09:48:21PM +, David Howells wrote: >> Dave Chinner wrote: >> >> > > Btw, can

Re: mmiotracer hangs the system

2016-11-19 Thread Karol Herbst
this is odd, I found a bug related to nouveau (modprobe/bind doesn't return), but that isn't related to your issue at all or maybe it is exactly this, cause the binding of the device doesn't return and depending on the kind of driver, it would hang the system... yeah, maybe it is the same issue.

[char-misc-next 4/4 V2] mei: bus: enable non-blocking RX

2016-11-19 Thread Tomas Winkler
From: Alexander Usyskin Enable non-blocking receive for drivers on mei bus, this allows checking for data availability by mei client drivers. This is most effective for fixed address clients, that lacks flow control. This function adds new API function

Re: [PATCH] staging: iio: ad9832:

2016-11-19 Thread Jonathan Cameron
On 19/11/16 11:08, Christophe JAILLET wrote: > Commit a98461d79ba5 ("staging: iio: ad9832: add DVDD regulator") and > commit 43a07e48af44 ("staging: iio: ad9832: clean-up regulator 'reg'") add > some dereference of 'st' which is an un-initialized pointer at this point. > > Re-order code and tweak

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2016-11-19 Thread Paul E. McKenney
On Sat, Nov 19, 2016 at 03:50:32PM +0800, Ding Tianhong wrote: > > > On 2016/11/18 21:01, Paul E. McKenney wrote: > > On Fri, Nov 18, 2016 at 08:40:09PM +0800, Ding Tianhong wrote: > >> The commit bedc196915 ("rcu: Fix soft lockup for rcu_nocb_kthread") > >> will introduce a new problem that

[PATCH 2/3] pciehp: Fix led status when enabling already enabled slot.

2016-11-19 Thread Ashok Raj
If an error occurs enabling a slot on a hot plug event, the presence LED is disabled. It is not an error, though, when the slot was already enabled. This patch returns success if called to enable an already enabled slot. This is in the same spirit of the special handling for EEXISTS when

[PATCH 1/3] pciehp: Prioritize data-link event over presence detect

2016-11-19 Thread Ashok Raj
This patch places higher precedence on a Data Link Layer Status Change event over the Presence Detect Change event in the case the slot status contains both events in the same interrupt. When both events are observed, the pciehp driver is currently relying on the Slot Status Presence Detect State

Linux 4.8.9

2016-11-19 Thread Greg KH
I'm announcing the release of the 4.8.9 kernel. All users of the 4.8 kernel series must upgrade. The updated 4.8.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.8.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.8.9

2016-11-19 Thread Greg KH
diff --git a/Makefile b/Makefile index 8f18daa2c76a..c1519ab85258 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 8 -SUBLEVEL = 8 +SUBLEVEL = 9 EXTRAVERSION = NAME = Psychotic Stoned Sheep diff --git a/arch/arc/kernel/time.c b/arch/arc/kernel/time.c index

Linux 4.4.33

2016-11-19 Thread Greg KH
I'm announcing the release of the 4.4.33 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.4.33

2016-11-19 Thread Greg KH
diff --git a/Makefile b/Makefile index fba9b09a1330..a513c045c8de 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 32 +SUBLEVEL = 33 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/arc/kernel/time.c b/arch/arc/kernel/time.c index

[PATCH 4.4 14/37] net: __skb_flow_dissect() must cap its return value

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 34fad54c2537f7c99d07375e50cb30aa3c23bd83 ] After Tom patch, thoff field could point past the end of the buffer, this could fool some

[PATCH 4.4 35/37] sparc64: Convert U3copy_{from,to}_user to accurate exception reporting.

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit ee841d0aff649164080e445e84885015958d8ff4 ] Report the exact number of bytes which have not been successfully copied when an exception

[PATCH 4.4 16/37] tcp: take care of truncations done by sk_filter()

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit ac6e780070e30e4c35bd395acfe9191e6268bdd3 ] With syzkaller help, Marco Grassi found a bug in TCP stack, crashing in tcp_collapse() Root

[PATCH 4.4 27/37] sparc64: Delete __ret_efault.

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit aa95ce361ed95c72ac42dcb315166bce5cf1a014 ] It is completely unused. Signed-off-by: David S. Miller

[PATCH 4.4 12/37] fib_trie: Correct /proc/net/route off by one error

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Duyck [ Upstream commit fd0285a39b1cb496f60210a9a00ad33a815603e7 ] The display of /proc/net/route has had a couple issues due to the fact that when I

[PATCH 4.4 07/37] dccp: do not send reset to already closed sockets

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 346da62cc186c4b4b1ac59f87f4482b47a047388 ] Andrey reported following warning while fuzzing with syzkaller WARNING: CPU: 1 PID: 21072 at

[PATCH 4.4 11/37] sctp: assign assoc_id earlier in __sctp_connect

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Ricardo Leitner [ Upstream commit 7233bc84a3aeda835d334499dc00448373caf5c0 ] sctp_wait_for_connect() currently already holds the asoc to keep it alive

[PATCH 4.4 19/37] sparc: serial: sunhv: fix a double lock bug

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit 344e3c7734d5090b148c19ac6539b8947fed6767 ] We accidentally take the "port->lock" twice in a row. This old code was supposed to be

[PATCH 4.4 28/37] sparc64: Prepare to move to more saner user copy exception handling.

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 83a17d2661674d8c198adc0e183418f72aabab79 ] The fixup helper function mechanism for handling user copy fault handling is not %100

[PATCH 4.4 18/37] sparc: Dont leak context bits into thread->fault_address

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 4f6deb8cbab532a8d7250bc09234c1795ecb5e2c ] On pre-Niagara systems, we fetch the fault address on data TLB exceptions from the

[PATCH 4.4 25/37] sparc64: Fix illegal relative branches in hypervisor patched TLB cross-call code.

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit a236441bb69723032db94128761a469030c3fe6d ] Just like the non-cross-call TLB flush handlers, the cross-call ones need to avoid doing

[PATCH 4.4 17/37] tty: Prevent ldisc drivers from re-using stale tty fields

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Peter Hurley commit dd42bf1197144ede075a9d4793123f7689e164bc upstream. Line discipline drivers may mistakenly misuse ldisc-related fields when initializing. For

[PATCH 4.4 10/37] ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 990ff4d84408fc55942ca6644f67e361737b3d8e ] While fuzzing kernel with syzkaller, Andrey reported a nasty crash in inet6_bind() caused by

[PATCH 4.8 20/49] net: __skb_flow_dissect() must cap its return value

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 34fad54c2537f7c99d07375e50cb30aa3c23bd83 ] After Tom patch, thoff field could point past the end of the buffer, this could fool some

[PATCH 4.8 36/49] sparc64: Handle extremely large kernel TLB range flushes more gracefully.

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit a74ad5e660a9ee1d071665e7e8ad822784a2dc7f ] When the vmalloc area gets fragmented, and because the firmware mapping area sits between

[PATCH 4.8 22/49] tcp: take care of truncations done by sk_filter()

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit ac6e780070e30e4c35bd395acfe9191e6268bdd3 ] With syzkaller help, Marco Grassi found a bug in TCP stack, crashing in tcp_collapse() Root

[PATCH 4.8 43/49] sparc64: Convert NGcopy_{from,to}_user to accurate exception reporting.

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 7ae3aaf53f1695877ccd5ebbc49ea65991e41f1e ] Report the exact number of bytes which have not been successfully copied when an exception

[PATCH 4.8 41/49] sparc64: Convert U1copy_{from,to}_user to accurate exception reporting.

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit cb736fdbb208eb3420f1a2eb2bfc024a6e9dcada ] Report the exact number of bytes which have not been successfully copied when an exception

[PATCH 4.8 24/49] mlxsw: spectrum: Fix refcount bug on span entries

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Yotam Gigi [ Upstream commit 2d644d4c7506646f9c4a2afceb7fd5f030bc0c9f ] When binding port to a newly created span entry, its refcount is initialized to zero even though

[PATCH 4.8 44/49] sparc64: Convert NG2copy_{from,to}_user to accurate exception reporting.

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit e93704e4464fdc191f73fce35129c18de2ebf95d ] Report the exact number of bytes which have not been successfully copied when an exception

[PATCH 4.8 45/49] sparc64: Convert U3copy_{from,to}_user to accurate exception reporting.

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit ee841d0aff649164080e445e84885015958d8ff4 ] Report the exact number of bytes which have not been successfully copied when an exception

[PATCH 4.8 47/49] sparc64: Delete now unused user copy fixup functions.

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 0fd0ff01d4c3c01e7fe69b762ee1a13236639acc ] Now that all of the user copy routines are converted to return accurate residual lengths

[PATCH 4.8 46/49] sparc64: Delete now unused user copy assembler helpers.

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 614da3d9685b67917cab48c8452fd8bf93de0867 ] All of __ret{,l}_mone{_asi,_fp,_asi_fpu} are now unused. Signed-off-by: David S. Miller

[PATCH 4.8 48/49] usb: gadget: f_fs: edit epfile->ep under lock

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Michal Nazarewicz commit 454915dde06a51133750c6745f0ba57361ba209d upstream. epfile->ep is protected by ffs->eps_lock (not epfile->mutex) so clear it while holding the spin

Re: [REVIEW][PATCH 0/3] Fixing ptrace vs exec vs userns interactions

2016-11-19 Thread Willy Tarreau
On Sat, Nov 19, 2016 at 08:17:00AM +0100, Willy Tarreau wrote: > Hi Eric, > > On Thu, Nov 17, 2016 at 11:02:47AM -0600, Eric W. Biederman wrote: > > > > With everyone heading to Kernel Summit and Plumbers I put this set of > > patches down temporarily. Now is the time to take it back up and to

[PATCH 4.8 39/49] sparc64: Convert copy_in_user to accurate exception reporting.

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 0096ac9f47b1a2e851b3165d44065d18e5f13d58 ] Report the exact number of bytes which have not been successfully copied when an exception

[PATCH 4.8 13/49] ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 990ff4d84408fc55942ca6644f67e361737b3d8e ] While fuzzing kernel with syzkaller, Andrey reported a nasty crash in inet6_bind() caused by

[PATCH 4.8 15/49] bpf: fix htab map destruction when extra reserve is in use

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit 483bed2b0ddd12ec33fc9407e0c6e1088e77a97c ] Commit a6ed3ea65d98 ("bpf: restore behavior of bpf_map_update_elem") added an extra per-cpu

[PATCH 4.8 10/49] dccp: do not send reset to already closed sockets

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 346da62cc186c4b4b1ac59f87f4482b47a047388 ] Andrey reported following warning while fuzzing with syzkaller WARNING: CPU: 1 PID: 21072 at

[PATCH 4.8 11/49] dccp: fix out of bound access in dccp_v4_err()

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 6706a97fec963d6cb3f7fc2978ec1427b4651214 ] dccp_v4_err() does not use pskb_may_pull() and might access garbage. We only need 4 bytes at

Crypto Fixes for 4.9

2016-11-19 Thread Herbert Xu
Hi Linus: This push fixes the following issues: - Compiler warning in caam driver that was the last one remaining. - Do not register aes-xts in caam drivers on unsupported platforms. - Regression in algif_hash interface that may lead to an oops. Please pull from

[PATCH] x86/MCE/AMD: Fix thinko about thresholding_en

2016-11-19 Thread Borislav Petkov
From: Borislav Petkov So adding thresholding_en et al was a good thing for removing the per-CPU thresholding callback, i.e., threshold_cpu_callback. But, in order for it to work and especially that test in mce_threshold_create_device() so that all thresholding banks get properly

RE: [char-misc-next 4/4] mei: bus: enable non-blocking RX

2016-11-19 Thread Winkler, Tomas
> > On Fri, Nov 18, 2016 at 07:30:25PM +, Winkler, Tomas wrote: > > > > > > > > On Thu, Nov 17, 2016 at 04:22:24PM +, Winkler, Tomas wrote: > > > > > Just make a new function mei_cldev_recv_async() and then call a > > > > > local, static function, that does the work with the correct flag

Re: [RFC PATCH] SRCU: More efficient reader counts.

2016-11-19 Thread Paul E. McKenney
On Fri, Nov 18, 2016 at 04:54:42PM -0800, Lance Roy wrote: > On Fri, 18 Nov 2016 15:13:45 -0800 > "Paul E. McKenney" wrote: > > On Fri, Nov 18, 2016 at 12:33:00PM -0800, Lance Roy wrote: > > > The trouble is that disabling preemption is not enough to ensure that > >

Re: [PATCH] iio: adc: New driver for TI ADS79XX chips

2016-11-19 Thread Jonathan Cameron
On 18/11/16 22:28, David Lechner wrote: > This adds a new driver for TI ADS79XX ADC chips. These communicate using > SPI and come in 8/10/12-bit and 4/8/12/16 channel varieties. > > Signed-off-by: David Lechner Hi David, Nice domain name btw ;) Anyhow pretty good.

Re: [PATCH 8/9] mfd: wm97xx-core: core support for wm97xx Codec

2016-11-19 Thread Robert Jarzmik
Lee Jones writes: > On Wed, 26 Oct 2016, Robert Jarzmik wrote: >> +config MFD_WM97xx >> +tristate "Wolfson Microelectronics WM97xx" >> +select MFD_CORE >> +select REGMAP_AC97 >> +select AC97_BUS_COMPAT if AC97_BUS_NEW >> +help >> + > > Surplus '\n' here.

Re: [PATCH 05/11] mtd: nand: denali: remove "Spectra:" prefix from printk strings

2016-11-19 Thread Boris Brezillon
On Fri, 18 Nov 2016 17:42:55 +0900 Masahiro Yamada wrote: > Hi Marek, > > > 2016-11-13 6:35 GMT+09:00 Marek Vasut : > > On 11/09/2016 05:35 AM, Masahiro Yamada wrote: > >> As far as I understood from the Kconfig menu deleted by commit >

Re: [char-misc-next 4/4] mei: bus: enable non-blocking RX

2016-11-19 Thread Greg Kroah-Hartman
On Fri, Nov 18, 2016 at 07:30:25PM +, Winkler, Tomas wrote: > > > > > On Thu, Nov 17, 2016 at 04:22:24PM +, Winkler, Tomas wrote: > > > > Just make a new function mei_cldev_recv_async() and then call a > > > > local, static function, that does the work with the correct flag > > > > set.

Re: [PATCH] Drop unnecessary pcibio_err_to_errno()

2016-11-19 Thread Cao jin
I made this patch so quickly that I forget the details you mentioned. Thanks a lot for your help. Sincerely, Cao jin On 11/19/2016 01:02 AM, Alex Williamson wrote: Please prefix patches with their functional area, for instance I'll prepend "vfio/pci" to this. Had you not cc'd me, I wouldn't

[PATCH 4.8 05/49] ip6_tunnel: Clear IP6CB in ip6tunnel_xmit()

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eli Cooper [ Upstream commit 23f4ffedb7d751c7e298732ba91ca75d224bc1a6 ] skb->cb may contain data from previous layers. In the observed scenario, the garbage data were

[PATCH 4.8 27/49] bnx2: Wait for in-flight DMA to complete at probe stage

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Baoquan He [ Upstream commit 6df77862f63f389df3b1ad879738e04440d7385d ] In-flight DMA from 1st kernel could continue going in kdump kernel. New io-page table has been created

[PATCH 4.8 00/49] 4.8.10-stable review

2016-11-19 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.8.10 release. There are 49 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Mon Nov 21 09:20:18 UTC 2016. Anything

[PATCH 4.8 08/49] tcp: fix return value for partial writes

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 79d8665b9545e128637c51cf7febde9c493b6481 ] After my commit, tcp_sendmsg() might restart its loop after processing socket backlog. If

[PATCH 4.4 33/37] sparc64: Convert NGcopy_{from,to}_user to accurate exception reporting.

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 7ae3aaf53f1695877ccd5ebbc49ea65991e41f1e ] Report the exact number of bytes which have not been successfully copied when an exception

[PATCH 4.4 32/37] sparc64: Convert NG4copy_{from,to}_user to accurate exception reporting.

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 95707704800988093a9b9a27e0f2f67f5b4bf2fa ] Report the exact number of bytes which have not been successfully copied when an exception

[PATCH 4.8 01/49] dctcp: avoid bogus doubling of cwnd after loss

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Florian Westphal [ Upstream commit ce6dd23329b1ee6a794acf5f7e40f8e89b8317ee ] If a congestion control module doesn't provide .undo_cwnd function, tcp_undo_cwnd_reduction()

[PATCH 4.8 14/49] sctp: assign assoc_id earlier in __sctp_connect

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Ricardo Leitner [ Upstream commit 7233bc84a3aeda835d334499dc00448373caf5c0 ] sctp_wait_for_connect() currently already holds the asoc to keep it alive

[PATCH 4.8 31/49] sparc: Handle negative offsets in arch_jump_label_transform

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: James Clarke [ Upstream commit 9d9fa230206a3aea6ef451646c97122f04777983 ] Additionally, if the offset will overflow the immediate for a ba,pt instruction, fall back on a

[PATCH 4.4 31/37] sparc64: Convert U1copy_{from,to}_user to accurate exception reporting.

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit cb736fdbb208eb3420f1a2eb2bfc024a6e9dcada ] Report the exact number of bytes which have not been successfully copied when an exception

[PATCH 4.8 35/49] sparc64: Fix illegal relative branches in hypervisor patched TLB cross-call code.

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit a236441bb69723032db94128761a469030c3fe6d ] Just like the non-cross-call TLB flush handlers, the cross-call ones need to avoid doing

[PATCH 4.8 29/49] net: stmmac: Fix lack of link transition for fixed PHYs

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit c51e424dc79e1428afc4d697cdb6a07f7af70cbf ] Commit 52f95bbfcf72 ("stmmac: fix adjust link call in case of a switch is attached") added

[PATCH 4.4 24/37] sparc64: Fix instruction count in comment for __hypervisor_flush_tlb_pending.

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 830cda3f9855ff092b0e9610346d110846fc497c ] Noticed by James Clarke. Signed-off-by: David S. Miller

[PATCH 4.4 30/37] sparc64: Convert GENcopy_{from,to}_user to accurate exception reporting.

2016-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit d0796b555ba60c22eb41ae39a8362156cb08eee9 ] Report the exact number of bytes which have not been successfully copied when an exception

[PATCH 4.8 12/49] ipv6: dccp: fix out of bound access in dccp_v6_err()

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 1aa9d1a0e7eefcc61696e147d123453fc0016005 ] dccp_v6_err() does not use pskb_may_pull() and might access garbage. We only need 4 bytes at

[PATCH 4.8 16/49] net: icmp6_send should use dst dev to determine L3 domain

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: David Ahern [ Upstream commit 5d41ce29e3b91ef305f88d23f72b3359de329cec ] icmp6_send is called in response to some event. The skb may not have the device set

[PATCH 4.8 40/49] sparc64: Convert GENcopy_{from,to}_user to accurate exception reporting.

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit d0796b555ba60c22eb41ae39a8362156cb08eee9 ] Report the exact number of bytes which have not been successfully copied when an exception

[PATCH 4.8 42/49] sparc64: Convert NG4copy_{from,to}_user to accurate exception reporting.

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 95707704800988093a9b9a27e0f2f67f5b4bf2fa ] Report the exact number of bytes which have not been successfully copied when an exception

[PATCH 4.8 38/49] sparc64: Prepare to move to more saner user copy exception handling.

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 83a17d2661674d8c198adc0e183418f72aabab79 ] The fixup helper function mechanism for handling user copy fault handling is not %100

[PATCH 4.8 37/49] sparc64: Delete __ret_efault.

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit aa95ce361ed95c72ac42dcb315166bce5cf1a014 ] It is completely unused. Signed-off-by: David S. Miller

[PATCH 4.8 34/49] sparc64: Fix instruction count in comment for __hypervisor_flush_tlb_pending.

2016-11-19 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 830cda3f9855ff092b0e9610346d110846fc497c ] Noticed by James Clarke. Signed-off-by: David S. Miller

  1   2   3   4   5   6   7   >