[PATCH 2/3] x86: KVM: Simplify function kvm_detect

2013-01-27 Thread Emil Goode
The first patch in this series changed the kvm_para_available function to return bool. We can now simplify the kvm_detect function by directly returning the return value of kvm_para_available. Signed-off-by: Emil Goode emilgo...@gmail.com --- arch/x86/kernel/kvm.c |4 +--- 1 file changed, 1

[PATCH 3/3] ALSA: intel8x0: Check return value before assigning

2013-01-27 Thread Emil Goode
The first patch in this series changes the return type of function kvm_para_available to bool. In the function snd_intel8x0_inside_vm we now need to check it's return value before assigning a value to the result variable. Signed-off-by: Emil Goode emilgo...@gmail.com --- sound/pci/intel8x0.c |

Re: [PATCH 3/3] ALSA: intel8x0: Check return value before assigning

2013-01-27 Thread H. Peter Anvin
Wtf? This patch seems semibogus at best and the description is even more ridiculous... Emil Goode emilgo...@gmail.com wrote: The first patch in this series changes the return type of function kvm_para_available to bool. In the function snd_intel8x0_inside_vm we now need to check it's return

Re: 3.8.0-rc4+ - Oops on removing WinTV-HVR-1400 expresscard TV Tuner

2013-01-27 Thread Martin Mokrejs
Chris Clayton wrote: On 01/27/13 14:26, Martin Mokrejs wrote: Chris Clayton wrote: On 01/27/13 12:18, Yijing Wang wrote: 于 2013-01-27 19:19, Chris Clayton 写道: Hi Yijing On 01/27/13 02:45, Yijing Wang wrote: 于 2013-01-27 4:54, Chris Clayton 写道: Hi Martin, On 01/24/13 19:21, Martin

Re: [PATCH V3 RESEND RFC 1/2] sched: Bail out of yield_to when source and target runqueue has one task

2013-01-27 Thread Raghavendra K T
On 01/26/2013 12:19 AM, Ingo Molnar wrote: * Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote: On 01/25/2013 04:17 PM, Ingo Molnar wrote: * Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote: * Ingo Molnar mi...@kernel.org [2013-01-24 11:32:13]: * Raghavendra K T

Re: [PATCH] checkpatch.pl: Fix warnings on (networking specific) code comments

2013-01-27 Thread Joe Perches
On Sun, 2013-01-27 at 03:35 -0800, Jeff Kirsher wrote: This patch reverts a portion of the commit to allow multi-line code comments to use either style. [] diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] @@ -1878,13 +1878,6 @@ sub process { } if

[RFC/PATCH] perf x86: Add off-core event constraints for Sandy/IvyBridge micro architecture

2013-01-27 Thread Jiri Olsa
hi, I was looking at the offcore stuff and it looks like we might be missing some constraints for offcore response events on Sandy/IvyBridge. The table 18.8.5 (Off-core Response Performance Monitoring) in Intel SDM states PMC0 for 0xb7 and PMC3 for 0xbb, but there's no other explanation or

Re: [PATCH review 5/6] userns: Allow the userns root to mount ramfs.

2013-01-27 Thread Serge E. Hallyn
Quoting Eric W. Biederman (ebied...@xmission.com): Serge E. Hallyn se...@hallyn.com writes: Quoting Eric W. Biederman (ebied...@xmission.com): There is no backing store to ramfs and file creation rules are the same as for any other filesystem so it is semantically safe to allow

Re: [PATCH review 5/6] userns: Allow the userns root to mount ramfs.

2013-01-27 Thread Serge E. Hallyn
Quoting Eric W. Biederman (ebied...@xmission.com): There is no backing store to ramfs and file creation rules are the same as for any other filesystem so it is semantically safe to allow unprivileged users to mount it. The memory control group successfully limits how much memory ramfs

Re: [PATCH review 6/6] userns: Allow the userns root to mount tmpfs.

2013-01-27 Thread Serge E. Hallyn
Quoting Eric W. Biederman (ebied...@xmission.com): There is no backing store to tmpfs and file creation rules are the same as for any other filesystem so it is semantically safe to allow unprivileged users to mount it. ramfs is safe for the same reasons so allow either flavor of tmpfs to be

Re: [PATCH 1/2]linux-usb:Define a new macro for USB storage match rules

2013-01-27 Thread Sebastian Andrzej Siewior
On Fri, Jan 25, 2013 at 10:44:50AM +0800, fangxiaozhi 00110321 wrote: diff -uprN linux-3.8-rc4_orig/drivers/usb/storage/usual-tables.c linux-3.8-rc4/drivers/usb/storage/usual-tables.c --- linux-3.8-rc4_orig/drivers/usb/storage/usual-tables.c 2013-01-22 14:12:42.594238726 +0800 +++

Re: Build regressions/improvements in v3.8-rc5

