[PATCH v3 2/2] mem-hotplug: Reset node present pages when hot-adding a new pgdat.

2014-11-12 Thread Tang Chen
When memory is hot-added, all the memory is in offline state. So clear all zones' present_pages because they will be updated in online_pages() and offline_pages(). Otherwise, /proc/zoneinfo will corrupt: When the memory of node2 is offline: # cat /proc/zoneinfo .. Node 2, zone Movable

[PATCH v3 1/2] mem-hotplug: Reset node managed pages when hot-adding a new pgdat.

2014-11-12 Thread Tang Chen
In free_area_init_core(), zone-managed_pages is set to an approximate value for lowmem, and will be adjusted when the bootmem allocator frees pages into the buddy system. But free_area_init_core() is also called by hotadd_new_pgdat() when hot-adding memory. As a result, zone-managed_pages of the

Re: [PATCH] dmaengine: sun6i: Fix memcpy operation

2014-11-12 Thread Vinod Koul
On Tue, Nov 11, 2014 at 07:35:52PM +0100, Maxime Ripard wrote: The prep_memcpy call was not setting any meaningful burst and width because it was relying on the dma_slave_config was not set already. Rework the needed conversion functions, and hardcode the width and burst to use. Applied,

Re: [PATCH 1/2] drm/i915/dp: only use training pattern 3 on platforms that support it

2014-11-12 Thread Jani Nikula
On Wed, 12 Nov 2014, Dave Airlie airl...@gmail.com wrote: From: Jani Nikula jani.nik...@intel.com original upstream commit: 7809a61176b385ebb3299ea43c58b1bb31ffb8c0 Ivybridge + 30 monitor prints a drm error on every modeset, since IVB doesn't support DP3 we should even bother trying to use

Re: [PATCH] dmaengine: sun6i: Fix memcpy operation

2014-11-12 Thread Maxime Ripard
On Wed, Nov 12, 2014 at 02:55:06PM +0530, Vinod Koul wrote: On Tue, Nov 11, 2014 at 07:35:52PM +0100, Maxime Ripard wrote: The prep_memcpy call was not setting any meaningful burst and width because it was relying on the dma_slave_config was not set already. Rework the needed

Re: [PATCH 00/10] nouveau fixes for 3.16-stable

2014-11-12 Thread Luis Henriques
Hi Ben, Sven On Tue, Nov 11, 2014 at 07:45:59PM +0100, Sven Joachim wrote: On 2014-10-21 23:08 +0200, Ben Skeggs wrote: From: Ben Skeggs bske...@redhat.com Hey, The majority of these are regression fixes - The first 4 patches together fix regressions in runtime pm support. - The

Re: [PATCH 3.17-stable] GFS2: Make rename not save dirent location

2014-11-12 Thread Luis Henriques
On Fri, Nov 07, 2014 at 09:54:13AM +, Andrew Price wrote: From: Bob Peterson rpete...@redhat.com [ Upstream commit 19aeb5a65f1a6504fc665466c188241e7393d66f ] Thank you, I'll queue this for the 3.16 kernel as well. Cheers, -- Luís This patch fixes a regression in the patch GFS2:

Re: [PATCH 0/3] linux-stable-3.14: Adding Braswell PCI ID for cpufreq and iosf driver

2014-11-12 Thread Luis Henriques
On Tue, Nov 04, 2014 at 05:26:46PM +0800, Chang Rebecca Swee Fun wrote: Hi all, These patches are to backport into stable kernel v3.14. Do take note that patch 3 (last patch in the series) are dependent on the following patches that has been sent to the mailing list previously. x86, iosf:

Re: [PATCH v2] n_tty: Fix read_buf race condition, increment read_head after pushing data

2014-11-12 Thread Måns Rullgård
Christian Riesch christian.rie...@omicron.at writes: On Tue, Nov 11, 2014 at 2:04 PM, Måns Rullgård m...@mansr.com wrote: Christian Riesch christian.rie...@omicron.at writes: [...] diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c index 2e900a9..b09f326 100644 --- a/drivers/tty/n_tty.c

