Re: [PATCH] stmmac: explicitly zero des0 & des1 on init

2015-06-24 Thread David Miller
From: Alexey Brodkin Date: Tue, 23 Jun 2015 15:04:31 + > I'm wondering if my comment makes sense and should I just change commit > message or you'd prefer to still use dma_zalloc_coherent() during > driver probe? I think you should do both, convert to dma_zalloc_coherent() and perform the ex

[PATCH v2] stmmac: troubleshoot unexpected bits in des0 & des1

2015-06-24 Thread Alexey Brodkin
Current implementation of descriptor init procedure only takes care about setting/clearing ownership flag in "des0"/"des1" fields while it is perfectly possible to get unexpected bits set because of the following factors: [1] On driver probe underlying memory allocated with dma_alloc_coheren

Re: [PATCH v2] stmmac: troubleshoot unexpected bits in des0 & des1

2015-06-24 Thread David Miller
From: Alexey Brodkin Date: Wed, 24 Jun 2015 11:07:26 +0300 > > - priv->dma_tx = dma_alloc_coherent(priv->device, txsize * > + priv->dma_tx = dma_zalloc_coherent(priv->device, txsize * > sizeof(struct dma_desc), >

Re: [PATCH v2] stmmac: troubleshoot unexpected bits in des0 & des1

2015-06-24 Thread Alexey Brodkin
Hi David, On Wed, 2015-06-24 at 01:44 -0700, David Miller wrote: > From: Alexey Brodkin > Date: Wed, 24 Jun 2015 11:07:26 +0300 > > > > > - priv->dma_tx = dma_alloc_coherent(priv->device, > > txsize * > > + priv->dma_tx = dma_zalloc_coherent(priv->device, > > txsize * > >

[PATCH] ALSA: hda - Fix Dock Headphone on Thinkpad X250 seen as a Line Out

2015-06-24 Thread David Henningsson
Thinkpad X250, when attached to a dock, has two headphone outs but no line out. Make sure we don't try to turn this into one headphone and one line out (since that disables the headphone amp on the dock). Alsa-info at http://www.alsa-project.org/db/?f=36f8764e1d782397928feec715d0ef90dfddd4c1 Cc:

[PATCH v3] stmmac: troubleshoot unexpected bits in des0 & des1

2015-06-24 Thread Alexey Brodkin
Current implementation of descriptor init procedure only takes care about setting/clearing ownership flag in "des0"/"des1" fields while it is perfectly possible to get unexpected bits set because of the following factors: [1] On driver probe underlying memory allocated with dma_alloc_coheren

[PATCH 2/2] MIPS: Fix erroneous JR emulation for MIPS R6

2015-06-24 Thread Markos Chandras
Commit 5f9f41c474befb4ebbc40b27f65bb7d649241581 ("MIPS: kernel: Prepare the JR instruction for emulation on MIPS R6") added support for emulating the JR instruction on MIPS R6 cores but that introduced a bug which could be triggered when hitting a JALR opcode because the code used the wrong field i

[PATCH 1/2] MIPS: Fix branch emulation for BLTC and BGEC instructions

2015-06-24 Thread Markos Chandras
Commits f1b44067c19258b7614e3cd09dfe8d8e12ff5895 ("MIPS: Emulate the new MIPS R6 B{L,G}T{Z,}{AL,}C instructions") and commit a8ff66f52d3f17b5ae793955270675c197f73d6c ("MIPS: Emulate the new MIPS R6 B{L,G}E{Z,}{AL,}C instructions") added support for emulating various branch compact instructions. How

Re: [PATCH] ALSA: hda - Fix Dock Headphone on Thinkpad X250 seen as a Line Out

2015-06-24 Thread Takashi Iwai
At Wed, 24 Jun 2015 10:46:33 +0200, David Henningsson wrote: > > Thinkpad X250, when attached to a dock, has two headphone outs but > no line out. Make sure we don't try to turn this into one headphone > and one line out (since that disables the headphone amp on the dock). > > Alsa-info at > htt

Re: [PATCH v3] stmmac: troubleshoot unexpected bits in des0 & des1

2015-06-24 Thread David Miller
From: Alexey Brodkin Date: Wed, 24 Jun 2015 11:47:41 +0300 > Current implementation of descriptor init procedure only takes > care about setting/clearing ownership flag in "des0"/"des1" > fields while it is perfectly possible to get unexpected bits > set because of the following factors: Applied

Re: [PATCH] regulator: s2mps11: Fix GPIO suspend enable shift wrapping bug

2015-06-24 Thread Mark Brown
On Wed, Jun 24, 2015 at 01:02:28PM +0900, Krzysztof Kozlowski wrote: > 2015-05-28 23:44 GMT+09:00 Mark Brown : > > On Wed, May 27, 2015 at 12:22:08PM +0900, Krzysztof Kozlowski wrote: > >> Status of enabling suspend mode for regulator was stored in bitmap-like > >> long integer. > > Applied, thank

Re: [Intel-gfx] [PATCH] drm/i915: Officially give up on seqno coherency

2015-06-24 Thread Chris Wilson
On Tue, Jun 23, 2015 at 01:52:27PM +0200, Daniel Vetter wrote: > On Tue, Jun 23, 2015 at 01:05:41PM +0300, Jani Nikula wrote: > > On Fri, 19 Jun 2015, Daniel Vetter wrote: > > > We've never figured out the magic trick to make irq vs. seqno > > > updates coherent, only tricks to make it work. And s

Re: [PATCH] regulator: s2mps11: Fix GPIO suspend enable shift wrapping bug

2015-06-24 Thread Krzysztof Kozlowski
2015-06-24 18:31 GMT+09:00 Mark Brown : > On Wed, Jun 24, 2015 at 01:02:28PM +0900, Krzysztof Kozlowski wrote: >> 2015-05-28 23:44 GMT+09:00 Mark Brown : >> > On Wed, May 27, 2015 at 12:22:08PM +0900, Krzysztof Kozlowski wrote: >> >> Status of enabling suspend mode for regulator was stored in bitma

[PATCH RESEND] regulator: s2mps11: Fix GPIO suspend enable shift wrapping bug

2015-06-24 Thread Krzysztof Kozlowski
From: Krzysztof Kozlowski Status of enabling suspend mode for regulator was stored in bitmap-like long integer. However since adding support for S2MPU02 the number of regulators exceeded 32 so on devices with more than 32 regulators (S2MPU02 and S2MPS13) overflow happens when shifting the bit. T

Re: [PATCH] ALSA: hda - Fix Dock Headphone on Thinkpad X250 seen as a Line Out

2015-06-24 Thread David Henningsson
On 2015-06-24 11:00, Takashi Iwai wrote: At Wed, 24 Jun 2015 10:46:33 +0200, David Henningsson wrote: Thinkpad X250, when attached to a dock, has two headphone outs but no line out. Make sure we don't try to turn this into one headphone and one line out (since that disables the headphone amp

Re: [PATCH RESEND] regulator: s2mps11: Fix GPIO suspend enable shift wrapping bug

2015-06-24 Thread Mark Brown
On Wed, Jun 24, 2015 at 07:48:43PM +0900, Krzysztof Kozlowski wrote: > From: Krzysztof Kozlowski > > Status of enabling suspend mode for regulator was stored in bitmap-like > long integer. Applied, thanks. signature.asc Description: Digital signature

Re: [alsa-devel] [PATCH] ALSA: hda - Fix Dock Headphone on Thinkpad X250 seen as a Line Out

2015-06-24 Thread David Henningsson
On 2015-06-24 13:23, Raymond Yau wrote: >>> >>> Thinkpad X250, when attached to a dock, has two headphone outs but >>> no line out. Make sure we don't try to turn this into one headphone >>> and one line out (since that disables the headphone amp on the dock). >>> >>> Alsa-info at http:/

Re: [PATCH] ALSA: hda - Fix Dock Headphone on Thinkpad X250 seen as a Line Out

2015-06-24 Thread Takashi Iwai
At Wed, 24 Jun 2015 13:06:05 +0200, David Henningsson wrote: > > > > On 2015-06-24 11:00, Takashi Iwai wrote: > > At Wed, 24 Jun 2015 10:46:33 +0200, > > David Henningsson wrote: > >> > >> Thinkpad X250, when attached to a dock, has two headphone outs but > >> no line out. Make sure we don't try

Re: [PATCH] ALSA: hda - Fix Dock Headphone on Thinkpad X250 seen as a Line Out

2015-06-24 Thread David Henningsson
On 2015-06-24 14:10, Takashi Iwai wrote: At Wed, 24 Jun 2015 13:06:05 +0200, David Henningsson wrote: On 2015-06-24 11:00, Takashi Iwai wrote: At Wed, 24 Jun 2015 10:46:33 +0200, David Henningsson wrote: Thinkpad X250, when attached to a dock, has two headphone outs but no line out. Make

Re: [PATCH] ALSA: hda - Fix Dock Headphone on Thinkpad X250 seen as a Line Out

2015-06-24 Thread Takashi Iwai
At Wed, 24 Jun 2015 14:33:52 +0200, David Henningsson wrote: > > > > On 2015-06-24 14:10, Takashi Iwai wrote: > > At Wed, 24 Jun 2015 13:06:05 +0200, > > David Henningsson wrote: > >> > >> > >> > >> On 2015-06-24 11:00, Takashi Iwai wrote: > >>> At Wed, 24 Jun 2015 10:46:33 +0200, > >>> David He

Re: Please merge perf fixes into v4.1.1

2015-06-24 Thread Ingo Molnar
hi Greg, * Ingo Molnar wrote: > hi Greg, > > Please merge the following upstream perf commits into v4.1.1: > > git merge 75e84ab906ef > > This will merge the following fixes: > > 2f993cf09364 ("perf: Fix ring_buffer_attach() RCU sync, again") > 4b36f1a4139c ("perf/x86: Add more Broadw

Re: Please merge perf fixes into v4.1.1

2015-06-24 Thread Greg KH
On Wed, Jun 24, 2015 at 03:41:24PM +0200, Ingo Molnar wrote: > > hi Greg, > > * Ingo Molnar wrote: > > > hi Greg, > > > > Please merge the following upstream perf commits into v4.1.1: > > > > git merge 75e84ab906ef > > > > This will merge the following fixes: > > > > 2f993cf09364 ("perf

Re: Patch "iser-target: Fix possible use-after-free" has been added to the 3.14-stable tree

2015-06-24 Thread Greg KH
On Tue, Jun 23, 2015 at 03:24:05PM +0200, Jiri Slaby wrote: > On 06/23/2015, 05:22 AM, gre...@linuxfoundation.org wrote: > > > > This is a note to let you know that I've just added the patch titled > > > > iser-target: Fix possible use-after-free > > > > to the 3.14-stable tree which can be

Re: Patch "tracing: Have filter check for balanced ops" has been added to the 3.14-stable tree

2015-06-24 Thread Greg KH
On Tue, Jun 23, 2015 at 09:40:59AM -0400, Steven Rostedt wrote: > On Tue, 23 Jun 2015 15:22:50 +0200 > Jiri Slaby wrote: > > > > > --- a/kernel/trace/trace_events_filter.c > > > +++ b/kernel/trace/trace_events_filter.c > > > @@ -1399,19 +1399,26 @@ static int check_preds(struct filter_par > > >

Re: [GIT PULL] tracing: Have filter check for balanced ops

2015-06-24 Thread Greg KH
On Mon, Jun 22, 2015 at 03:49:40PM +0100, Luis Henriques wrote: > On Mon, Jun 22, 2015 at 10:17:28AM -0400, Steven Rostedt wrote: > ... > > To make this patch simpler, just move the "cnt--;" above the OP_AND and > > OP_OR check and remove the "cnt--;" from that if statement. > > > > But yeah, this

Patch "x86/boot: Fix overflow warning with 32-bit binutils" has been added to the 4.1-stable tree

2015-06-24 Thread gregkh
This is a note to let you know that I've just added the patch titled x86/boot: Fix overflow warning with 32-bit binutils to the 4.1-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: x86-

Re: Please merge this x86 build fix into v4.1.1

2015-06-24 Thread Greg KH
On Tue, Jun 23, 2015 at 09:30:24AM +0200, Ingo Molnar wrote: > hi Greg, > > Please merge the following x86 fix into v4.1.1: > > 04c17341b426 ("x86/boot: Fix overflow warning with 32-bit binutils") > > this problem is not widespread, it is only expected to trigger with certain > (rare) > buil

Re: 3.10, 3.14-stable-queue build failures

2015-06-24 Thread Greg Kroah-Hartman
On Tue, Jun 23, 2015 at 12:35:19AM -0700, Greg Kroah-Hartman wrote: > On Tue, Jun 23, 2015 at 12:13:11AM -0700, Guenter Roeck wrote: > > arm:allmodconfig > > arm64:allmodconfig > > i386:defconfig > > i386:allmodconfig > > +many more > > > > kernel/trace/trace_events_filter.c: In function 'check_pr

Re: Patch "Revert "drm/i915: Don't skip request retirement if the active list is empty"" has been added to the 4.0-stable tree

2015-06-24 Thread Greg KH
On Tue, Jun 23, 2015 at 11:19:47AM +0300, Jani Nikula wrote: > On Tue, 23 Jun 2015, gre...@linuxfoundation.org wrote: > > This is a note to let you know that I've just added the patch titled > > > > Revert "drm/i915: Don't skip request retirement if the active list is > > empty" > > > > to the

Re: [PATCH 4.0 077/105] drm/i915: Dont skip request retirement if the active list is empty

2015-06-24 Thread Greg Kroah-Hartman
On Tue, Jun 23, 2015 at 10:29:13AM +0300, Jani Nikula wrote: > On Fri, 19 Jun 2015, Greg Kroah-Hartman wrote: > > 4.0-stable review patch. If anyone has any objections, please let me know. > > The commit to be backported is already reverted in upstream, and I just > got an email from you backpor

Patch "drm/radeon: Add RADEON_INFO_VA_UNMAP_WORKING query" has been added to the 4.0-stable tree

2015-06-24 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/radeon: Add RADEON_INFO_VA_UNMAP_WORKING query to the 4.0-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: drm-r

Re: [PATCH 2/5] usb: gadget: mass_storage: Enforce contiguous LUN ids

2015-06-24 Thread Krzysztof Opasiak
On 06/22/2015 04:45 PM, Alan Stern wrote: On Mon, 22 Jun 2015, Michal Nazarewicz wrote: On Mon, Jun 22 2015, Krzysztof Opasiak wrote: According to mass storage specification: "Logical Unit Numbers on the device shall be numbered contiguously starting from LUN 0 to a maximum LUN of 15 (Fh)

[PATCH] usb: musb: host: rely on port_mode to call musb_start()

2015-06-24 Thread Felipe Balbi
Currently, we're calling musb_start() twice for DRD ports in some situations. This has been observed to cause enumeration issues after suspend/resume cycles with AM335x. In order to fix the problem, we just have to fix the check on musb_has_gadget() so that it only returns true if current mode is

[PATCH] hda: set proper caps for newer AMD hda audio in KB/KV

2015-06-24 Thread Alex Deucher
Fixes audio problems on newer asics. Noticed by: Kelly Anderson Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org --- sound/pci/hda/hda_intel.c | 4 1 file changed, 4 insertions(+) diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index a8a1e14..479ee25 100644 --- a/

Re: 3.10, 3.14-stable-queue build failures

2015-06-24 Thread Guenter Roeck
On 06/24/2015 07:57 AM, Greg Kroah-Hartman wrote: On Tue, Jun 23, 2015 at 12:35:19AM -0700, Greg Kroah-Hartman wrote: On Tue, Jun 23, 2015 at 12:13:11AM -0700, Guenter Roeck wrote: arm:allmodconfig arm64:allmodconfig i386:defconfig i386:allmodconfig +many more kernel/trace/trace_events_filter.

[patch 82/91] mm: kmemleak: allow safe memory scanning during kmemleak disabling

2015-06-24 Thread akpm
From: Catalin Marinas Subject: mm: kmemleak: allow safe memory scanning during kmemleak disabling The kmemleak scanning thread can run for minutes. Callbacks like kmemleak_free() are allowed during this time, the race being taken care of by the object->lock spinlock. Such lock also prevents a m

[patch 91/91] mm: kmemleak_alloc_percpu() should follow the gfp from per_alloc()

2015-06-24 Thread akpm
From: Larry Finger Subject: mm: kmemleak_alloc_percpu() should follow the gfp from per_alloc() Beginning at commit d52d3997f843 ("ipv6: Create percpu rt6_info"), the following INFO splat is logged: === [ INFO: suspicious RCU usage. ] 4.1.0-rc7-next-20150612 #1 Not tai

[patch 90/91] mm, thp: respect MPOL_PREFERRED policy with non-local node

2015-06-24 Thread akpm
From: Vlastimil Babka Subject: mm, thp: respect MPOL_PREFERRED policy with non-local node Since commit 077fcf116c8c ("mm/thp: allocate transparent hugepages on local node"), we handle THP allocations on page fault in a special way - for non-interleave memory policies, the allocation is only attem

[PATCH 3.18 02/91] ARM: 8221/1: PJ4: allow building in Thumb-2 mode

2015-06-24 Thread Sasha Levin
From: Ard Biesheuvel Two files that get included when building the multi_v7_defconfig target fail to build when selecting THUMB2_KERNEL for this configuration. In both cases, we can just build the file as ARM code, as none of its symbols are exported to modules, so there are no interworking conc

[PATCH 3.18 00/91] 3.18.17-review

2015-06-24 Thread Sasha Levin
This is the start of the stable review cycle for the 3.18.17 release. There are 91 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. Alexander Duyck (1): jhash: Update jhash_[321]words functions to use co

[PATCH 3.18 05/91] x86: bpf_jit: fix FROM_BE16 and FROM_LE16/32 instructions

2015-06-24 Thread Sasha Levin
From: Alexei Starovoitov [ Upstream commit 343f845b375989f1753f605902931fa939aa2223 ] FROM_BE16: 'ror %reg, 8' doesn't clear upper bits of the register, so use additional 'movzwl' insn to zero extend 16 bits into 64 FROM_LE16: should zero extend lower 16 bits into 64 bit FROM_LE32: should zero

[PATCH 3.18 03/91] fs/binfmt_elf.c:load_elf_binary(): return -EINVAL on zero-length mappings

2015-06-24 Thread Sasha Levin
From: Andrew Morton [ Upstream commit 073aba98f6a2235e2ac4a8402b1a131ab032876e ] commit 2b1d3ae940acd11be44c6eced5873d47c2e00ffa upstream. load_elf_binary() returns `retval', not `error'. Fixes: a87938b2e246b81b4fb ("fs/binfmt_elf.c: fix bug in loading of PIE binaries") Reported-by: James Hog

[PATCH 3.18 01/91] Revert "tools/vm: fix page-flags build"

2015-06-24 Thread Sasha Levin
This reverts commit a821ac4c66382f9d6387c8311608f13c6749fea9. That patch is not suitable for 3.18. Reported-by: Konstantin Khlebnikov Signed-off-by: Sasha Levin --- tools/vm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/vm/Makefile b/tools/vm/Makefile index

[PATCH 3.18 04/91] net: core: Correct an over-stringent device loop detection.

2015-06-24 Thread Sasha Levin
From: Vlad Yasevich [ Upstream commit d66bf7dd27573ee5ea90484899ee952c19ccb194 ] The code in __netdev_upper_dev_link() has an over-stringent loop detection logic that actually prevents valid configurations from working correctly. In particular, the logic returns an error if an upper device is a

[PATCH 3.18 25/91] xen: netback: read hotplug script once at start of day.

2015-06-24 Thread Sasha Levin
From: Ian Campbell [ Upstream commit 31a418986a5852034d520a5bab546821ff1ccf3d ] When we come to tear things down in netback_remove() and generate the uevent it is possible that the xenstore directory has already been removed (details below). In such cases netback_uevent() won't be able to read

[PATCH 3.18 23/91] udp: fix behavior of wrong checksums

2015-06-24 Thread Sasha Levin
From: Eric Dumazet [ Upstream commit beb39db59d14990e401e235faf66a6b9b31240b0 ] We have two problems in UDP stack related to bogus checksums : 1) We return -EAGAIN to application even if receive queue is not empty. This breaks applications using edge trigger epoll() 2) Under UDP flood, we c

[PATCH 3.18 52/91] HID: usbhid: yet another mouse with ALWAYS_POLL

2015-06-24 Thread Sasha Levin
From: Oliver Neukum [ Upstream commit 43faadfe96d3f049f4ae2c4090d2e57b9aafb995 ] The device exists with two device IDs instead of one as previously believed. Signed-off-by: Oliver Neukum Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/hid-ids.h | 3 ++- drive

[PATCH 3.18 07/91] net: phy: Allow EEE for all RGMII variants

2015-06-24 Thread Sasha Levin
From: Florian Fainelli [ Upstream commit 7e14069651591c81046ffaec13c3dac8cb70f5fb ] RGMII interfaces come in multiple flavors: RGMII with transmit or receive internal delay, no delays at all, or delays in both direction. This change extends the initial check for PHY_INTERFACE_MODE_RGMII to cove

[PATCH 3.18 38/91] ARM: shmobile: r8a7790: Correct SYSCIER value

2015-06-24 Thread Sasha Levin
From: Simon Horman [ Upstream commit ee72f6adfdd95b53432eb60b6944c6fe2790dd13 ] Set the SYSCIER as per the values indicated in the documentation. The value previously used appears to been copied from the r8a7779 implementation but on closer inspection is not correct for the r8a7790. Fixes: a48f

[PATCH 3.18 14/91] bridge: fix parsing of MLDv2 reports

2015-06-24 Thread Sasha Levin
From: Thadeu Lima de Souza Cascardo [ Upstream commit 47cc84ce0c2fe75c99ea5963c4b5704dd78ead54 ] When more than a multicast address is present in a MLDv2 report, all but the first address is ignored, because the code breaks out of the loop if there has not been an error adding that address. Thi

[PATCH 3.18 13/91] cdc_ncm: Fix tx_bytes statistics

2015-06-24 Thread Sasha Levin
From: Bjørn Mork [ Upstream commit 44f6731d8b68fa02f5ed65eaceac41f8c3c9279e ] The tx_curr_frame_payload field is u32. When we try to calculate a small negative delta based on it, we end up with a positive integer close to 2^32 instead. So the tx_bytes pointer increases by about 2^32 for every t

[PATCH 3.18 47/91] HID: Introduce hidpp, a module to handle Logitech hid++ devices

2015-06-24 Thread Sasha Levin
From: Benjamin Tissoires [ Upstream commit 2f31c52529103d8f0e1485272064f982d14ce54a ] Logitech devices use a vendor protocol to communicate various information with the device. This protocol is called HID++, and an exerpt can be found here: https://drive.google.com/folderview?id=0BxbRzx7vEV7eWmg

[PATCH 3.18 45/91] HID: saitek: add USB ID for older R.A.T. 7

2015-06-24 Thread Sasha Levin
From: Darren Salt [ Upstream commit afe98939b37933ee8c3d0b5c42199d624d0408a6 ] Signed-off-by: Darren Salt Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/hid-core.c | 1 + drivers/hid/hid-ids.h| 1 + drivers/hid/hid-saitek.c | 2 ++ 3 files changed, 4 insertions(+

[PATCH 3.18 54/91] HID: sjoy: support Super Joy Box 4

2015-06-24 Thread Sasha Levin
From: Sean Young [ Upstream commit 6e5e9a06a206010eabd19b523fd0833c51afc0b0 ] This device supports force feedback and has two ports. Signed-off-by: Sean Young Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/hid-core.c | 1 + drivers/hid/hid-sjoy.c | 3

[PATCH 3.18 30/91] sched, numa: Do not hint for NUMA balancing on VM_MIXEDMAP mappings

2015-06-24 Thread Sasha Levin
From: Mel Gorman commit 8e76d4eecf7afeec9328e21cd5880e281838d0d6 upstream. Jovi Zhangwei reported the following problem Below kernel vm bug can be triggered by tcpdump which mmaped a lot of pages with GFP_COMP flag. [Mon May 25 05:29:33 2015] page:ea0015414000 count:66 mapcount:1 map

[PATCH 3.18 27/91] be2net: Replace dma/pci_alloc_coherent() calls with dma_zalloc_coherent()

2015-06-24 Thread Sasha Levin
From: Sriharsha Basavapatna [ Upstream commit e51000db4c880165eab06ec0990605f24e75203f ] There are several places in the driver (all in control paths) where coherent dma memory is being allocated using either dma_alloc_coherent() or the deprecated pci_alloc_consistent(). All these calls should b

[PATCH 3.18 09/91] tcp/ipv6: fix flow label setting in TIME_WAIT state

2015-06-24 Thread Sasha Levin
From: Florent Fourcot [ Upstream commit 21858cd02dabcf290564cbf4769b101eba54d7bb ] commit 1d13a96c74fc ("ipv6: tcp: fix flowlabel value in ACK messages send from TIME_WAIT") added the flow label in the last TCP packets. Unfortunately, it was not casted properly. This patch replace the buggy shi

[PATCH 3.18 39/91] ARM: shmobile: r8a7791: Correct SYSCIER value

2015-06-24 Thread Sasha Levin
From: Simon Horman [ Upstream commit 78420b5dca18f2034f18925f5608cda2c960c3f3 ] Set the SYSCIER as per the values indicated in the documentation. The value previously used appears to been copied from the r8a7779 implementation but on closer inspection is not correct for the r8a7791. Fixes: 5f61

[PATCH 3.18 19/91] xen/netback: Properly initialize credit_bytes

2015-06-24 Thread Sasha Levin
From: Ross Lagerwall [ Upstream commit ce0e5c522d3924090c20e774359809a7aa08c44c ] Commit e9ce7cb6b107 ("xen-netback: Factor queue-specific data into queue struct") introduced a regression when moving queue-specific data into the queue struct by failing to set the credit_bytes field. This prevent

[PATCH 3.18 44/91] HID: uclogic: Set quirks from inside the driver

2015-06-24 Thread Sasha Levin
From: Benjamin Tissoires [ Upstream commit 70b69cfb88467988116c4863056495fa3615271a ] Based on a patch from: Nikolai Kondrashov Most of the tablets handled by hid-uclogic already use MULTI_INPUT. For the ones which are not quirked in usbhid/hidquirks, they have a custom report descriptor which

[PATCH 3.18 08/91] rtnl/bond: don't send rtnl msg for unregistered iface

2015-06-24 Thread Sasha Levin
From: Nicolas Dichtel [ Upstream commit ed2a80ab7b76f11af0b2c6255709c4ebf164b667 ] Before the patch, the command 'ip link add bond2 type bond mode 802.3ad' causes the kernel to send a rtnl message for the bond2 interface, with an ifindex 0. 'ip monitor' shows: 0: bond2: mtu 1500 state DOWN gro

[PATCH 3.18 11/91] net: sched: fix call_rcu() race on classifier module unloads

2015-06-24 Thread Sasha Levin
From: Daniel Borkmann [ Upstream commit c78e1746d3ad7d548bdf3fe491898cc453911a49 ] Vijay reported that a loop as simple as ... while true; do tc qdisc add dev foo root handle 1: prio tc filter add dev foo parent 1: u32 match u32 0 0 flowid 1 tc qdisc del dev foo root rmmod cl

[PATCH 3.18 31/91] Drivers: hv: vmbus: Add support for VMBus panic notifier handler

2015-06-24 Thread Sasha Levin
From: Nick Meier BugLink: http://bugs.launchpad.net/bugs/1463584 Hyper-V allows a guest to notify the Hyper-V host that a panic condition occured. This notification can include up to five 64 bit values. These 64 bit values are written into crash MSRs. Once the data has been written into the cr

[PATCH 3.18 37/91] pinctrl: remove maxpin from documentation

2015-06-24 Thread Sasha Levin
From: Baruch Siach [ Upstream commit 939417bd8b909ae34a3b2106531594f5115eaea5 ] struct pinctrl_desc does not contain the maxpin member since commit 0d2006bbf0 (pinctrl: remove unnecessary max pin number). Fixes: 0d2006bbf0 ('pinctrl: remove unnecessary max pin number') Signed-off-by: Baruch Sia

[PATCH 3.18 24/91] tcp: fix child sockets to use system default congestion control if not set

2015-06-24 Thread Sasha Levin
From: Neal Cardwell [ Upstream commit 9f950415e4e28e7cfae2e416b43e862e8101d996 ] Linux 3.17 and earlier are explicitly engineered so that if the app doesn't specifically request a CC module on a listener before the SYN arrives, then the child gets the system default CC when the connection is est

[PATCH 3.18 22/91] bridge: fix br_multicast_query_expired() bug

2015-06-24 Thread Sasha Levin
From: Eric Dumazet [ Upstream commit 71d9f6149cac8fc6646adfb2a6f3b0de6ddd23f6 ] br_multicast_query_expired() querier argument is a pointer to a struct bridge_mcast_querier : struct bridge_mcast_querier { struct br_ip addr; struct net_bridge_port __rcu*port; }; Intent of the

[PATCH 3.18 42/91] pinctrl: fix example .get_group_pins implementation signature

2015-06-24 Thread Sasha Levin
From: Baruch Siach [ Upstream commit 838d030bda9e2da5f9dcf7251f4e117c6258cb2f ] The callback function signature has changed in commit a5818a8bd0 (pinctrl: get_group_pins() const fixes) Fixes: a5818a8bd0 ('pinctrl: get_group_pins() const fixes') Cc: Stephen Warren Signed-off-by: Baruch Siach S

[PATCH 3.18 28/91] bridge: disable softirqs around br_fdb_update to avoid lockup

2015-06-24 Thread Sasha Levin
From: Nikolay Aleksandrov [ Upstream commit c4c832f89dc468cf11dc0dd17206bace44526651 ] br_fdb_update() can be called in process context in the following way: br_fdb_add() -> __br_fdb_add() -> br_fdb_update() (if NTF_USE flag is set) so we need to disable softirqs because there are softirq users

[PATCH 3.18 15/91] net: dp83640: fix broken calibration routine.

2015-06-24 Thread Sasha Levin
From: Richard Cochran [ Upstream commit 397a253af5031de4a4612210055935309af4472c ] Currently, the calibration function that corrects the initial offsets among multiple devices only works the first time. If the function is called more than once, the calibration fails and bogus offsets will be pr

[PATCH 3.18 49/91] HID: add HP OEM mouse to quirk ALWAYS_POLL

2015-06-24 Thread Sasha Levin
From: Oliver Neukum [ Upstream commit 7a8e53c414c8183e8735e3b08d9a776200e6e665 ] This mouse needs QUIRK_ALWAYS_POLL. Signed-off-by: Oliver Neukum CC: stable@vger.kernel.org Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/hid-ids.h | 3 +++ drivers/hid/usbhid/

[PATCH 3.18 55/91] HID: usbhid: Add HID_QUIRK_NOGET for Aten DVI KVM switch

2015-06-24 Thread Sasha Levin
From: Laura Abbott [ Upstream commit 849eca7b9dae0364e2fbe8afdf0fb610d12c9c8f ] Like other KVM switches, the Aten DVI KVM switch needs a quirk to avoid spewing errors: [791759.606542] usb 1-5.4: input irq status -75 received [791759.614537] usb 1-5.4: input irq status -75 received [791759.62254

[PATCH 3.18 53/91] HID: usbhid: Add a quirk for raphnet multi-gamepad adapters

2015-06-24 Thread Sasha Levin
From: Raphael Assenat [ Upstream commit d6ea2f88ac3659b799d8079a4fbda4f8faf6ff90 ] The raphnet.net 4nes4snes and 2nes2snes multi-joystick adapters use a single HID report descriptor with one report ID per controller. This has the effect that the inputs of otherwise independent game controllers g

[PATCH 3.18 17/91] net: dp83640: fix improper double spin locking.

2015-06-24 Thread Sasha Levin
From: Richard Cochran [ Upstream commit adbe088f6f8b0b7701fe07f51fe6f2bd602a6665 ] A pair of nested spin locks was introduced in commit 63502b8d0 "dp83640: Fix receive timestamp race condition". Unfortunately the 'flags' parameter was reused for the inner lock, clobbering the originally saved I

[PATCH 3.18 10/91] net/ipv6/udp: Fix ipv6 multicast socket filter regression

2015-06-24 Thread Sasha Levin
From: Henning Rogge [ Upstream commit 33b4b015e1a1ca7a8fdce40af5e71642a8ea355c ] Commit <5cf3d46192fc> ("udp: Simplify__udp*_lib_mcast_deliver") simplified the filter for incoming IPv6 multicast but removed the check of the local socket address and the UDP destination address. This patch restor

[PATCH 3.18 51/91] HID: usbhid: more mice with ALWAYS_POLL

2015-06-24 Thread Sasha Levin
From: Oliver Neukum [ Upstream commit 003e817a9ecf6cfded59630858bbf04056d71e9a ] During a stress test these mice kept dropping and reappearing in runlevel 1 as opposed to 5. Signed-off-by: Oliver Neukum Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/hid-ids.h

[PATCH 3.18 12/91] ipv4: Avoid crashing in ip_error

2015-06-24 Thread Sasha Levin
From: "Eric W. Biederman" [ Upstream commit 381c759d9916c42959515ad34a6d467e24a88e93 ] ip_error does not check if in_dev is NULL before dereferencing it. IThe following sequence of calls is possible: CPU A CPU B ip_rcv_finish ip_route_input_noref() ip_route_

[PATCH 3.18 34/91] xtensa: xtfpga: fix hardware lockup caused by LCD driver

2015-06-24 Thread Sasha Levin
From: Max Filippov [ Upstream commit 4949009eb8d40a441dcddcd96e101e77d31cf1b2 ] LCD driver is always built for the XTFPGA platform, but its base address is not configurable, and is wrong for ML605/KC705. Its initialization locks up KC705 board hardware. Make the whole driver optional, and its b

[PATCH 3.18 41/91] pinctrl: remove doc mention of the enable/disable API

2015-06-24 Thread Sasha Levin
From: Baruch Siach [ Upstream commit b18104c00089c73f2b70790765d40424a4f9b65f ] This API has changed in commit 6e5e959dde0 (pinctrl: API changes to support multiple states per device). Fixes: 6e5e959dde0 ('pinctrl: API changes to support multiple states per device') Cc: Stephen Warren Signed-

[PATCH 3.18 46/91] HID: microsoft: Add ID for NE7K wireless keyboard

2015-06-24 Thread Sasha Levin
From: Jakub Sitnicki [ Upstream commit ef567cf9ddb682dbfa840bf4a2600931299f9555 ] Microsoft Natural Wireless Ergonomic Keyboard 7000 has special My Favorites 1..5 keys which are handled through a vendor-defined usage page (0xff05). Apply MS_ERGONOMY quirks handling to USB PID 0x071d (Microsoft

[PATCH 3.18 29/91] crush: ensuring at most num-rep osds are selected

2015-06-24 Thread Sasha Levin
From: Ilya Dryomov [ Upstream commit 45002267e8d2699bf9b022315bee3dd13b044843 ] Crush temporary buffers are allocated as per replica size configured by the user. When there are more final osds (to be selected as per rule) than the replicas, buffer overlaps and it causes crash. Now, it ensures

[PATCH 3.18 40/91] pinctrl: remove enable/disable callbacks from documentation

2015-06-24 Thread Sasha Levin
From: Baruch Siach [ Upstream commit 260463d4921468b9c0c018695ab09b3c2d15345b ] Commit 03e9f0cac5d (pinctrl: clean up after enable refactoring) updated the documentation to remove mention of disable(), and rename enable() to set_mux(). One in-text mention was forgotten. Fix this. Fixes: 03e9f0c

[PATCH 3.18 36/91] serial: imx: Fix clearing of receiver overrun flag

2015-06-24 Thread Sasha Levin
From: Uwe Kleine-König [ Upstream commit 91555ce9012557b2d621d7b0b6ec694218a2a9bc ] The writeable bits in the USR2 register are all "write 1 to clear" so only write the bits that actually should be cleared. Fixes: f1f836e4209e ("serial: imx: Add Rx Fifo overrun error message") Signed-off-by: Uw

[PATCH 3.18 20/91] net_sched: invoke ->attach() after setting dev->qdisc

2015-06-24 Thread Sasha Levin
From: WANG Cong [ Upstream commit 86e363dc3b50bfd50a1f315934583fbda673ab8d ] For mq qdisc, we add per tx queue qdisc to root qdisc for display purpose, however, that happens too early, before the new dev->qdisc is finally set, this causes q->list points to an old root qdisc which is going to be

[PATCH 3.18 32/91] ARM: shmobile: r8a7791: add USBDMAC{0,1} clocks to device tree

2015-06-24 Thread Sasha Levin
From: Yoshihiro Shimoda [ Upstream commit b9473d9f621b68327776b66d4b9a8ba5e0b8b4cb ] Signed-off-by: Yoshihiro Shimoda Acked-by: Geert Uytterhoeven Signed-off-by: Simon Horman Signed-off-by: Sasha Levin --- arch/arm/boot/dts/r8a7791.dtsi | 7 +-- 1 file changed, 5 insertions(+), 2 deleti

[PATCH 3.18 43/91] HID: kye: Fix report descriptor for Genius PenSketch M912

2015-06-24 Thread Sasha Levin
From: Milan Plzik [ Upstream commit feb6faf1e5d46276c5430e36ffb4a6f62bf8d55b ] Genius PenSketch M912 digitizer tablet sends incorrect report descriptor by default. This patch replaces it with a corrected one. Signed-off-by: Milan Plzik Reviewed-by: Nikolai Kondrashov Signed-off-by: Jiri Kosin

[PATCH 3.18 48/91] HID: add ALWAYS_POLL quirk for a Logitech 0xc007

2015-06-24 Thread Sasha Levin
From: "oli...@neukum.org" [ Upstream commit a415457733b5fa40bc996bf1f4df471cd98d3608 ] This device disconnects every 60s without X Signed-off-by: Oliver Neukum Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/hid-ids.h | 1 + drivers/hid/usbhid/hid-quirks.c |

[PATCH 3.18 35/91] serial: imx: Enable UCR4_OREN in startup interface

2015-06-24 Thread Sasha Levin
From: Jiada Wang [ Upstream commit 6f026d6b7cb6e019b6352ed7fb71497c787fd6d7 ] Other than enable Receiver Overrun Interrupt Enable (UCR4_OREN) in start_tx interface, UCR4_OREN should be enabled before enable of Receiver. Signed-off-by: Jiada Wang Signed-off-by: Greg Kroah-Hartman Signed-off-by

[PATCH 3.18 06/91] x86: bpf_jit: fix compilation of large bpf programs

2015-06-24 Thread Sasha Levin
From: Alexei Starovoitov [ Upstream commit 3f7352bf21f8fd7ba3e2fcef9488756f188e12be ] x86 has variable length encoding. x86 JIT compiler is trying to pick the shortest encoding for given bpf instruction. While doing so the jump targets are changing, so JIT is doing multiple passes over the progr

[PATCH 3.18 50/91] HID: add quirk for PIXART OEM mouse used by HP

2015-06-24 Thread Sasha Levin
From: Oliver Neukum [ Upstream commit b70b82580248b5393241c986082842ec05a2b7d7 ] This mouse is also known under other IDs. It needs the quirk or will disconnect in runlevel 1 or 3. Signed-off-by: Oliver Neukum CC: stable@vger.kernel.org Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin -

[PATCH 3.18 16/91] net: dp83640: reinforce locking rules.

2015-06-24 Thread Sasha Levin
From: Richard Cochran [ Upstream commit a935865c828c8cd20501f618c69f659a5b6d6a5f ] Callers of the ext_write function are supposed to hold a mutex that protects the state of the dialed page, but one caller was missing the lock from the very start, and over time the code has been changed without f

[PATCH 3.18 26/91] ipv4/udp: Verify multicast group is ours in upd_v4_early_demux()

2015-06-24 Thread Sasha Levin
From: Shawn Bohrer [ Upstream commit 6e540309326188f769e03bb4c6dd8ff6752930c2 ] 421b3885bf6d56391297844f43fb7154a6396e12 "udp: ipv4: Add udp early demux" introduced a regression that allowed sockets bound to INADDR_ANY to receive packets from multicast groups that the socket had not joined. For

[PATCH 3.18 21/91] sctp: Fix mangled IPv4 addresses on a IPv6 listening socket

2015-06-24 Thread Sasha Levin
From: Jason Gunthorpe [ Upstream commit 9302d7bb0c5cd46be5706859301f18c137b2439f ] sctp_v4_map_v6 was subtly writing and reading from members of a union in a way the clobbered data it needed to read before it read it. Zeroing the v6 flowinfo overwrites the v4 sin_addr with 0, meaning that every

[PATCH 3.18 56/91] iommu/vt-d: Allow RMRR on graphics devices too

2015-06-24 Thread Sasha Levin
From: David Woodhouse [ Upstream commit 18436afdc11a00ac881990b454cfb2eae81d6003 ] Commit c875d2c1 ("iommu/vt-d: Exclude devices using RMRRs from IOMMU API domains") prevents certain options for devices with RMRRs. This even prevents those devices from getting a 1:1 mapping with 'iommu=pt', beca

[PATCH 3.18 18/91] unix/caif: sk_socket can disappear when state is unlocked

2015-06-24 Thread Sasha Levin
From: Mark Salyzyn [ Upstream commit b48732e4a48d80ed4a14812f0bab09560846514e ] got a rare NULL pointer dereference in clear_bit Signed-off-by: Mark Salyzyn Acked-by: Hannes Frederic Sowa v2: switch to sock_flag(sk, SOCK_DEAD) and added net/caif/caif_socket.c v3: return -ECONNRESET in up

[PATCH 3.18 67/91] ext4: fix bh leak on error paths in ext4_rename() and ext4_cross_rename()

2015-06-24 Thread Sasha Levin
From: Konstantin Khlebnikov [ Upstream commit 7071b715873a66b69a9c0c5839963bb51aeae41b ] Release references to buffer-heads if ext4_journal_start() fails. Fixes: 5b61de757535 ("ext4: start handle at least possible moment when renaming files") Signed-off-by: Konstantin Khlebnikov Signed-off-by

[PATCH 3.18 65/91] net: add sk_fullsock() helper

2015-06-24 Thread Sasha Levin
From: Eric Dumazet [ Upstream commit 1d0ab253872cdd3d8e7913f59c266c7fd01771d0 ] We have many places where we want to check if a socket is not a timewait or request socket. Use a helper to avoid hard coding this. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller Signed-off-by: Sasha L

[PATCH 3.18 33/91] ARM: shmobile: r8a7791: Correct SDHI clock labels and output-names

2015-06-24 Thread Sasha Levin
From: Simon Horman [ Upstream commit 2ea0d4ec39ac837e34c07b4783a7c900940e6eaf ] There appears to have been some inconsistency and confusion here as on the r8a7790 these clocks are referred to as SD(HI)1 and SD(HI)2 while on the r8a7791 and r8a7794 they are referred to as SD(HI)2 and SD(HI)3. Fi

[PATCH 3.18 86/91] dmaengine: shdmac: avoid unused variable warnings

2015-06-24 Thread Sasha Levin
From: Arnd Bergmann [ Upstream commit 7d3beab16dd9eee86bb1a4dd05b51159fc7772f0 ] This driver uses '#ifdef CONFIG_ARCH_SHMOBILE' and '#ifdef CONFIG_ARM' interchangeably in its sh_dmae_probe function, which causes a build warning when building for ARM without also enabling shmobile: dma/sh/shdmac

[PATCH 3.18 77/91] mnt: Fix the error check in __detach_mounts

2015-06-24 Thread Sasha Levin
From: "Eric W. Biederman" [ Upstream commit f53e57975151f54ad8caa1b0ac8a78091cd5700a ] lookup_mountpoint can return either NULL or an error value. Update the test in __detach_mounts to test for an error value to avoid pathological cases causing a NULL pointer dereferences. The callers of __deta

[PATCH 3.18 74/91] selinux/nlmsg: add XFRM_MSG_GETSPDINFO

2015-06-24 Thread Sasha Levin
From: Nicolas Dichtel [ Upstream commit 5e6deebafb45fb271ae6939d48832e920b8fb74e ] This command is missing. Fixes: ecfd6b183780 ("[XFRM]: Export SPD info") Signed-off-by: Nicolas Dichtel Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- security/selinux/nlmsgtab.c | 1 + 1 file

  1   2   >