2013-01-27 Thread Guenter Roeck
On Sun, Jan 27, 2013 at 02:56:46PM +0100, Sedat Dilek wrote: Hi Geert, what is the intention of this list [1] which you regularly sent to LKML? Statistics? [ Compiler errors/warnings ] Are you directly contacting the maintainers of the subtree and inform them (per email, website

Re: [PATCH 2/2]linux-usb:optimize to match the Huawei USB storage devices and support new switch command

2013-01-27 Thread Sebastian Andrzej Siewior
On Fri, Jan 25, 2013 at 10:46:13AM +0800, fangxiaozhi 00110321 wrote: diff -uprN linux-3.8-rc4_orig/drivers/usb/storage/initializers.c linux-3.8-rc4/drivers/usb/storage/initializers.c --- linux-3.8-rc4_orig/drivers/usb/storage/initializers.c 2013-01-22 14:12:42.594238726 +0800 +++

[PATCH v3 3/3] regmap: Add no-bus option for regmap API

2013-01-27 Thread Andrey Smirnov
This commit adds provision for no-bus usage of the regmap API. In this configuration user can provide API with two callbacks 'reg_read' and 'reg_write' which are to be called when reads and writes to one of device's registers is performed. This is useful for devices that expose registers but whose

Re: Build regressions/improvements in v3.8-rc5

2013-01-27 Thread Sedat Dilek
On Sun, Jan 27, 2013 at 7:48 PM, Guenter Roeck li...@roeck-us.net wrote: On Sun, Jan 27, 2013 at 02:56:46PM +0100, Sedat Dilek wrote: Hi Geert, what is the intention of this list [1] which you regularly sent to LKML? Statistics? [ Compiler errors/warnings ] Are you directly contacting

[PATCH 3/3] sunxi: a13-olinuxino: Add user LED to the device tree

2013-01-27 Thread Maxime Ripard
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/sun5i-a13-olinuxino.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/sun5i-a13-olinuxino.dts b/arch/arm/boot/dts/sun5i-a13-olinuxino.dts index 4a1e45d..33d1c7e

[PATCH 2/3] sunxi: dts: Report the pinctrl nodes as gpio-controllers

2013-01-27 Thread Maxime Ripard
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/sun4i-a10.dtsi |4 +++- arch/arm/boot/dts/sun5i-a13.dtsi |4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index

[RFC v1] drm: new VESA BIOS Extension DRM driver

2013-01-27 Thread David Herrmann
Driver, + .date = 20130127, + .major = 0, + .minor = 0, + .patchlevel = 1, +}; + +#ifdef CONFIG_PM_SLEEP +static int dvbe_platform_suspend(struct device *dev) +{ + return 0; +} + +static int dvbe_platform_resume(struct device *dev) +{ + return 0; +} +#endif

bzImage 2.12

2013-01-27 Thread H. Peter Anvin
Hi guys, This is what I would like to do for bzImage 2.12. This is *different* than either one of you have, but it should be a unification of both... please let me know if you have any objections as soon as possible. This is intentionally a protocol only patch, which may be possible to

[PATCH 1/3] pinctrl: sunxi: Add of_xlate function

2013-01-27 Thread Maxime Ripard
Since the pin controller of sunxi chips is represented as a single bank in the driver. Since this is neither convenient nor represented that way in the datasheets, define a custom of_xlate function with the layout bank pin flag Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com ---

Re: bzImage 2.12

2013-01-27 Thread David Woodhouse
On Sun, 2013-01-27 at 11:02 -0800, H. Peter Anvin wrote: This is intentionally a protocol only patch, which may be possible to push into 3.8 as an urgent patch. David, if I understand our discussions right it might be better to not export XLF_EFI_HANDOFF_32 at this time? That won't stop

Re: bzImage 2.12

2013-01-27 Thread H. Peter Anvin
On 01/27/2013 11:10 AM, David Woodhouse wrote: On Sun, 2013-01-27 at 11:02 -0800, H. Peter Anvin wrote: This is intentionally a protocol only patch, which may be possible to push into 3.8 as an urgent patch. David, if I understand our discussions right it might be better to not export

Re: bzImage 2.12

2013-01-27 Thread Matt Fleming
On Sun, 2013-01-27 at 11:19 -0800, H. Peter Anvin wrote: It turns out the patch I sent out doesn't actually build. Here is an updated patch. Can I get your ack for this so I can do the appropriate hacks to your and Yinghai's patchsets? -hpa Acked-by: Matt Fleming

Re: bzImage 2.12

2013-01-27 Thread Yinghai Lu
On Sun, Jan 27, 2013 at 11:19 AM, H. Peter Anvin h...@zytor.com wrote: I think we can probably do that, since it doesn't affect anything non-broken at this point. I'm sorting out what can be done for 3.8 vs 3.9 at this point. Anyway, as you can tell I'm spending this weekend working for a

Re: bzImage 2.12

2013-01-27 Thread H. Peter Anvin
I'm planning to sort it out... I'll let you know if I run out of bandwidth. Yinghai Lu ying...@kernel.org wrote: On Sun, Jan 27, 2013 at 11:19 AM, H. Peter Anvin h...@zytor.com wrote: I think we can probably do that, since it doesn't affect anything non-broken at this point. I'm sorting out

[patch] TTY: synclink, small cleanup in dtr_rts()

2013-01-27 Thread Dan Carpenter
There is a kind of precedence problem here, but it doesn't affect how the code works because -serial_signals is unsigned char. We want to clear two flags here. #define SerialSignal_RTS0x20 /* Request to Send */ #define SerialSignal_DTR0x80 /* Data Terminal Ready

section mismatch in drivers/w1/masters/w1-gpio.c

2013-01-27 Thread Hauke Mehrtens
Hi, when building 3.8-rc5 I get the following section mismatch: WARNING: drivers/w1/masters/w1-gpio.o(.data+0x188): Section mismatch in reference from the variable w1_gpio_driver to the function .init.text:w1_gpio_probe() The variable w1_gpio_driver references the function __init w1_gpio_probe()