Re: [PATCH 1/6] netfilter: ipset: off by one in ip_set_nfnl_get_byindex()

2014-11-12 Thread Luis Henriques
Hi Pablo, On Tue, Nov 04, 2014 at 07:02:27PM +0100, Pablo Neira Ayuso wrote: From: Dan Carpenter dan.carpen...@oracle.com [ upstream commit 6ecc71202d3a817d7eee44be9f98abc0dcface93 ] The -ip_set_list[] array is initialized in ip_set_net_init() and it has -ip_set_max elements so this check

Re: crypto: algif - avoid excessive use of socket buffer in skcipher

2014-11-12 Thread Luis Henriques
On Mon, Nov 10, 2014 at 11:50:36AM +0100, Ondrej Kozina wrote: Hello, could you please add this patch (already landed in 3.18-rc1) to following stable kernels: 3.17.x, 3.14.x, 3.12.x, 3.4.x, 3.2.x? Thank you, I'm also queuing it for the 3.16. Cheers, -- Luís The bugfix allows usage

Re: [PATCH 1/6] netfilter: ipset: off by one in ip_set_nfnl_get_byindex()

2014-11-12 Thread Pablo Neira Ayuso
On Wed, Nov 12, 2014 at 11:56:39AM +, Luis Henriques wrote: Hi Pablo, On Tue, Nov 04, 2014 at 07:02:27PM +0100, Pablo Neira Ayuso wrote: From: Dan Carpenter dan.carpen...@oracle.com [ upstream commit 6ecc71202d3a817d7eee44be9f98abc0dcface93 ] The -ip_set_list[] array is

Re: [PATCH] drm/ttm: Don't evict BOs outside of the requested placement range

2014-11-12 Thread Luis Henriques
On Tue, Nov 11, 2014 at 04:20:37PM +0900, Michel Dänzer wrote: From: Michel Dänzer michel.daen...@amd.com The radeon driver uses placement range restrictions for several reasons, in particular to make sure BOs in VRAM can be accessed by the CPU, e.g. during a page fault. Without this

[PATCHv2] ASoC: cs42l51: re-hook of_match_table pointer

2014-11-12 Thread Thomas Petazzoni
In commit a1253ef6d3fa (ASoC: cs42l51: split i2c from codec driver), the I2C part of the CS42L51 was moved to a separate file, but the definition of the of_device_id array was left in the driver file itself, no longer connected to the platform_driver structure using the .of_match_table pointer.

Re: [PATCHv2] ASoC: cs42l51: re-hook of_match_table pointer

2014-11-12 Thread Brian Austin
This commit exports the of_device_id array in cs42l51, and uses it as .of_match_able in cs42l51-i2c.c. This solution was suggested by Brian Austin. Fixes: a1253ef6d3fa (ASoC: cs42l51: split i2c from codec driver) Acked-by: Brian Austin brian.aus...@cirrus.com Thanks -- To unsubscribe from

Re: [PATCHv2] ASoC: cs42l51: re-hook of_match_table pointer

2014-11-12 Thread Mark Brown
On Wed, Nov 12, 2014 at 03:40:44PM +0100, Thomas Petazzoni wrote: In commit a1253ef6d3fa (ASoC: cs42l51: split i2c from codec driver), the I2C part of the CS42L51 was moved to a separate file, but the Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 3.14 000/203] 3.14.24-stable review

2014-11-12 Thread Guenter Roeck
On Wed, Nov 12, 2014 at 03:36:00PM +0900, Greg Kroah-Hartman wrote: On Tue, Nov 11, 2014 at 10:29:14PM -0800, Guenter Roeck wrote: On 11/11/2014 05:14 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.14.24 release. There are 203 patches in this series,

Re: [PATCH 3.10 000/123] 3.10.60-stable review

