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 to

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

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka mpato...@redhat.com commit 751f188dd5ab95b3f2b5f2f467c38aae5a2877eb upstream. This patch fixes a crash when a discard request is sent

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

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Minchan Kim minchan@gmail.com commit 4356f21d09283dc6d39a6f7287a65ddab61e2808 upstream. Stable note: Not tracked in Bugzilla. This patch makes

[ 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 gre...@linuxfoundation.org 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman mgor...@suse.de commit 2bbcb8788311a40714b585fc11b51da6ffa2ab92 upstream. Stable note: Fixes

[ 12/41] vmscan: add shrink_slab tracepoints

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Dave Chinner dchin...@redhat.com commit 095760730c1047c69159ce88021a7fa3833502c8 upstream. Stable note: This patch makes later patches easier to apply

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

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Dave Chinner dchin...@redhat.com commit acf92b485cccf028177f46918e045c0c4e80ee10 upstream. Stable note: Not tracked in Bugzilla. This patch reduces

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

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Rik van Riel r...@redhat.com commit e0887c19b2daa140f20ca8104bdc5740f39dbb86 upstream. Stable note: Not tracked on Bugzilla. THP and compaction was

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

2012-07-30 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Dave Chinner dchin...@redhat.com commit 3567b59aa80ac4417002bf58e35dce5c777d4164 upstream. Stable note: Not tracked in Bugzilla. This patch reduces

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 paul...@linux.vnet.ibm.com wrote: On Mon, Jul 30, 2012 at 03:15:59PM +0800, Feng Tang wrote:

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: 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

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 irq_domain_add_linear()

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 Yingying.hu...@intel.com --- Documentation/ABI/testing/sysfs-bus-pci | 12 1 file changed, 12 insertions(+) ---

[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 jsl...@suse.cz Cc: Mauro Carvalho Chehab mche...@infradead.org Cc: Michael Krufky mkru...@linuxtv.org --- drivers/media/dvb/dvb-usb/dib0700_core.c

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

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 jon.ma...@intel.com 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: [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: [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 configuring the

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 Subject:

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: 54eaaeaa4d2b871c835ff826af5dab3b96f90da0

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 mail to inform 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

[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

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

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 Subject:

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 c...@linux.com: 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 +2492,17

[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

[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 ifname-tx and ifname-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

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; de...@linuxdriverproject.org;

[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 fabio.balti...@gmail.com --- drivers/net/can/flexcan.c | 13 + 1

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

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

[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 improvement.

[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 bpoir...@suse.de --- scripts/kconfig/lxdialog/textbox.c |8 +++- 1 files

[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 bpoir...@suse.de --- 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 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 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 bpoir...@suse.de --- scripts/kconfig/expr.h |9

[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 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 bpoir...@suse.de --- 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 01/10] ktest: Remove commented exit

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com A debug 'exit' was left in ktest.pl. Remove it. Signed-off-by: Steven Rostedt rost...@goodmis.org --- 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

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

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com 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

[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 10/10] ktest: Allow perl regex expressions in conditional statements

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com 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 rost...@goodmis.org --- tools/testing/ktest/ktest.pl |6 +- 1 file changed,

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

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com 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

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

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com 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

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

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com 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

[PATCH 06/10] ktest: Add MAX_MONITOR_WAIT option

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com 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

[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,

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 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 g.liakhovet...@gmx.de 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

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

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 c...@linux.com: 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 that

[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 g.liakhovet...@gmx.de --- drivers/dma/sh/shdma-base.c |9 + drivers/dma/sh/shdma.c | 12

[PATCH 03/10] ktest: Add PRE_INSTALL option

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com 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 rost...@goodmis.org --- tools/testing/ktest/ktest.pl|8

[PATCH 04/10] ktest: Add CONFIG_BISECT_CHECK option

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com 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

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

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com 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

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 c...@linux.com: 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 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 -

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

2012-07-30 Thread Bruno Prémont
Signed-off-by: Bruno Prémont bonb...@linux-vserver.org --- 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

[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: [de93b5bf] 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

[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 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 6/7] HID: picoLCD: disable version check during probe

2012-07-30 Thread Bruno Prémont
Commit 4ea5454203d991ec85264f64f89ca8855fce69b0 [HID: Fix race condition between driver core and ll-driver] introduced new locking around proce/remove functions that prevent any report/reply from hardware to reach driver until it returned from probe. As such, the ask-reply way to checking picoLCD

[PATCH 7/7] HID: picoLCD: add myself to MAINTAINERS

2012-07-30 Thread Bruno Prémont
Signed-off-by: Bruno Prémont bonb...@linux-vserver.org --- MAINTAINERS |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index fe643e7..0042553 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5283,6 +5283,12 @@ L:

Re: [RFC] page-table walkers vs memory order

2012-07-30 Thread Jamie Lokier
Paul E. McKenney wrote: Does some version of gcc, under the options which we insist upon, make such optimizations on any of the architectures which we support? Pretty much any production-quality compiler will do double-fetch and old-value-reuse optimizations, the former especially on

[PATCH 2/4] localmodconfig: Read in orig config file to avoid extra processing

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com Read in the entire config file. If there's a config that we depend on that happens to be in the core set (not a module) then we do not need to process it as a module. Currently, we follow the entire depend and selects even if they are enabled as core and

[PATCH 0/4] [GIT PULL] localmodconfig: Improve module config removal

2012-07-30 Thread Steven Rostedt
Linus, These changes drastically improve the amount of module configs removed from a config file. It also adds some debug that I can have users easily enable if things do not work for them. Please pull the latest localmodconfig-v3.6 tree, which can be found at:

[PATCH 1/4] localmodconfig: Comments and cleanup for streamline_config.pl

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com Added some more comments and cleaned up part of the the code to use a named variable instead of one of the special $1 perl variables. No functional changes. Signed-off-by: Steven Rostedt rost...@goodmis.org --- scripts/kconfig/streamline_config.pl |

[PATCH 3/4] localmodconfig: Check if configs are already set for selects

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com There are some cases that a required module does not have a prompt and needs to have another module enabled that selects it to be set. As localmodconfig is conservative and tries to make the minimum config without breaking the user's kernel, or keeping the

Re: 3.4.0+ - Linus GIT -- drivers/built-in.o: In function `nouveau_acpi_edid': (.text+0x112337): undefined reference to `acpi_video_get_edid'

2012-07-30 Thread Randy Dunlap
On 05/31/2012 12:10 AM, Miles Lane wrote: I suspect this is due to a dependency not enforced in the Kconfig logic? LD init/built-in.o drivers/built-in.o: In function `nouveau_acpi_edid': (.text+0x112337): undefined reference to `acpi_video_get_edid' This build error still happens

[PATCH 4/4] localmodconfig: Add debug environment variable LOCALMODCONFIG_DEBUG

2012-07-30 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com If the environment variable LOCALMODCONFIG_DEBUG is set, then debug output will appear in the make localmodconfig. This will simplify debugging what people get with their output, as I can just tell people to do: LOCALMODCONFIG_DEBUG=1 make

[PATCH][TRIVIAL] mm/frontswap: fix uninit'ed variable warning

2012-07-30 Thread Seth Jennings
Fixes uninitialized variable warning on 'type' in frontswap_shrink(). type is set before use by __frontswap_unuse_pages() called by __frontswap_shrink() called by frontswap_shrink() before use by try_to_unuse(). Signed-off-by: Seth Jennings sjenn...@linux.vnet.ibm.com --- Based on next-20120730

RE: [PATCH net,1/1] hyperv: Add support for setting MAC from within guests

2012-07-30 Thread Haiyang Zhang
-Original Message- From: Olaf Hering [mailto:o...@aepfle.de] Sent: Monday, July 30, 2012 8:39 AM To: Haiyang Zhang Cc: da...@davemloft.net; net...@vger.kernel.org; KY Srinivasan; linux- ker...@vger.kernel.org; de...@linuxdriverproject.org Subject: Re: [PATCH net,1/1] hyperv: Add

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

2012-07-30 Thread Benson Leung
Actually, I take it back. It doesn't look like it's necessary. Benson On Mon, Jul 30, 2012 at 12:28 PM, Benson Leung ble...@chromium.org wrote: 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

Re: [PATCH TRIVIAL] mm: Fix build warning in kmem_cache_create()

2012-07-30 Thread David Rientjes
On Mon, 30 Jul 2012, Pekka Enberg wrote: The label oops is used in CONFIG_DEBUG_VM ifdef block and is defined outside ifdef CONFIG_DEBUG_VM block. This results in the following build warning when built with CONFIG_DEBUG_VM disabled. Fix to move label oops definition to inside a

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

2012-07-30 Thread Borislav Petkov
On Mon, Jul 30, 2012 at 03:22:04PM -0400, Benjamin Poirier wrote: 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

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

2012-07-30 Thread Jiri Pirko
Mon, Jul 30, 2012 at 08:19:11PM CEST, jon.ma...@intel.com wrote: 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

[PATCH v2 04/15] workqueue: disable preemption while manipulating PENDING

2012-07-30 Thread Tejun Heo
From bdbc04720254d1a84504074a6b25189961030803 Mon Sep 17 00:00:00 2001 From: Tejun Heo t...@kernel.org Date: Mon, 30 Jul 2012 13:03:57 -0700 Queueing operations use WORK_STRUCT_PENDING_BIT to synchronize access to the target work item. They first try to claim the bit and proceed with queueing

[PATCH v2 12/15] workqueue: mark a work item being canceled as such

2012-07-30 Thread Tejun Heo
From 7199d2757a11ab19bf28713490b898a5a7b24d65 Mon Sep 17 00:00:00 2001 From: Tejun Heo t...@kernel.org Date: Mon, 30 Jul 2012 13:03:59 -0700 There can be two reasons try_to_grab_pending() can fail with -EAGAIN. One is when someone else is queueing or deqeueing the work item. With the previous

About dma_sync_single_for_{cpu,device}

2012-07-30 Thread karl . beldan
Hi, On our board we've got an MV78200 and a network device between which we xfer memory chunks via the ddram with an external dma controller. To handle these xfers we're using the dma API. To tx a chunk of data from the SoC = network device, we : - prepare a buffer with a leading header

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

2012-07-30 Thread Benjamin Poirier
On 2012/07/30 21:58, Borislav Petkov wrote: On Mon, Jul 30, 2012 at 03:22:04PM -0400, Benjamin Poirier wrote: 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

Re: [RFC] page-table walkers vs memory order

2012-07-30 Thread Paul E. McKenney
On Mon, Jul 30, 2012 at 08:21:40PM +0100, Jamie Lokier wrote: Paul E. McKenney wrote: Does some version of gcc, under the options which we insist upon, make such optimizations on any of the architectures which we support? Pretty much any production-quality compiler will do double-fetch

[PATCH] [trivial] mmc: host: Fix typo in mmc/hosts

2012-07-30 Thread Masanari Iida
Correct spelling in printk and comments in mmc/hosts. Signed-off-by: Masanari Iida standby2...@gmail.com --- drivers/mmc/core/sdio.c| 2 +- drivers/mmc/host/at91_mci.c| 2 +- drivers/mmc/host/atmel-mci.c | 2 +- drivers/mmc/host/omap_hsmmc.c | 2 +-

Re: About dma_sync_single_for_{cpu,device}

2012-07-30 Thread karl . beldan
On Mon, Jul 30, 2012 at 10:24:01PM +0200, karl.bel...@gmail.com wrote: I was expecting the following to work: addr = dma_map_single(dev, buffer, size, DMA_TO_DEVICE); Sorry, I forgot this (invalidate): dma_sync_single_for_device(dev, buffer, pattern_size, DMA_FROM_DEVICE);

[PATCH] ACPI / PCI: Do not try to acquire _OSC control if that is hopeless

2012-07-30 Thread Rafael J. Wysocki
If acpi_pci_osc_support() fails for the given flags, it doesn't make sense to call acpi_pci_osc_control_set() down the road for the same flags, because it will certainly fail too. Moreover, problem diagnostics is then harder, because it is not too easy to identify the reason of the _OSC failure

Re: [GPIO] Crashed when not using

2012-07-30 Thread Kevin Hilman
Poddar, Sourav sourav.pod...@ti.com writes: On Mon, Jul 30, 2012 at 3:04 PM, DebBarma, Tarun Kanti tarun.ka...@ti.com wrote: Sourav, On Mon, Jul 30, 2012 at 2:13 PM, Poddar, Sourav sourav.pod...@ti.com wrote: Hi All, I tried using gpio as an interrupt line for my driver

Re: [PATCH TRIVIAL] mm: Fix build warning in kmem_cache_create()

2012-07-30 Thread Pekka Enberg
On Mon, Jul 30, 2012 at 10:56 PM, David Rientjes rient...@google.com wrote: -Wunused-label is overridden in gcc for a label that is conditionally referenced by using __maybe_unused in the kernel. I'm not sure what's so obscure about out: __maybe_unused Are label attributes really that

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

2012-07-30 Thread Dan Magenheimer
From: Seth Jennings [mailto:sjenn...@linux.vnet.ibm.com] Subject: Re: [PATCH 0/4] promote zcache from staging Dan, I started writing inline responses to each concern but that was adding more confusion than clarity. I would like to focus the discussion. : Let's have this discussion.

Re: [GIT PULL] New TPM driver, hwrng driver and fixes

2012-07-30 Thread Kent Yoder
Perhaps we should just do the same err = total ? total : -EIO; here and the above statement can just turn into a break;. Yeah, this seems like the right thing to do. - ret = my_get_random(hash, SHA1_DIGEST_SIZE); + ret = tpm_get_random(TPM_ANY_NUM, hash, SHA1_DIGEST_SIZE);

Re: [GIT PULL] New TPM driver, hwrng driver and fixes

2012-07-30 Thread H. Peter Anvin
On 07/30/2012 01:51 PM, Kent Yoder wrote: Perhaps we should just do the same err = total ? total : -EIO; here and the above statement can just turn into a break;. Yeah, this seems like the right thing to do. - ret = my_get_random(hash, SHA1_DIGEST_SIZE); + ret =

Re: Gethering power management/policy hw drivers under drivers/power/? (Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences)

2012-07-30 Thread Rafael J. Wysocki
On Monday, July 30, 2012, Anton Vorontsov wrote: On Mon, Jul 30, 2012 at 10:51:42AM +0900, Alex Courbot wrote: [...] On the other hand I have just noticed that the apparently unrelated Adaptive Voltage Scaling driver just appeared in drivers/power/avs. So if Anton and David are ok with

Re: [PATCH] RTC: Avoid races between RTC alarm wakeup and suspend.

2012-07-30 Thread Rafael J. Wysocki
On Monday, July 30, 2012, NeilBrown wrote: If an RTC alarm fires just as suspend is happening, it is possible for suspend to complete and the alarm to be missed. To avoid the race, we must register the event with the PM core. As the event is made visible to userspace through a thread

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

[PATCH 1/2] staging: ft1000: Fix ft1000_control function timeout argument usage.

2012-07-30 Thread Marek Belisko
Function ft1000_control have input argument timeout which was not passed to usb_control_msg instead hardcoded to LARGE_TIMEOUT. Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- drivers/staging/ft1000/ft1000-usb/ft1000_hw.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 2/2] staging: ft1000: Replace timeout values with USB_CTRL_G(S)ET_TIMEOUT.

2012-07-30 Thread Marek Belisko
Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- drivers/staging/ft1000/ft1000-usb/ft1000_hw.c | 12 ++-- drivers/staging/ft1000/ft1000-usb/ft1000_usb.h |2 -- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c

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

2012-07-30 Thread Marc Kleine-Budde
On 07/30/2012 09:20 PM, Fabio Baltieri wrote: This patch implements the functions to add two LED triggers, named ifname-tx and ifname-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.

Re: [PATCH] Yama: access current-comm directly

2012-07-30 Thread John Johansen
On 07/30/2012 09:58 AM, Kees Cook wrote: The core ptrace access checking routine already holds the task lock, so there is no need to use get_task_comm() which just tries to take the lock again. Drop its use and access current-comm directly. Reported-by: Fengguang Wu fengguang...@intel.com

[PATCH] ARM: Sort exception table at compile time

2012-07-30 Thread Stephen Boyd
Add the ARM machine identifier to sortextable and select the config option so that we can sort the exception table at compile time. sortextable relies on a section named __ex_table existing in the vmlinux, but ARM's linker script places the exception table in the data section. Give the exception

Re: [PATCH 0/8] Set bi_rw when alloc bio before call bio_add_page.

2012-07-30 Thread Dave Chinner
On Mon, Jul 30, 2012 at 03:14:28PM +0800, majianpeng wrote: When exec bio_alloc, the bi_rw is zero.But after calling bio_add_page, it will use bi_rw. Fox example, in functiion __bio_add_page,it will call merge_bvec_fn(). The merge_bvec_fn of raid456 will use the bi_rw to judge the merge. if

Re: [PATCH] usb: host: xhci: Compliance Mode port recovery

2012-07-30 Thread 'Greg KH'
On Mon, Jul 30, 2012 at 03:22:52PM -0500, Alexis Cortes wrote: Hi Greg, I'm sorry for my late response on this. First of all thanks for your reply and your feedback :) We have been discussing with one of our major customers the possibility of identifying the platforms with the failing

<    5   6   7   8   9   10   11   12   >