[PATCH 0/4] uprobes: Teach debug/tracing/uprobe_events to do the filtering

2013-01-27 Thread Oleg Nesterov
Hello. Based on git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc uprobes/core on top of pre-filtering patches in kernel/uprobes.c. Please review. After that I'll try to change tools/perf to use this new feature. Oleg. -- To unsubscribe from this list: send the line unsubscribe

[PATCH 1/4] uprobes: Fix dentry/mount leak in create_trace_uprobe()

2013-01-27 Thread Oleg Nesterov
create_trace_uprobe() does kern_path() to find -d_inode, but forgets to do path_put(). We can do this right after igrab(). Signed-off-by: Oleg Nesterov o...@redhat.com --- kernel/trace/trace_uprobe.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH 2/4] uprobes: Fully initialize uprobe_trace_consumer before uprobe_register()

2013-01-27 Thread Oleg Nesterov
probe_event_enable() does uprobe_register() and only after that sets utc-tu and tu-consumer/flags. This can race with uprobe_dispatcher() which can miss these assignments or see them out of order. Nothing really bad can happen, but this doesn't look clean/safe. And this does not allow to use

[PATCH 4/4] uprobes: Teach uprobe_trace_consumer to support the pre-filtering

2013-01-27 Thread Oleg Nesterov
Implement trace_uprobe_filter_func() and change probe_event_enable() to setup uprobe_consumer-filter() if necessary. Also change uprobe_dispatcher() to skip the tasks we do not want to probe and return UPROBE_HANDLER_REMOVE to indicate that this int3 should be removed unless there is another

[PATCH 3/4] uprobes: Teach tracing/uprobe_events to accept pid=TGID argument

2013-01-27 Thread Oleg Nesterov
A separate change to simplify the review. With this patch create_trace_uprobe() parses the new pid=TGID argument and stores the found struct pid * in struct trace_uprobe along with inode/offset. However, to simplify the potential extensions, we add the new structure to hold this pid, and the set

Re: section mismatch in drivers/w1/masters/w1-gpio.c

2013-01-27 Thread Greg KH
On Sun, Jan 27, 2013 at 08:36:00PM +0100, Hauke Mehrtens wrote: Hi, when building 3.8-rc5 I get the following section mismatch: WARNING: drivers/w1/masters/w1-gpio.o(.data+0x188): Section mismatch in reference from the variable w1_gpio_driver to the function .init.text:w1_gpio_probe()

Re: [PATCH] arch: avr32: add dummy syscalls

2013-01-27 Thread Hans-Christian Egtvedt
Around Sun 27 Jan 2013 13:50:15 +0100 or thereabout, Matthias Brugger wrote: This patch adds dummy syscalls so that compiling for this architecture does not provoke warnings when checksyscalls.sh is called. Does any of these syscalls take more than 5 arguments? If so, it is also needed to do

Re: [patch] TTY: synclink, small cleanup in dtr_rts()

2013-01-27 Thread Joe Perches
On Sun, 2013-01-27 at 22:40 +0300, Dan Carpenter wrote: There is a kind of precedence problem here, but it doesn't affect how the code works because -serial_signals is unsigned char. We want to clear two flags here. #define SerialSignal_RTS0x20 /* Request to Send */ #define

[PATCH] w1-gpio: fix section mismatch

2013-01-27 Thread Hauke Mehrtens
This fixes the following section mismatch: WARNING: drivers/w1/masters/w1-gpio.o(.data+0x188): Section mismatch in reference from the variable w1_gpio_driver to the function .init.text:w1_gpio_probe() The variable w1_gpio_driver references the function __init w1_gpio_probe() If the reference is

Re: [patch] TTY: synclink, small cleanup in dtr_rts()

2013-01-27 Thread Jiri Slaby
On 01/27/2013 09:04 PM, Joe Perches wrote: On Sun, 2013-01-27 at 22:40 +0300, Dan Carpenter wrote: There is a kind of precedence problem here, but it doesn't affect how the code works because -serial_signals is unsigned char. We want to clear two flags here. #define SerialSignal_RTS

Re: [patch] TTY: synclink, small cleanup in dtr_rts()

2013-01-27 Thread Dan Carpenter
On Sun, Jan 27, 2013 at 12:04:38PM -0800, Joe Perches wrote: On Sun, 2013-01-27 at 22:40 +0300, Dan Carpenter wrote: There is a kind of precedence problem here, but it doesn't affect how the code works because -serial_signals is unsigned char. We want to clear two flags here. #define

Re: [PATCH] arch: avr32: add dummy syscalls

2013-01-27 Thread Al Viro
On Sun, Jan 27, 2013 at 08:57:14PM +0100, Hans-Christian Egtvedt wrote: Around Sun 27 Jan 2013 13:50:15 +0100 or thereabout, Matthias Brugger wrote: This patch adds dummy syscalls so that compiling for this architecture does not provoke warnings when checksyscalls.sh is called. Does any

Re: [PATCH] arch: avr32: add dummy syscalls

2013-01-27 Thread Hans-Christian Egtvedt
Around Sun 27 Jan 2013 20:30:09 + or thereabout, Al Viro wrote: On Sun, Jan 27, 2013 at 08:57:14PM +0100, Hans-Christian Egtvedt wrote: Around Sun 27 Jan 2013 13:50:15 +0100 or thereabout, Matthias Brugger wrote: This patch adds dummy syscalls so that compiling for this architecture does

