[PATCH 4/7] HID: picoLCD: satify some checkpatch warnings

2012-07-30 Thread Bruno Prémont
WARNING: static const char * array should probably be static const char * const +static const char *error_codes[] = { WARNING: min() should probably be min_t(size_t, 20, s) + raw_data[2] = min((size_t)20, s); Note: the second min_t suggestion cannot be followed because GCC is not smart

[PATCH 5/7] HID: picoLCD: Improve unplug handling

2012-07-30 Thread Bruno Prémont
Stop earlier attempting to submit new reports/URBs (though locking and usbhid still prevents to bail out early enough to not produce multiple hid-picolcd 0003:04D8:C002.0003: usb_submit_urb(out) failed: -19 messages in kernel log. Strengthen framebuffer removal to be less racy, though quick

[PATCH 3/7] HID: picoLCD: prevent NULL pointer dereference on unplug

2012-07-30 Thread Bruno Prémont
[ 679.807480] BUG: unable to handle kernel NULL pointer dereference at 0074 [ 679.814457] IP: [] picolcd_led_set_brightness+0x1f/0xb0 [hid_picolcd] [ 679.814457] *pde = [ 679.814457] Oops: [#1] [ 679.814457] Modules linked in: hid_picolcd fb_sys_fops sysimgblt sysfillrect

[PATCH 2/7] HID: picoLCD: Replace own refcounting with fbdev's

2012-07-30 Thread Bruno Prémont
Signed-off-by: Bruno Prémont --- drivers/hid/hid-picolcd.h |6 -- drivers/hid/hid-picolcd_core.c |1 - drivers/hid/hid-picolcd_fb.c | 114 ++- 3 files changed, 18 insertions(+), 103 deletions(-) diff --git a/drivers/hid/hid-picolcd.h

[PATCH 0/7] HID: picoLCD updates

2012-07-30 Thread Bruno Prémont
Hi, This series updates picoLCD driver: - split the driver functions into separate files which get included depending on Kconfig selection (implementation for CIR using RC_CORE will follow later) - drop private framebuffer refcounting in favor of refcounting added to fb_info some time ago -

Re: [RESEND PATCH 2/4 v3] mm: fix possible incorrect return value of migrate_pages() syscall

2012-07-30 Thread Christoph Lameter
On Sat, 28 Jul 2012, JoonSoo Kim wrote: > 2012/7/28 Christoph Lameter : > > On Sat, 28 Jul 2012, Joonsoo Kim wrote: > > > >> do_migrate_pages() can return the number of pages not migrated. > >> Because migrate_pages() syscall return this value directly, > >> migrate_pages() syscall may return the

[PATCH 02/10] ktest: Add PRE/POST_KTEST and TEST options

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt In order to let the user add commands before and after ktest runs, the PRE_KTEST and POST_KTEST options are defined. They hold shell commands that will execute befor ktest runs its first test, as well as when it completed its last test. The PRE_TEST and POST_TEST will be

[PATCH 04/10] ktest: Add CONFIG_BISECT_CHECK option

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt The config-bisect can take a bad config and bisect it down to find out what config actually breaks the config. But as all tests will apply a minconfig (defined by a user) to apply before booting, it is possible that the minconfig could actually make the bad config work

[PATCH 03/10] ktest: Add PRE_INSTALL option

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt Add the PRE_INSTALL option that will allow a user to specify a shell command to be executed before the install operation executes. Signed-off-by: Steven Rostedt --- tools/testing/ktest/ktest.pl|8 tools/testing/ktest/sample.conf |8 2 files

[PATCH 1/2] dmaengine: shdma: restore partial transfer calculation

2012-07-30 Thread Guennadi Liakhovetski
The recent shdma driver split has mistakenly removed support for partial DMA transfer size calculation on forced termination. This patch restores it. Signed-off-by: Guennadi Liakhovetski --- drivers/dma/sh/shdma-base.c |9 + drivers/dma/sh/shdma.c | 12

Re: [RESEND PATCH 4/4 v3] mm: fix possible incorrect return value of move_pages() syscall

2012-07-30 Thread Christoph Lameter
On Sat, 28 Jul 2012, JoonSoo Kim wrote: > 2012/7/28 Christoph Lameter : > > On Sat, 28 Jul 2012, Joonsoo Kim wrote: > > > >> move_pages() syscall may return success in case that > >> do_move_page_to_node_array return positive value which means migration > >> failed. > > > > Nope. It only means

Re: [PATCH] video/smscufx: fix line counting in fb_write

2012-07-30 Thread Alexander Holler
Hello, Am 26.07.2012 19:26, schrieb Florian Tobias Schandinat: Well, as this patch fixes a bug I applied it as is. Thanks a lot, actually I was more interested to get that one-line-patch for udlfb, because I've discovered that bug using one of those Mimo-LCDs. ;) Are you responsible for

[PATCH 2/2] serial: sh-sci: fix compilation breakage, when DMA is enabled

2012-07-30 Thread Guennadi Liakhovetski
A recent commit: commit d6fa5a4e7ab605370fd6c982782f84ef2e6660e7 Author: Guennadi Liakhovetski serial: sh-sci: prepare for conversion to the shdma base library is not sufficient to update the sh-sci driver to the new shdma driver layout. This caused compilation breakage, when

Re: [PATCH] Input: gpio_keys - Report wakeup events if device may wakeup

2012-07-30 Thread Benson Leung
Hi Dmitry, Yes I see Neil's changes. Thank you for letting me know. By the way, looking at Neil's changes, would it make sense to check for device_may_wakeup(dev) like in my patch so that the wakeup behavior can be turned off by setting power/wakeup to disabled? Benson On Sun, Jul 29, 2012 at

[PATCH 0/2] serial: sh-sci: fix compilation breakage (3.6)

2012-07-30 Thread Guennadi Liakhovetski
Hi all as has been reported in this http://thread.gmane.org/gmane.linux.kernel/1294256/focus=16001 thread, currently sh-sci doesn't comiple in the mainline and in -next if CONFIG_SERIAL_SH_SCI_DMA is enabled. This patch series fixes this breakage. Thanks Guennadi --- Guennadi Liakhovetski,

[PATCH 06/10] ktest: Add MAX_MONITOR_WAIT option

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt If the console is constantly outputting content, this can cause ktest to get stuck waiting on the monitor to settle down. The option MAX_MONITOR_WAIT is the maximum time (in seconds) for ktest to wait for the console to flush. Signed-off-by: Steven Rostedt ---

[PATCH 05/10] ktest: Fix config bisect with how make oldnoconfig works

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt With a name like 'oldnoconfig' one may think that the config generated would disable all configs that were not defined (selecting "no" for all options). But this is not the case. It selects the default. If a config has a 'default y', then it is added if not specified. This

[PATCH 07/10] ktest: Add check for bug or panic during reboot

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt Usually the target is booted into a dependable kernel when a test starts. The test will install the test kernel and reboot the box. But there may be a time that the kernel is running an unreliable kernel and the reboot may crash. Have ktest detect crashes on a reboot and

[PATCH 09/10] ktest: Ignore errors it tests if IGNORE_ERRORS is set

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt The option IGNORE_ERRORS is used to allow a test to succeed even if a warning appears from the kernel. Sometimes kernels will produce warnings that are not associated with a test, and the user wants to test something else. The IGNORE_ERRORS works for boot up, but was not

[PATCH 10/10] ktest: Allow perl regex expressions in conditional statements

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt Add '=~' and '!~' to the list of allowed conditionals for DEFAULT and TEST_START section if statements. ie. TEST_START IF TEST =~ .*test$ Signed-off-by: Steven Rostedt --- tools/testing/ktest/ktest.pl |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff

[PATCH 00/10] [GIT PULL] ktest: changes for v3.6

2012-07-30 Thread Steven Rostedt
Linus, Seems that you opened the merge window the day I left for the beach. I just got back (yes us Americans only take a week vacation), and just got the last of my ktest quilt queue into git. Please pull the latest ktest-v3.6 tree, which can be found at:

[PATCH 08/10] ktest: Reset saved min (force) configs for each test

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt The min configs are saved in a perl hash called force_configs, and this hash is used to add configs to the .config file. But it was not being reset between tests and a min config from a previous test would affect the min config of the next test causing undesirable results.

[PATCH 01/10] ktest: Remove commented exit

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt A debug 'exit' was left in ktest.pl. Remove it. Signed-off-by: Steven Rostedt --- tools/testing/ktest/ktest.pl |1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl index 292b13a..a40af07 100755 ---

[PATCH 3/6] menuconfig: Extend dialog_textbox so that it can return to a scrolled position

2012-07-30 Thread Benjamin Poirier
Signed-off-by: Benjamin Poirier --- scripts/kconfig/lxdialog/dialog.h |2 +- scripts/kconfig/lxdialog/textbox.c | 24 +++- scripts/kconfig/mconf.c|8 3 files changed, 28 insertions(+), 6 deletions(-) diff --git

[PATCH 5/6] menuconfig: Do not open code textbox scroll up/down

2012-07-30 Thread Benjamin Poirier
We don't need to explicitely use ncurses' scroll(). ncurses performs vertical-motion optimization at wrefresh() time. Using strace I confirmed that with the following patch curses still sends only the new line of text to the terminal when scrolling up/down one line at a time. Signed-off-by:

[PATCH 6/6] menuconfig: Assign jump keys per-page instead of globally

2012-07-30 Thread Benjamin Poirier
At the moment, keys 1-9 are assigned to the first 9 search results. This patch makes them assigned to the first 9 results per-page instead. We are much less likely to run out of keys that way. Signed-off-by: Benjamin Poirier --- scripts/kconfig/expr.h |9

[PATCH 4/6] menuconfig: Add jump keys to search results

2012-07-30 Thread Benjamin Poirier
makes it possible to jump directly to the menu for a configuration entry after having searched for it with '/'. If this menu is not currently accessible we jump to the nearest accessible parent instead. After exiting this menu, the user is returned to the search results where he may jump further

[PATCH 2/6] menuconfig: Extend dialog_textbox so that it can exit on arbitrary keypresses

2012-07-30 Thread Benjamin Poirier
Signed-off-by: Benjamin Poirier --- scripts/kconfig/lxdialog/dialog.h |3 ++- scripts/kconfig/lxdialog/textbox.c | 31 +-- scripts/kconfig/mconf.c| 12 ++-- 3 files changed, 33 insertions(+), 13 deletions(-) diff --git

[PATCH 1/6] menuconfig: Remove superfluous conditionnal

2012-07-30 Thread Benjamin Poirier
Because end_reached is set to 0 before the loop, the test "!end_reached" is always true and can be removed. This structure was perhaps copied from the similar one in back_lines(). Signed-off-by: Benjamin Poirier --- scripts/kconfig/lxdialog/textbox.c |8 +++- 1 files changed, 3

[PATCH 0/6] menuconfig: jump to search results

2012-07-30 Thread Benjamin Poirier
Hello, This patch series adds "jump to" keys (similar to the cscope interface) to the search results of "make menuconfig" so that we can go directly to the menu entry for a config option after searching for it. Patches 1-4 implement the basic functionnality. Patches 5-6 are an optionnal

Complaint - pid-owner Support Removed (CONFIG_NETFILTER_XT_MATCH_OWNER)

2012-07-30 Thread C. Schmid
Hello, i want to complain about the removal of the --pid-owner Support for iptables. As far as i understand it this support was just removed without replacement. I would have expected, that if anything you would have improved the support for pid's and especially for desktop firewalls. But

Re: [PATCH 0/4] promote zcache from staging

2012-07-30 Thread Seth Jennings
Dan, I started writing inline responses to each concern but that was adding more confusion than clarity. I would like to focus the discussion. The purpose of this patchset is to discuss the inclusion of zcache into mainline during the 3.7 merge window. zcache has been a staging since v2.6.39

[PATCH can-next v3 2/2] can: flexcan: add LED trigger support

2012-07-30 Thread Fabio Baltieri
Add support for canbus activity led indicators on flexcan devices by calling appropriate can_led_* functions. These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op otherwise. Signed-off-by: Fabio Baltieri --- drivers/net/can/flexcan.c | 13 + 1 file changed, 13

Re: [PATCH 13/17] Tools: hv: Implement the KVP verb - KVP_OP_SET_IP_INFO

2012-07-30 Thread Ben Hutchings
On Mon, Jul 30, 2012 at 06:32:15PM +, KY Srinivasan wrote: > > > > -Original Message- > > From: Olaf Hering [mailto:o...@aepfle.de] > > Sent: Monday, July 30, 2012 2:03 PM > > To: KY Srinivasan > > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > >

[PATCH can-next v3 1/2] can: add tx/rx LED trigger support

2012-07-30 Thread Fabio Baltieri
This patch implements the functions to add two LED triggers, named -tx and -rx, to a canbus device driver. Triggers are called from specific handlers by each CAN device driver and can be disabled altogether with a Kconfig option. The implementation keeps the LED on when the interface is UP and

[PATCH] fbcon: Fix bit_putcs() call to kmalloc(s, GFP_KERNEL)

2012-07-30 Thread Bruno Prémont
Switch to kmalloc(,GFP_ATOMIC) in bit_putcs to fix below trace: [9.771812] BUG: sleeping function called from invalid context at /usr/src/linux-git/mm/slub.c:943 [9.771814] in_atomic(): 1, irqs_disabled(): 1, pid: 1063, name: mount [9.771818] Pid: 1063, comm: mount Not tainted

Re: [PATCH] slub: remove one code path and reduce lock contention in __slab_free()

2012-07-30 Thread Christoph Lameter
On Sat, 28 Jul 2012, JoonSoo Kim wrote: > 2012/7/28 Christoph Lameter : > > On Sat, 28 Jul 2012, Joonsoo Kim wrote: > > > >> Subject and commit log are changed from v1. > > > > That looks a bit better. But the changelog could use more cleanup and > > clearer expression. > > > >> @@ -2490,25

RE: [PATCH 13/17] Tools: hv: Implement the KVP verb - KVP_OP_SET_IP_INFO

2012-07-30 Thread KY Srinivasan
> -Original Message- > From: Olaf Hering [mailto:o...@aepfle.de] > Sent: Monday, July 30, 2012 1:33 PM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; a...@canonical.com; net...@vger.kernel.org; > b...@decadent.org.uk >

Re: [PATCH -alternative] mm: hugetlbfs: Close race during teardown of hugetlbfs shared page tables V2 (resend)

2012-07-30 Thread Larry Woodman
On 07/27/2012 06:23 AM, Mel Gorman wrote: On Thu, Jul 26, 2012 at 11:48:56PM -0400, Larry Woodman wrote: On 07/26/2012 02:37 PM, Rik van Riel wrote: On 07/23/2012 12:04 AM, Hugh Dickins wrote: I spent hours trying to dream up a better patch, trying various approaches. I think I have a nice

[GIT PULL for v3.6-rc1] media updates

2012-07-30 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus This is the first part of the media patches for v3.6. During my 3-weeks vacation that finished yesterday, I got about 400 patches on my queue. My intention is to handle at least part of

[GIT PULL] XFS update for 3.6-rc1

2012-07-30 Thread Ben Myers
Hi Linus, Please pull these XFS updates for 3.6-rc1. There are numerous cleanups and several bugfixes. Here are the highlights: * Discontiguous directory buffer support * Inode allocator refactoring * Removal of the IO lock in inode reclaim * Implementation of

Re: kernel BUG at fs/buffer.c:2886! Linux 3.5.0

2012-07-30 Thread Vincent ETIENNE
On 30/07/2012 09:53, Joel Becker wrote: > On Mon, Jul 30, 2012 at 09:45:14AM +0200, Vincent ETIENNE wrote: >> Le 30/07/2012 08:30, Joel Becker a écrit : >>> On Sat, Jul 28, 2012 at 12:18:30AM +0200, Vincent ETIENNE wrote: Hello Get this on first write made ( by deliver sending

Re: [wq:review-wq-mod_delayed] WARNING: at __queue_work()

2012-07-30 Thread Tejun Heo
On Sun, Jul 29, 2012 at 01:21:59PM +0800, Fengguang Wu wrote: > Hi Tejun, > > I got the below warning on > > tree: git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git > review-wq-mod_delayed > head: 6f510bfa84f26319b1021b9e706ebb814809c4a3 > commit:

RE: [PATCH 13/17] Tools: hv: Implement the KVP verb - KVP_OP_SET_IP_INFO

2012-07-30 Thread KY Srinivasan
> -Original Message- > From: Olaf Hering [mailto:o...@aepfle.de] > Sent: Monday, July 30, 2012 2:03 PM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; a...@canonical.com; net...@vger.kernel.org; > b...@decadent.org.uk >

Re: [PATCH 13/17] Tools: hv: Implement the KVP verb - KVP_OP_SET_IP_INFO

2012-07-30 Thread Olaf Hering
On Tue, Jul 24, K. Y. Srinivasan wrote: > + /* > + * Set the configuration for the specified interface with > + * the information provided. Since there is no standard > + * way to configure an interface, we will have an external > + * script that does the job of

Re: [RFC v2 2/2] net: Add support for NTB virtual ethernet device

2012-07-30 Thread Jon Mason
On Mon, Jul 30, 2012 at 04:02:16PM +0200, Jiri Pirko wrote: > Mon, Jul 30, 2012 at 02:26:34AM CEST, jon.ma...@intel.com wrote: > >+static int __devinit ntb_netdev_probe(struct pci_dev *pdev) > >+{ > >+struct net_device *ndev; > >+struct ntb_netdev *dev; > >+int rc; > >+ > >+ndev =

Re: [RFC v2 1/2] PCI-Express Non-Transparent Bridge Support

2012-07-30 Thread Jon Mason
On Mon, Jul 30, 2012 at 10:50:13AM -0600, Bjorn Helgaas wrote: > On Sun, Jul 29, 2012 at 6:26 PM, Jon Mason wrote: > > A PCI-Express non-transparent bridge (NTB) is a point-to-point PCIe bus > > connecting 2 systems, providing electrical isolation between the two > > subsystems. > > A

Re: [PATCH 1/2] onewire: w1-gpio: add ext_pullup_enable pin in platform data

2012-07-30 Thread Evgeniy Polyakov
Hi Sorry for long delay [resend with fixed Greg's address :)] On Wed, Jul 25, 2012 at 10:54:29PM +0200, Daniel Mack (zon...@gmail.com) wrote: > In the process of porting boards to devicetree implemenation, we should > keep information about external circuitry where they belong - the > individual

[PATCH -resend] DVB: dib0700, remove double \n's from log

2012-07-30 Thread Jiri Slaby
err() already adds \n to the end of the format string. So remove one more \n from formatting strings in the dib0700 driver. Signed-off-by: Jiri Slaby Cc: Mauro Carvalho Chehab Cc: Michael Krufky --- drivers/media/dvb/dvb-usb/dib0700_core.c |6 +++--- 1 file changed, 3 insertions(+), 3

Re: [RFC] PCI/PM: Add ABI document for sysfs file d3cold_allowed

2012-07-30 Thread Don Dutile
On 07/27/2012 04:07 AM, Huang Ying wrote: This patch adds ABI document for the following sysfs file: /sys/bus/pci/devices/.../d3cold_allowed Signed-off-by: Huang Ying --- Documentation/ABI/testing/sysfs-bus-pci | 12 1 file changed, 12 insertions(+) ---

Re: [PATCH] mfd: arizona: convert to regmap_add_irq_chips

2012-07-30 Thread Mark Brown
On Mon, Jul 30, 2012 at 11:05:08AM -0600, Stephen Warren wrote: > On 07/29/2012 02:38 PM, Mark Brown wrote: > > On Fri, Jul 27, 2012 at 01:02:56PM -0600, Stephen Warren wrote: > >> 1) regmap_add_irq_chips() calls regmap_add_irq_chip() with irq==0 rather > >>than -1, so in turn

Re: boot panic regression introduced in 3.5-rc7

2012-07-30 Thread John Stultz
On 07/29/2012 08:51 PM, CAI Qian wrote: The bisecting pointed out this patch caused one of dell servers boot panic. 5baefd6d84163443215f4a99f6a20f054ef11236 hrtimer: Update hrtimer base offsets each hrtimer_interrupt [2.971092] WARNING: at kernel/time/clockevents.c:209

Hardware locality (hwloc) v1.5 released

2012-07-30 Thread Samuel Thibault
The Hardware Locality (hwloc) team is pleased to announce the release of v1.5: http://www.open-mpi.org/projects/hwloc/ v1.5 is a major new release series. It includes many new features and changes over the v1.4.x series. The most noticeable changes are the addition of the lstopo-no-graphics

Re: [Regression 3.4] tick_broadcast_mask is not restored after a CPU has been offline/onlined

2012-07-30 Thread Paul E. McKenney
On Mon, Jul 30, 2012 at 10:08:47AM -0700, Paul E. McKenney wrote: > On Mon, Jul 30, 2012 at 11:07:47PM +0800, Feng Tang wrote: > > Hi Paul, > > > > On Mon, 30 Jul 2012 06:39:13 -0700 > > "Paul E. McKenney" wrote: > > > > > On Mon, Jul 30, 2012 at 03:15:59PM +0800, Feng Tang wrote: > > > > Hi

[ 14/41] vmscan: reduce wind up shrinker->nr when shrinker cant do work

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Dave Chinner commit 3567b59aa80ac4417002bf58e35dce5c777d4164 upstream. Stable note: Not tracked in Bugzilla. This patch reduces excessive reclaim of slab objects

[ 15/41] vmscan: limit direct reclaim for higher order allocations

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Rik van Riel commit e0887c19b2daa140f20ca8104bdc5740f39dbb86 upstream. Stable note: Not tracked on Bugzilla. THP and compaction was found to aggressively reclaim pages

[ 13/41] vmscan: shrinker->nr updates race and go wrong

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Dave Chinner commit acf92b485cccf028177f46918e045c0c4e80ee10 upstream. Stable note: Not tracked in Bugzilla. This patch reduces excessive reclaim of slab objects

[ 12/41] vmscan: add shrink_slab tracepoints

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Dave Chinner commit 095760730c1047c69159ce88021a7fa3833502c8 upstream. Stable note: This patch makes later patches easier to apply but otherwise has little to justify

[ 18/41] mm: change isolate mode from #define to bitwise type

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Minchan Kim commit 4356f21d09283dc6d39a6f7287a65ddab61e2808 upstream. Stable note: Not tracked in Bugzilla. This patch makes later patches easier to apply but has no

[ 06/41] dm raid1: fix crash with mirror recovery and discard

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 751f188dd5ab95b3f2b5f2f467c38aae5a2877eb upstream. This patch fixes a crash when a discard request is sent during mirror recovery. Firstly, some

[ 08/41] mm: memory hotplug: Check if pages are correctly reserved on a per-section basis

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit 2bbcb8788311a40714b585fc11b51da6ffa2ab92 upstream. Stable note: Fixes https://bugzilla.novell.com/show_bug.cgi?id=721039 . Without the patch, memory

Re: [PATCH 1/2] onewire: w1-gpio: add ext_pullup_enable pin in platform data

2012-07-30 Thread Evgeniy Polyakov
Hi Sorry for long delay On Wed, Jul 25, 2012 at 10:54:29PM +0200, Daniel Mack (zon...@gmail.com) wrote: > In the process of porting boards to devicetree implemenation, we should > keep information about external circuitry where they belong - the > individual drivers. > > This patch adds a way

[ 11/41] vmscan: clear ZONE_CONGESTED for zone with good watermark

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit 439423f6894aa0dec22187526827456f5004baed upstream. Stable note: Not tracked in Bugzilla. kswapd is responsible for clearing ZONE_CONGESTED after it

[ 20/41] mm: zone_reclaim: make isolate_lru_page() filter-aware

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Minchan Kim commit f80c0673610e36ae29d63e3297175e22f70dde5f upstream. Stable note: Not tracked in Bugzilla. THP and compaction disrupt the LRU list leading to poor

[ 22/41] mm: compaction: allow compaction to isolate dirty pages

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit a77ebd333cd810d7b680d544be88c875131c2bd3 upstream. Stable note: Not tracked in Bugzilla. A fix aimed at preserving page aging information by reducing

Re: [PATCH 2/3] regmap: implement irq chip suspend/resume operations

2012-07-30 Thread Mark Brown
On Mon, Jul 30, 2012 at 11:10:30AM -0600, Stephen Warren wrote: > hence exit sleep. If we are to port that code into the regmap-irq core, > it seems to make sense to have enable_base==wake_base, since the same > register truly is being used for both enable/wakeup-enable, just > time-multiplexed.

Re: [PATCH] aerdrv: Enable AER completion notice

2012-07-30 Thread Bjorn Helgaas
On Thu, Jul 19, 2012 at 1:19 PM, Lance Ortiz wrote: > When an AER event occurs not all of the print notifications are at the > same log level. This can cause an incomplete AER log from the users > point of view when monitoring the console output. > > The completion message in do_recovery() is

[ 24/41] mm: page allocator: do not call direct reclaim for THP allocations while compaction is deferred

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit 66199712e9eef5aede09dbcd9dfff87798a66917 upstream. Stable note: Not tracked in Buzilla. This was part of a series that reduced interactivity stalls

[ 21/41] mm: migration: clean up unmap_and_move()

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Minchan Kim commit 0dabec93de633a87adfbbe1d800a4c56cd19d73b upstream. Stable note: Not tracked in Bugzilla. This patch makes later patches easier to apply but has no

[ 30/41] mm: vmscan: do not OOM if aborting reclaim to start compaction

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit 7335084d446b83cbcb15da80497d03f0c1dc9e21 upstream. Stable note: Not tracked in Bugzilla. This patch makes later patches easier to apply but otherwise

[ 02/41] ntp: Fix STA_INS/DEL clearing bug

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: John Stultz commit 6b1859dba01c7d512b72d77e3fd7da8354235189 upstream. In commit 6b43ae8a619d17c4935c3320d2ef9e92bdeed05d, I introduced a bug that kept the STA_INS or STA_DEL

[ 03/41] mm: fix lost kswapd wakeup in kswapd_stop()

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Aaditya Kumar commit 1c7e7f6c0703d03af6bcd5ccc11fc15d23e5ecbe upstream. Offlining memory may block forever, waiting for kswapd() to wake up because kswapd() does not check the

[ 23/41] mm: compaction: determine if dirty pages can be migrated without blocking within ->migratepage

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit b969c4ab9f182a6e1b2a0848be349f99714947b0 upstream. Stable note: Not tracked in Bugzilla. A fix aimed at preserving page aging information by reducing

[ 25/41] mm: compaction: make isolate_lru_page() filter-aware again

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit c82449352854ff09e43062246af86bdeb628f0c3 upstream. Stable note: Not tracked in Bugzilla. A fix aimed at preserving page aging information by reducing

Re: [PATCH 13/17] Tools: hv: Implement the KVP verb - KVP_OP_SET_IP_INFO

2012-07-30 Thread Olaf Hering
On Tue, Jul 24, K. Y. Srinivasan wrote: > +static char *kvp_get_if_name(char *guid) > +{ > + DIR *dir; > + struct dirent *entry; > + FILE*file; > + char*p, *q, *x; > + char*if_name = NULL; > + charbuf[256]; > + char *kvp_net_dir = "/sys/class/net/"; > +

[ 19/41] mm: compaction: make isolate_lru_page() filter-aware

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Minchan Kim commit 39deaf8585152f1a35c1676d3d7dc6ae0fb65967 upstream. Stable note: Not tracked in Bugzilla. THP and compaction disrupt the LRU list leading to poor

[ 34/41] mm/vmscan.c: consider swap space when deciding whether to continue reclaim

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Minchan Kim commit 86cfd3a45042ab242d47f3935a02811a402beab6 upstream. Stable note: Not tracked in Bugzilla. This patch reduces kswapd CPU usage on swapless systems with

Re: [PATCH 1/2] onewire: w1-gpio: add ext_pullup_enable pin in platform data

2012-07-30 Thread Daniel Mack
On 30.07.2012 19:32, Evgeniy Polyakov wrote: > Hi > > Sorry for long delay > > On Wed, Jul 25, 2012 at 10:54:29PM +0200, Daniel Mack (zon...@gmail.com) > wrote: >> In the process of porting boards to devicetree implemenation, we should >> keep information about external circuitry where they

[ 40/41] mm/hugetlb: fix warning in alloc_huge_page/dequeue_huge_page_vma

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov commit b1c12cbcd0a02527c180a862e8971e249d3b347d upstream. Stable note: Not tracked in Bugzilla. [get|put]_mems_allowed() is extremely expensive

[ 36/41] mm: vmscan: convert global reclaim to per-memcg LRU lists

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Weiner commit b95a2f2d486d0d768a92879c023a03757b9c7e58 upstream - WARNING: this is a substitute patch. Stable note: Not tracked in Bugzilla. This is a partial

[ 41/41] vmscan: fix initial shrinker size handling

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov commit 635697c663f38106063d5659f0cf2e45afcd4bb5 upstream. Stable note: The commit [acf92b48: vmscan: shrinker->nr updates race and go wrong] aimed

[ 39/41] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit cc9a6c8776615f9c194ccf0b63a0aa5628235545 upstream. Stable note: Not tracked in Bugzilla. [get|put]_mems_allowed() is extremely expensive and severely

[ 37/41] cpusets: avoid looping when storing to mems_allowed if one node remains set

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: David Rientjes commit 89e8a244b97e48f1f30e898b6f32acca477f2a13 upstream. Stable note: Not tracked in Bugzilla. [get|put]_mems_allowed() is extremely expensive and

[ 35/41] mm: test PageSwapBacked in lumpy reclaim

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit 043bcbe5ec51e0478ef2b44acef17193e01d7f70 upstream. Stable note: Not tracked in Bugzilla. There were reports of shared mapped pages being unfairly

[ 33/41] vmscan: activate executable pages after first usage

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov commit c909e99364c8b6ca07864d752950b6b4ecf6bef4 upstream. Stable note: Not tracked in Bugzilla. There were reports of shared mapped pages being

Re: [PATCH 03/11] kdb: Implement disable_nmi command

2012-07-30 Thread Colin Cross
On Mon, Jul 30, 2012 at 4:58 AM, Anton Vorontsov wrote: > This command disables NMI-entry. If NMI source was previously shared with > a serial console ("debug port"), this effectively releases the port from > KDB exclusive use, and makes the console available for normal use. > > Of course, NMI

[ 28/41] mm: compaction: introduce sync-light migration for use by compaction

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit a6bc32b899223a877f595ef9ddc1e89ead5072b8 upstream. Stable note: Not tracked in Buzilla. This was part of a series that reduced interactivity stalls

[ 27/41] kswapd: assign new_order and new_classzone_idx after wakeup in sleeping

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Alex Shi commit f0dfcde099453aa4c0dc42473828d15a6d492936 upstream. Stable note: Fixes https://bugzilla.redhat.com/show_bug.cgi?id=712019. This patch reduces kswapd CPU

[ 38/41] cpusets: stall when updating mems_allowed for mempolicy or disjoint nodemask

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: David Rientjes commit b246272ecc5ac68c743b15c9e41a2275f7ce70e2 upstream. Stable note: Not tracked in Bugzilla. [get|put]_mems_allowed() is extremely expensive and

[ 26/41] kswapd: avoid unnecessary rebalance after an unsuccessful balancing

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Alex Shi commit d2ebd0f6b89567eb93ead4e2ca0cbe03021f344b upstream. Stable note: Fixes https://bugzilla.redhat.com/show_bug.cgi?id=712019. This patch reduces kswapd CPU

[ 32/41] vmscan: promote shared file mapped pages

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov commit 34dbc67a644f11ab3475d822d72e25409911e760 upstream. Stable note: Not tracked in Bugzilla. There were reports of shared mapped pages being

[ 31/41] mm: vmscan: check if reclaim should really abort even if compaction_ready() is true for one zone

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit 0cee34fd72c582b4f8ad8ce00645b75fb4168199 upstream. Stable note: Not tracked on Bugzilla. THP and compaction was found to aggressively reclaim pages

[ 29/41] mm: vmscan: when reclaiming for compaction, ensure there are sufficient free pages available

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit fe4b1b244bdb96136855f2c694071cb09d140766 upstream. Stable note: Not tracked on Bugzilla. THP and compaction was found to aggressively reclaim pages

[ 10/41] mm: vmscan: fix force-scanning small targets without swap

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Weiner commit a4d3e9e76337059406fcf3ead288c0df22a790e9 upstream. Stable note: Not tracked in Bugzilla. This patch augments an earlier commit that avoids

[ 09/41] mm: reduce the amount of work done when updating min_free_kbytes

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit 938929f14cb595f43cd1a4e63e22d36cab1e4a1f upstream. Stable note: Fixes https://bugzilla.novell.com/show_bug.cgi?id=726210 . Large machines with 1TB or

[ 07/41] mm/vmstat.c: cache align vm_stat

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Dimitri Sivanich commit a1cb2c60ddc98ff4e5246f410558805401ceee67 upstream. Stable note: Not tracked on Bugzilla. This patch is known to make a big difference to tmpfs

[ 05/41] UBIFS: fix a bug in empty space fix-up

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Artem Bityutskiy commit c6727932cfdb13501108b16c38463c09d5ec7a74 upstream. UBIFS has a feature called "empty space fix-up" which is a quirk to work-around limitations of dumb

[ 04/41] MIPS: Properly align the .data..init_task section.

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: David Daney commit 7b1c0d26a8e272787f0f9fcc5f3e8531df3b3409 upstream. Improper alignment can lead to unbootable systems and/or random crashes. [r...@linux-mips.org: This is a

[ 17/41] mm: compaction: trivial clean up in acct_isolated()

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Minchan Kim commit b9e84ac1536d35aee03b2601f19694949f0bd506 upstream. Stable note: Not tracked in Bugzilla. This patch makes later patches easier to apply but has no

[ 16/41] vmscan: abort reclaim/compaction if compaction can proceed

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit e0c23279c9f800c403f37511484d9014ac83adec upstream. Stable note: Not tracked on Bugzilla. THP and compaction was found to aggressively reclaim pages

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