2014-11-12 Thread Guenter Roeck
On Wed, Nov 12, 2014 at 04:22:34PM +0900, Greg Kroah-Hartman wrote: On Wed, Nov 12, 2014 at 03:22:55PM +0900, Greg Kroah-Hartman wrote: On Tue, Nov 11, 2014 at 09:21:48PM -0800, Guenter Roeck wrote: On 11/11/2014 05:16 PM, Greg Kroah-Hartman wrote: This is the start of the stable review

Re: [PATCH] mtd: nand: omap: Fix NAND enumeration on 3430 LDP

2014-11-12 Thread Tony Lindgren
* pekon pe...@pek-sem.com [141109 11:31]: On Saturday 08 November 2014 04:18 AM, Tony Lindgren wrote: Right. I doubt anybody has bch8 rootfs on LDP.. And considering u-boot must be ham1 to boot at all, that's what we should change for the devices that do not have not standardized on bch8.

[RFC/PATCH v2] usb: host: xhci: issue 'Reset Endpoint' for !CONTROL EPs from finish_td()

2014-11-12 Thread Felipe Balbi
If class driver wants to SetFeature(ENDPOINT_HALT) and later tries to talk to the stalled endpoint, xhci will move endpoint to EP_STATE_STALL and subsequent usb_submit_urb() will not cause a USB token to be shifted into the data lines. Because of that, peripheral will never have any means of

Re: [RFC/PATCH v2] usb: host: xhci: issue 'Reset Endpoint' for !CONTROL EPs from finish_td()

2014-11-12 Thread Alan Stern
On Wed, 12 Nov 2014, Felipe Balbi wrote: If class driver wants to SetFeature(ENDPOINT_HALT) and later tries to talk to the stalled endpoint, xhci will move endpoint to EP_STATE_STALL and subsequent usb_submit_urb() will not cause a USB token to be shifted into the data lines. Because of

Re: [PATCH v2] n_tty: Fix read_buf race condition, increment read_head after pushing data

2014-11-12 Thread Christian Riesch
On Wed, Nov 12, 2014 at 12:53 PM, Måns Rullgård m...@mansr.com wrote: Christian Riesch christian.rie...@omicron.at writes: On Tue, Nov 11, 2014 at 2:04 PM, Måns Rullgård m...@mansr.com wrote: Christian Riesch christian.rie...@omicron.at writes: [...] diff --git a/drivers/tty/n_tty.c

Re: [RFC/PATCH v2] usb: host: xhci: issue 'Reset Endpoint' for !CONTROL EPs from finish_td()

2014-11-12 Thread Felipe Balbi
Hi, On Wed, Nov 12, 2014 at 03:03:10PM -0500, Alan Stern wrote: On Wed, 12 Nov 2014, Felipe Balbi wrote: If class driver wants to SetFeature(ENDPOINT_HALT) and later tries to talk to the stalled endpoint, xhci will move endpoint to EP_STATE_STALL and subsequent usb_submit_urb() will

[merged] param-fix-crash-on-bad-kernel-arguments.patch removed from -mm tree

2014-11-12 Thread akpm
The patch titled Subject: param: fix crash on bad kernel arguments has been removed from the -mm tree. Its filename was param-fix-crash-on-bad-kernel-arguments.patch This patch was dropped because it was merged into mainline or a subsystem tree

Re: [PATCH 3.17 023/319] drivers/net: Disable UFO through virtio

2014-11-12 Thread Ben Hutchings
On Wed, 2014-11-12 at 10:12 +0900, Greg Kroah-Hartman wrote: 3.17-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings b...@decadent.org.uk [ Upstream commit 3d0ad09412ffe00c9afa201d01effdb6023d09b4 ] IPv6 does not allow

Re: [PATCH 1/2] of: Fix crash if an earlycon driver is not found