Re: [patch] TTY: synclink, small cleanup in dtr_rts()

2013-01-27 Thread Joe Perches
On Sun, 2013-01-27 at 23:19 +0300, Dan Carpenter wrote: On Sun, Jan 27, 2013 at 12:04:38PM -0800, Joe Perches wrote: Wouldn't it be clearer still to use | instead of + Yeah. I think it would be, but adding bitflags together instead of doing bitwise ORs is very common as well. Fortunately,

Re: [PATCH 04/25] ipw2x00: simplify scan_event handling

2013-01-27 Thread Stanislav Yakovlev
Hello, Tejun, On 22 December 2012 04:56, Tejun Heo t...@kernel.org wrote: * Drop unnesssary delayd_work_pending() tests. * Unify scan_event_{now|later} by using mod_delayed_work() w/ 0 delay for scan_event_now. * Make ipw2200 scan_event handling match ipw2100 - use mod_delayed_work()

Re: [PATCH 6/6] mm: numa: Cleanup flow of transhuge page migration

2013-01-27 Thread Hugh Dickins
On Tue, 22 Jan 2013, Mel Gorman wrote: From: Hugh Dickins hu...@google.com When correcting commit 04fa5d6a (mm: migrate: check page_count of THP before migrating) Hugh Dickins noted that the control flow for transhuge migration was difficult to follow. Unconditionally calling put_page() in

Re: [3.8-rc4 arm] SCSI_SYM53C8XX_2 module cannot register IRQ

2013-01-27 Thread Linus Walleij
On Sun, Jan 27, 2013 at 1:16 AM, Tetsuo Handa penguin-ker...@i-love.sakura.ne.jp wrote: Linus Walleij wrote: I'm trying to reproduce this, but how do you reconfigure the kernel to get PCI, SCSI and such stuff enabled? The stock versatile_defconfig does not even have SCSI enabled... I'm

Re: [PATCH 0/4] mfd: palma: add RTC and GPIO support

2013-01-27 Thread Samuel Ortiz
Hi Laxman, On Sun, Jan 27, 2013 at 02:15:43PM +0530, Laxman Dewangan wrote: On Sunday 27 January 2013 05:58 AM, Samuel Ortiz wrote: Hi Laxman, On Thu, Jan 03, 2013 at 04:16:56PM +0530, Laxman Dewangan wrote: This series add the RTC and gpio driver for the TI Palma series PMIC. The changes

Re: boot warnings due to swap: make each swap partition have one address_space

2013-01-27 Thread Hugh Dickins
On Sun, 27 Jan 2013, Shaohua Li wrote: On Sat, Jan 26, 2013 at 06:16:05PM -0800, Hugh Dickins wrote: On Fri, 25 Jan 2013, Shaohua Li wrote: On Thu, Jan 24, 2013 at 10:45:57PM -0500, Sasha Levin wrote: Subject: give-each-swapper-space-separate-backing_dev_info The

[PATCH next/mmotm] swap: add per-partition lock for swapfile fix

2013-01-27 Thread Hugh Dickins
I had all cpus spinning in swap_info_get(), for the lock on an area being swapped off: probably because get_swap_page() forgot to unlock. Signed-off-by: Hugh Dickins hu...@google.com --- mm/swapfile.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- mmotm.orig/mm/swapfile.c

Re: [PATCH 1/11] ksm: allow trees per NUMA node

2013-01-27 Thread Hugh Dickins
On Sat, 26 Jan 2013, Simon Jeons wrote: On Sat, 2013-01-26 at 18:54 -0800, Hugh Dickins wrote: So you'd like us to add code for moving a node from one tree to another in ksm_migrate_page() (and what would it do when it collides with an Without numa awareness, I still can't understand

Re: [PATCH 5/11] ksm: get_ksm_page locked

2013-01-27 Thread Hugh Dickins
On Sat, 26 Jan 2013, Simon Jeons wrote: On Fri, 2013-01-25 at 18:00 -0800, Hugh Dickins wrote: In some places where get_ksm_page() is used, we need the page to be locked. In function get_ksm_page, why check page-mapping = get_page_unless_zero = check page-mapping instead of

Re: bzImage 2.12

2013-01-27 Thread David Woodhouse
On Sun, 2013-01-27 at 11:19 -0800, H. Peter Anvin wrote: It turns out the patch I sent out doesn't actually build. Here is an updated patch. Can I get your ack for this so I can do the appropriate hacks to your and Yinghai's patchsets? The new flags are supposed to indicate that the EFI

[PATCH] ARM: versatile: fix the PCI IRQ regression

2013-01-27 Thread Linus Walleij
The PCI IRQs were regressing due to two things: - The PCI glue layer was using an hard-coded IRQ 27 offset. This caused the immediate regression. - The SIC IRQ mask was inverted (i.e. a bit was indeed set to one for each valid IRQ on the SIC, but accidentally inverted in the init call).

Re: [PATCH 5/11] ksm: get_ksm_page locked

2013-01-27 Thread Hugh Dickins
On Sat, 26 Jan 2013, Simon Jeons wrote: BTW, what's the meaning of ksm page forked? A ksm page is mapped into a process's mm, then that process calls fork(): the ksm page then appears in the child's mm, before ksmd has tracked it. -- To unsubscribe from this list: send the line unsubscribe

Re: [3.8-rc4 arm] SCSI_SYM53C8XX_2 module cannot register IRQ

2013-01-27 Thread Linus Walleij
On Sun, Jan 20, 2013 at 1:24 PM, Tetsuo Handa penguin-ker...@i-love.sakura.ne.jp wrote: I'm experiencing two regressions in 3.8-rcX. Regression: (1) Console shows nothing, which makes it impossible to determine whether the system is working or not. (2) SCSI_SYM53C8XX_2 cannot

Re: [Intel-gfx] [RFC PATCH 3/3] i915: ignore lid open event when resuming

2013-01-27 Thread Rafael J. Wysocki
On Sunday, January 27, 2013 04:45:51 PM Daniel Vetter wrote: On Sun, Jan 27, 2013 at 4:21 PM, Zhang Rui rui.zh...@intel.com wrote: i915 driver needs to do modeset when 1. system resumes from sleep 2. lid is opened In PM_SUSPEND_MEM state, all the GPEs are cleared when system resumes,

Re: [PATCHv3] ARM: sunxi: gpio: Add Allwinner SoCs GPIO drivers

2013-01-27 Thread Emilio López
Hello Maxime, El 26/01/13 06:31, Maxime Ripard escribió: The IP responsible for the muxing on the Allwinner SoCs are also handling the GPIOs on the system. This patch adds the needed driver that relies on the pinctrl driver for most of its operations. The number of pins available for GPIOs

Re: 3.8.0-rc4+ - Oops on removing WinTV-HVR-1400 expresscard TV Tuner

2013-01-27 Thread Chris Clayton
Thanks again, Martin. Firstly, maybe we should remove the linux-media list from the copy list. I imagine this hotplug stuff is just noise to them. [snip] Do you have any other express card around to try if it works at all? Try that always after a cold boot. Not at the moment, but I ordered

Re: [git pull] fbcon locking fixes.

2013-01-27 Thread Daniel Vetter
On Fri, Jan 25, 2013 at 1:50 AM, Andrew Morton a...@linux-foundation.org wrote: On Fri, 25 Jan 2013 00:42:37 + (GMT) Dave Airlie airl...@linux.ie wrote: These patches have been sailing around long enough, waiting for a maintainer to reappear, so I've decided enough is enough, lockdep is

[PATCH] mwifiex: avoid out of bounds access in mwifiex_get_common_rates.

2013-01-27 Thread Cyril Roelandt
Check that the array indexes are in-bounds before accessing the rate2 and tmp arrays. Found with the following semantic patch: smpl @@ identifier t; identifier idx; expression E; statement S; @@ * for (... ; +... t[idx] ...+ idx E ; ...) S /smpl Signed-off-by: Cyril Roelandt

Re: 3.7-rc7: BUG: MAX_STACK_TRACE_ENTRIES too low!

2013-01-27 Thread Christian Kujau
On Tue, 15 Jan 2013 at 14:59, Li Zhong wrote: FYI, it is already in the next of ppc tree http://git.kernel.org/?p=linux/kernel/git/benh/powerpc.git;a=shortlog;h=refs/heads/next I guess it would get into 3.9, at least. Hm, is there no chance to get this into 3.8? I've been running with this

Re: [PATCH 6/11] ksm: remove old stable nodes more thoroughly

2013-01-27 Thread Hugh Dickins
On Sat, 26 Jan 2013, Simon Jeons wrote: On Fri, 2013-01-25 at 18:01 -0800, Hugh Dickins wrote: Switching merge_across_nodes after running KSM is liable to oops on stale nodes still left over from the previous stable tree. It's not something that people will often want to do, but it would

Re: [PATCH 7/11] ksm: make KSM page migration possible