2014-11-12 Thread Grant Likely
On Sun, 9 Nov 2014 00:55:47 -0800 , Kevin Cernekee cerne...@gmail.com wrote: __earlycon_of_table_sentinel.compatible is a char[128], not a pointer, so it will never be NULL. Checking it against NULL causes the match loop to run past the end of the array, and eventually match a bogus entry,

Re: [PATCH 1/2] of: Fix crash if an earlycon driver is not found

2014-11-12 Thread Grant Likely
On Mon, 10 Nov 2014 08:14:01 -0600 , Rob Herring r...@kernel.org wrote: On Sun, Nov 9, 2014 at 2:55 AM, Kevin Cernekee cerne...@gmail.com wrote: __earlycon_of_table_sentinel.compatible is a char[128], not a pointer, so it will never be NULL. Checking it against NULL causes the match loop to

+ mem-hotplug-reset-node-present-pages-when-hot-adding-a-new-pgdat.patch added to -mm tree

2014-11-12 Thread akpm
The patch titled Subject: mem-hotplug: reset node present pages when hot-adding a new pgdat has been added to the -mm tree. Its filename is mem-hotplug-reset-node-present-pages-when-hot-adding-a-new-pgdat.patch This patch should soon appear at

+ mem-hotplug-reset-node-managed-pages-when-hot-adding-a-new-pgdat.patch added to -mm tree

2014-11-12 Thread akpm
The patch titled Subject: mem-hotplug: reset node managed pages when hot-adding a new pgdat has been added to the -mm tree. Its filename is mem-hotplug-reset-node-managed-pages-when-hot-adding-a-new-pgdat.patch This patch should soon appear at

Re: [PULL] params fix

2014-11-12 Thread Linus Torvalds
On Tue, Nov 11, 2014 at 9:39 PM, Rusty Russell ru...@rustcorp.com.au wrote: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git Hmm. No proper branch name. I'm assuming it's tags/fixes-for-linus, which seems to contain the proper commit id: for you to fetch changes up to

Re: [RFC/PATCH v2] usb: host: xhci: issue 'Reset Endpoint' for !CONTROL EPs from finish_td()

2014-11-12 Thread Alan Stern
On Wed, 12 Nov 2014, Felipe Balbi wrote: Hi, On Wed, Nov 12, 2014 at 03:03:10PM -0500, Alan Stern wrote: On Wed, 12 Nov 2014, Felipe Balbi wrote: If class driver wants to SetFeature(ENDPOINT_HALT) and later tries to talk to the stalled endpoint, xhci will move endpoint to

Re: [RFC/PATCH v2] usb: host: xhci: issue 'Reset Endpoint' for !CONTROL EPs from finish_td()

2014-11-12 Thread Felipe Balbi
Hi, On Wed, Nov 12, 2014 at 04:54:06PM -0500, Alan Stern wrote: [...] and the doorbell will never rung. But even if I drop EP_HALTED from the check below and let EP doorbell be rung, nothing will happen because, according to XHCI spec 1.0, we *must* first issue a Reset Endpoint command

Re: [PATCH 00/10] nouveau fixes for 3.16-stable

2014-11-12 Thread Ben Skeggs
On Wed, Nov 12, 2014 at 9:22 PM, Luis Henriques luis.henriq...@canonical.com wrote: Hi Ben, Sven On Tue, Nov 11, 2014 at 07:45:59PM +0100, Sven Joachim wrote: On 2014-10-21 23:08 +0200, Ben Skeggs wrote: From: Ben Skeggs bske...@redhat.com Hey, The majority of these are regression

[PATCH v3] n_tty: Fix read_buf race condition, increment read_head after pushing data

2014-11-12 Thread Christian Riesch
Commit 19e2ad6a09f0c06dbca19c98e5f4584269d913dd (n_tty: Remove overflow tests from receive_buf() path) moved the increment of read_head into the arguments list of read_buf_addr(). Function calls represent a sequence point in C. Therefore read_head is incremented before the character c is placed in