2013-01-27 Thread Hugh Dickins
On Sat, 26 Jan 2013, Simon Jeons wrote: On Fri, 2013-01-25 at 18:03 -0800, Hugh Dickins wrote: + while (!get_page_unless_zero(page)) { + /* +* Another check for page-mapping != expected_mapping would +* work here too. We have chosen the !PageSwapCache

[PATCH v2] ARM: versatile: fix the PCI IRQ regression

2013-01-27 Thread Linus Walleij
The PCI IRQs were regressing due to two things: - The PCI glue layer was using an hard-coded IRQ 27 offset. This caused the immediate regression. - The SIC IRQ mask was inverted (i.e. a bit was indeed set to one for each valid IRQ on the SIC, but accidentally inverted in the init call).

Re: [Intel-gfx] [RFC PATCH 3/3] i915: ignore lid open event when resuming

2013-01-27 Thread Daniel Vetter
On Sun, Jan 27, 2013 at 11:21 PM, Rafael J. Wysocki r...@sisk.pl wrote: Given that this essentially requires users to manually set this module option to make stuff work I don't like this. I see a few possible options: - plug the races between all the different parts - I've never really

Re: 3.8.0-rc4+ - Oops on removing WinTV-HVR-1400 expresscard TV Tuner

2013-01-27 Thread Martin Mokrejs
Hi Chris, Chris Clayton wrote: Thanks again, Martin. Firstly, maybe we should remove the linux-media list from the copy list. I imagine this hotplug stuff is just noise to them. [snip] Do you have any other express card around to try if it works at all? Try that always after a cold

Re: [PATCH 8/11] ksm: make !merge_across_nodes migration safe

2013-01-27 Thread Hugh Dickins
On Sun, 27 Jan 2013, Simon Jeons wrote: On Fri, 2013-01-25 at 18:05 -0800, Hugh Dickins wrote: @@ -1344,10 +1401,29 @@ static void cmp_and_merge_page(struct pa unsigned int checksum; int err; - remove_rmap_item_from_tree(rmap_item); + stable_node =

Re: [PATCH 11/11] ksm: stop hotremove lockdep warning

2013-01-27 Thread Hugh Dickins
On Sun, 27 Jan 2013, Simon Jeons wrote: On Fri, 2013-01-25 at 18:10 -0800, Hugh Dickins wrote: @@ -2098,15 +2117,15 @@ static int ksm_memory_callback(struct no switch (action) { case MEM_GOING_OFFLINE: /* -* Keep it very simple for now: just lock out ksmd

[PATCH] sched/rt: Decrease number of calls of push_rt_task() in push_rt_tasks()

2013-01-27 Thread Kirill Tkhai
The patch aims to decrease the number of calls of push_rt_task() in push_rt_tasks(). It's not necessary to push more than 'num_online_cpus() - 1' tasks. If just pushed task doesn't leave its new CPU during our local call of push_rt_tasks() than we won't push another task to the CPU. If it leave

Re: [PATCH 02/26] mfd: ab8500-sysctrl: If a charger is present, reboot instead

2013-01-27 Thread Samuel Ortiz
Hi Lee, On Tue, Jan 15, 2013 at 12:55:42PM +, Lee Jones wrote: From: Jonas Aaberg jonas.ab...@stericsson.com If a changer is attached on power off, reboot the system s/changer/charger/ Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/ -- To unsubscribe from

Re: [PATCH 05/26] mfd: ab8500-gpadc: Change to mdelay for greater resolution

2013-01-27 Thread Samuel Ortiz
Hi Lee, Jonas, On Tue, Jan 15, 2013 at 12:55:45PM +, Lee Jones wrote: From: Jonas Aaberg jonas.ab...@stericsson.com The resolution of msleep is related to HZ, so with HZ set to 100 any msleep of less than 10ms will become ~10ms. usleep_range would be more appropriate, sleeping should be

Re: [PATCH 06/26] mfd: ab8500-sysctrl: Provide configuration for SysClkReqRfClkBuf registers

2013-01-27 Thread Samuel Ortiz
Hi Lee, Kennet, On Tue, Jan 15, 2013 at 12:55:46PM +, Lee Jones wrote: From: Kennet Wallden kennet.wall...@stericsson.com Add the possibility to pass configuration settings for SysCl1kReqRfClkBuf to SysClk8ReqRfClkBuf via platform data. Signed-off-by: Lee Jones lee.jo...@linaro.org

Re: [PATCH 09/26] mfd: ab8500-debugfs: Provide a means for a user subscribe to IRQs

2013-01-27 Thread Samuel Ortiz
Hi Lee, On Tue, Jan 15, 2013 at 12:55:49PM +, Lee Jones wrote: Allow users to subscribe to and view IRQ events live from debugfs. I seem to remember that I got a similar patch some time ago for the same purpose and my answer was: Please use a UIO driver for this. There already is such

Re: [PATCH 10/26] mfd: ab8500-debugfs: Wake-up device on debugfs IRQ

2013-01-27 Thread Samuel Ortiz
Hi Lee, On Tue, Jan 15, 2013 at 12:55:50PM +, Lee Jones wrote: Ensure the device wakes up if the debugfs IRQ fires if we're in suspend mode. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mfd/ab8500-debugfs.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [PATCH 13/26] mfd: ab8500-debugfs: Formated access AB8500 registers from debugfs entry

2013-01-27 Thread Samuel Ortiz
Hi Lee, On Tue, Jan 15, 2013 at 12:55:53PM +, Lee Jones wrote: +static ssize_t hwreg_common_write(char *b, struct hwreg_cfg *cfg, + struct device *dev) +{ + uint write, val = 0; + struct hwreg_cfg loc = { + .bank = 0, /* default: invalid phys

Re: [PATCH 14/26] mfd: ab8500-debugfs: Fix introduced compiler time warnings

2013-01-27 Thread Samuel Ortiz
Hi Lee, On Tue, Jan 15, 2013 at 12:55:54PM +, Lee Jones wrote: From: Philippe Langlais philippe.langl...@stericsson.com Some simple fixes regarding pre-processor usage. Signed-off-by: Lee Jones lee.jo...@linaro.org Signed-off-by: Philippe Langlais philippe.langl...@linaro.org ---

Re: [PATCH 25/26] mfd: ab8500-gpadc: Reduce conversion timeout

2013-01-27 Thread Samuel Ortiz
Hi Lee, On Tue, Jan 15, 2013 at 12:56:05PM +, Lee Jones wrote: @@ -598,8 +601,6 @@ static int ab8500_gpadc_runtime_resume(struct device *dev) static int ab8500_gpadc_runtime_idle(struct device *dev) { - struct ab8500_gpadc *gpadc = dev_get_drvdata(dev); - Unrelated change,

Re: [PATCH 23/26] mfd: ab8500-pwm: Enable support for AB8505 PWMLED blink

2013-01-27 Thread Samuel Ortiz
Hi Lee, On Tue, Jan 15, 2013 at 12:56:03PM +, Lee Jones wrote: From: Naga Radhesh naga.radhe...@stericsson.com Enable support for PWM OUT LED blinking for AB8505. Instead of having 3 pwm instances from ab8500 core file add it as platform data. Signed-off-by: Lee Jones

Re: [PATCH 26/26] mfd: ab8500-gpadc: Use new ab8500_gpadc_get() with name parameter

2013-01-27 Thread Samuel Ortiz
Hi Lee, On Tue, Jan 15, 2013 at 12:56:06PM +, Lee Jones wrote: From: Philippe Langlais philippe.langl...@linaro.org The new format of ab8500_gpadc_get() accepts a device name as a parameter to specify which device to retrieve. This patch enforces the use of that new format. Where is

Re: [PATCH 06/10] mfd: arizona: Allow customisation of microphone detection levels

2013-01-27 Thread Samuel Ortiz
Hi Mark, On Sun, Jan 27, 2013 at 05:44:34PM +0800, Mark Brown wrote: On Sun, Jan 27, 2013 at 12:07:28PM +0800, Mark Brown wrote: The microphone detection levels for Arizona parts can be customised. Allow this to be done via platform data, the values chosen will depend on the system design

Re: [PATCH] checkpatch.pl: Fix warnings on code comments

2013-01-27 Thread David Miller
From: Jeff Kirsher jeffrey.t.kirs...@intel.com Date: Sun, 27 Jan 2013 03:35:39 -0800 Produces warnings on code comments which follow the Linux coding style guide. While the desired code comment style for networking my differ from the rest of the kernel, both styles should be permitted. I was

[tip:x86/boot] x86/boot: Fix minor fd leakage in tools/relocs.c

2013-01-27 Thread tip-bot for Cong Ding
Commit-ID: 65315d4889d403ea025081d8ca85ddf7b9c10f39 Gitweb: http://git.kernel.org/tip/65315d4889d403ea025081d8ca85ddf7b9c10f39 Author: Cong Ding ding...@gmail.com AuthorDate: Mon, 14 Jan 2013 17:13:35 + Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Sun, 27 Jan 2013

Re: [PATCH next/mmotm] swap: add per-partition lock for swapfile fix

2013-01-27 Thread Shaohua Li
On Sun, Jan 27, 2013 at 01:47:01PM -0800, Hugh Dickins wrote: I had all cpus spinning in swap_info_get(), for the lock on an area being swapped off: probably because get_swap_page() forgot to unlock. Signed-off-by: Hugh Dickins hu...@google.com Good catch. Thanks! --- mm/swapfile.c |

[tip:x86/boot] x86, boot: Define the 2.12 bzImage boot protocol

2013-01-27 Thread tip-bot for H. Peter Anvin
Commit-ID: 09c205afde70c15f20ca76ba0a57409dad175fd0 Gitweb: http://git.kernel.org/tip/09c205afde70c15f20ca76ba0a57409dad175fd0 Author: H. Peter Anvin h...@linux.intel.com AuthorDate: Sun, 27 Jan 2013 10:43:28 -0800 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Sun, 27 Jan

Re: [PATCH] gro: Fix kcalloc argument order

2013-01-27 Thread David Miller
From: Joe Perches j...@perches.com Date: Sat, 26 Jan 2013 11:24:19 -0800 First number, then size. Signed-off-by: Joe Perches j...@perches.com Good catch, since this bug doesn't cause any real functional problem I've applied the patch to net-next. Thanks. -- To unsubscribe from this list:

Re: [PATCH 01/19] ARM: shmobile: fix defconfig warning on CONFIG_USB

2013-01-27 Thread Simon Horman
On Fri, Jan 25, 2013 at 10:44:00PM +, Arnd Bergmann wrote: A recent update to the marzen_defconfig introduced a duplicate CONFIG_USB=y line. This removes one of the two. arch/arm/configs/marzen_defconfig:86:warning: override: reassigning to symbol USB Acked-by: Simon Horman

Re: [PATCH v2] sctp: set association state to established in dupcook_a handler

2013-01-27 Thread David Miller
From: Vlad Yasevich vyasev...@gmail.com Date: Thu, 24 Jan 2013 10:05:37 -0500 On 01/23/2013 09:44 PM, xufengzhang.m...@gmail.com wrote: From: Xufeng Zhang xufeng.zh...@windriver.com While sctp handling a duplicate COOKIE-ECHO and the action is 'Association restart', sctp_sf_do_dupcook_a()

Re: [PATCH 5/11] ksm: get_ksm_page locked

2013-01-27 Thread Simon Jeons
On Sun, 2013-01-27 at 14:08 -0800, Hugh Dickins wrote: On Sat, 26 Jan 2013, Simon Jeons wrote: On Fri, 2013-01-25 at 18:00 -0800, Hugh Dickins wrote: In some places where get_ksm_page() is used, we need the page to be locked. In function get_ksm_page, why check page-mapping =

[RESEND PATCH v5 3/4] zram: give up lazy initialization of zram metadata

2013-01-27 Thread Minchan Kim
1) User of zram normally do mkfs.xxx or mkswap before using the zram block device(ex, normally, do it at booting time) It ends up allocating such metadata of zram before real usage so benefit of lazy initialzation would be mitigated. 2) Some user want to use zram when memory pressure is

[RESEND PATCH v5 4/4] zram: get rid of lockdep warning

2013-01-27 Thread Minchan Kim
Lockdep complains about recursive deadlock of zram-init_lock. [1] made it false positive because we can't request IO to zram before setting disksize. Anyway, we should shut lockdep up to avoid many reporting from user. [1] : zram: force disksize setting before using zram Cc: Jerome Marchand

[RESEND PATCH v5 1/4] zram: Fix deadlock bug in partial write

2013-01-27 Thread Minchan Kim
Now zram allocates new page with GFP_KERNEL in zram I/O path if IO is partial. Unfortunately, It may cuase deadlock with reclaim path so this patch solves the problem. Cc: sta...@vger.kernel.org Cc: Jerome Marchand jmarc...@redhat.com Acked-by: Nitin Gupta ngu...@vflare.org Signed-off-by: Minchan

[GIT] [3.8] MFD fixes

2013-01-27 Thread Samuel Ortiz
Hi Linus, This is the first pull request for MFD fixes for 3.8 We have some build failure fixes (twl4030, vexpress, abx500 and tps65910), some actual runtime oops and lockup fixes (rtsx, da9052), and some more hypothetical NULL pointers dereferences fixes for pcf50633 and max776xx. Then we also

[RESEND PATCH v5 2/4] zram: force disksize setting before using zram

2013-01-27 Thread Minchan Kim
Now zram document syas set disksize is optional but partly it's wrong. When you try to use zram firstly after booting, you must set disksize, otherwise zram can't work because zram gendisk's size is 0. But once you do it, you can use zram freely after reset because reset doesn't reset to zero

Re: [PATCH 7/11] ksm: make KSM page migration possible

2013-01-27 Thread Simon Jeons
On Sun, 2013-01-27 at 15:12 -0800, Hugh Dickins wrote: On Sat, 26 Jan 2013, Simon Jeons wrote: On Fri, 2013-01-25 at 18:03 -0800, Hugh Dickins wrote: + while (!get_page_unless_zero(page)) { + /* + * Another check for page-mapping != expected_mapping would +

Re: [PATCH] backlight: add an AS3711 PMIC backlight driver

2013-01-27 Thread Jingoo Han
On Friday, January 25, 2013 4:49 PM, Guennadi Liakhovetski wrote Hi Jingoo Han On Fri, 25 Jan 2013, Jingoo Han wrote: On Wednesday, January 09, 2013 2:55 AM, Guennadi Liakhovetski wrote This is an initial commit of a backlight driver, using step-up DCDC power supplies on AS3711

[PATCH] zsmalloc: Fix TLB coherency and build problem

2013-01-27 Thread Minchan Kim
Recently, Matt Sealey reported he fail to build zsmalloc caused by using of local_flush_tlb_kernel_range which are architecture dependent function so !CONFIG_SMP in ARM couldn't implement it so it ends up build error following as. MODPOST 216 modules LZMA

3.7 HDMI channel map regression

2013-01-27 Thread Shawn Bohrer
Hi Takashi, I recently updated my HTPC from 3.6.11 to 3.7.2 and this caused my RL and FC channels to swap, and my RR and LFE channels to swap for PCM audio. Doing a git bisect identified d45e6889ee69456a4d5b1bbb32252f460cd48fa9 ALSA: hda - Provide the proper channel mapping for generic HDMI

Re: [PATCH Bug fix 0/5] Bug fix for physical memory hot-remove.

2013-01-27 Thread Tang Chen
On 01/26/2013 02:19 AM, Toshi Kani wrote: On Tue, 2013-01-22 at 19:42 +0800, Tang Chen wrote: Here are some bug fix patches for physical memory hot-remove. All these patches are based on the latest -mm tree. git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm And patch1 and

Re: [PATCH review 6/6] userns: Allow the userns root to mount tmpfs.

2013-01-27 Thread Gao feng
On 2013/01/26 10:26, Eric W. Biederman wrote: There is no backing store to tmpfs and file creation rules are the same as for any other filesystem so it is semantically safe to allow unprivileged users to mount it. ramfs is safe for the same reasons so allow either flavor of tmpfs to be

Re: [patch v4 0/18] sched: simplified fork, release load avg and power awareness scheduling

2013-01-27 Thread Alex Shi
On 01/24/2013 11:06 AM, Alex Shi wrote: Since the runnable info needs 345ms to accumulate, balancing doesn't do well for many tasks burst waking. After talking with Mike Galbraith, we are agree to just use runnable avg in power friendly scheduling and keep current instant load in performance

Re: [PATCH 6/11] ksm: remove old stable nodes more thoroughly

2013-01-27 Thread Simon Jeons
On Sun, 2013-01-27 at 15:05 -0800, Hugh Dickins wrote: On Sat, 26 Jan 2013, Simon Jeons wrote: On Fri, 2013-01-25 at 18:01 -0800, Hugh Dickins wrote: Switching merge_across_nodes after running KSM is liable to oops on stale nodes still left over from the previous stable tree. It's not

[PATCH] perf: Make numa benchmark optional

2013-01-27 Thread Peter Hurley
Commit perf: Add 'perf bench numa mem'... added a NUMA performance benchmark to perf. Make this optional and test for required dependencies. Signed-off-by: Peter Hurley pe...@hurleysoftware.com --- tools/perf/Makefile | 16 ++-- tools/perf/builtin-bench.c |

<    1   2   3   4   5   6   7   >