[PATCH 2/5] f2fs: avoid small data writes by skipping writepages

2014-03-18 Thread Jaegeuk Kim
This patch introduces nr_pages_to_skip(sbi, type) to determine writepages can be skipped. The dentry, node, and meta pages can be conrolled by F2FS without breaking the FS consistency. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 4 ++-- fs/f2fs/data.c | 4 fs/f2fs/node.c

[PATCH V2] regulator: dbx500: use seq_puts() instead of seq_printf()

2014-03-18 Thread Jingoo Han
For a constant format without additional arguments, use seq_puts() instead of seq_printf(). Also, it fixes the following checkpatch warning. WARNING: Prefer seq_puts to seq_printf Signed-off-by: Jingoo Han --- Changes since v1: - Removed unnecessary seq_puts() in

Re: [RFC 0/6] mm: support madvise(MADV_FREE)

2014-03-18 Thread Andy Lutomirski
On Tue, Mar 18, 2014 at 5:18 PM, Minchan Kim wrote: > Hello, > > On Tue, Mar 18, 2014 at 10:55:24AM -0700, Andy Lutomirski wrote: >> On 03/13/2014 11:37 PM, Minchan Kim wrote: >> > This patch is an attempt to support MADV_FREE for Linux. >> > >> > Rationale is following as. >> > >> > Allocators

Re: [PATCH 03/11] Input: synaptics-rmi4 - do not update configuration in rmi_f01_probe()

2014-03-18 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: Do not write configuration data in probe(), we have config() for that. I've just submitted a patch to correctly call config() after probe(). So this becomes... Signed-off-by: Christopher Heiny Signed-off-by: Dmitry Torokhov ---

Re: [PATCH 2/3] regulator: dbx500: use seq_puts() instead of seq_printf()

2014-03-18 Thread Jingoo Han
On Wednesday, February 26, 2014 10:21 AM, Jingoo Han wrote: > > For a constant format without additional arguments, use seq_puts() > instead of seq_printf(). Also, it fixes the following checkpatch > warning. > > WARNING: Prefer seq_puts to seq_printf > > Signed-off-by: Jingoo Han > --- >

Re: [PATCH 3/9] perf hists: Add support for showing relative percentage

2014-03-18 Thread Namhyung Kim
Hi Arnaldo, On Tue, Mar 18, 2014 at 8:08 PM, Arnaldo Carvalho de Melo wrote: > Em Mon, Mar 10, 2014 at 04:43:54PM +0900, Namhyung Kim escreveu: >> @@ -695,12 +695,17 @@ static void hists__remove_entry_filter(struct hists >> *hists, struct hist_entry *h >> if (h->filtered) >>

Re: [PATCH v3 1/3] clk: s2mps11: Add support for S2MPS14 clocks

2014-03-18 Thread Mike Turquette
Quoting Krzysztof Kozlowski (2014-03-17 02:19:16) > This patch adds support for S2MPS14 PMIC clocks (BT and AP) to the > s2mps11 clock driver. > > Signed-off-by: Krzysztof Kozlowski > Reviewed-by: Yadwinder Singh Brar > Reviewed-by: Tomasz Figa This does not apply cleanly to to clk tree trip,

Re: [PATCH] staging: unisys: use kzalloc instead of kmalloc/memset 0

2014-03-18 Thread DaeSeok Youn
Hi, Ken Thanks for review. But I have a question, I wan to know why tracing buffer status(Malloc_FailuresAlloc, Malloc_BytesInUse...) for info_proc_read_helper() are needed. If it doesn't need, whole tracing stuff for memory can be removed. After getting a reply from you and greg, I will make a

Re: [PATCH trivial 1/2] ARM: shmobile: armadillo800eva: Spelling and grammar

2014-03-18 Thread Simon Horman
On Tue, Mar 18, 2014 at 10:39:23AM +0100, Geert Uytterhoeven wrote: > From: Geert Uytterhoeven > > Signed-off-by: Geert Uytterhoeven > Cc: Simon Horman > Cc: linux...@vger.kernel.org Thanks, I have queued this up. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

[PATCH V2] checkpatch: Reduce false positives for "Missing blank line after declarations" test

2014-03-18 Thread Joe Perches
Reduce the false positives of this test by checking previous lines for known macros that declare variables. Add c90 keywords and test those too. Comment the specific tests done a bit better. Signed-off-by: Joe Perches --- V2: I believe this one works better. Don't allow "else if" to be an

Re: [PATCH 7/9] fsl: add EPU FSM configuration for deep sleep

2014-03-18 Thread Chenhui Zhao
On Tue, Mar 18, 2014 at 06:21:22PM -0500, Scott Wood wrote: > On Mon, 2014-03-17 at 18:27 +0800, Chenhui Zhao wrote: > > On Fri, Mar 14, 2014 at 05:51:09PM -0500, Scott Wood wrote: > > > On Wed, 2014-03-12 at 16:34 +0800, Chenhui Zhao wrote: > > > > On Tue, Mar 11, 2014 at 07:08:43PM -0500, Scott

Re: [PATCH] staging: unisys: use kzalloc instead of kmalloc/memset 0

2014-03-18 Thread DaeSeok Youn
Hi, greg. Review my comment below. Thanks. Daeseok Youn. 2014-03-18 17:11 GMT+09:00 DaeSeok Youn : > 2014-03-18 9:37 GMT+09:00 Greg KH : >> On Tue, Mar 18, 2014 at 09:26:07AM +0900, DaeSeok Youn wrote: >>> I think vmalloc/kmalloc in uislib_malloc() can be removed and just use >>>

Re: [PATCH] ASoC: Add support for multi register mux

2014-03-18 Thread Mark Brown
On Tue, Mar 18, 2014 at 04:51:32PM -0700, Arun Shamanna Lakshmi wrote: > Currently soc_enum structure supports only 2 registers (reg, reg2) > for kcontrol. However, it is possible to have multiple registers > per mux. This change allows us to control these multiple registers. I'd want to see a

Re: [PATCH V5 0/5] Add X-Gene platform reboot mechanism

2014-03-18 Thread Feng Kan
Just want to ping this again, since no activity for a while. I have added endian and access size related information in the documentation. Please let me know if more is needed. On Wed, Jan 29, 2014 at 4:03 PM, Feng Kan wrote: > Enable reboot driver for the X-Gene platform. Add generic syscon

Re: [PATCH v11 10/27] iommu/exynos: use managed device helper functions

2014-03-18 Thread Jingoo Han
On Wednesday, March 19, 2014 12:12 AM, Tomasz Figa wrote: > On 18.03.2014 11:38, Cho KyongHo wrote: > > On Fri, 14 Mar 2014 14:28:36 +0100, Tomasz Figa wrote: > >> On 14.03.2014 06:05, Cho KyongHo wrote: > >>> This patch uses managed device helper functions in the probe(). > >>> > >>>

[PATCH] ASoC: Add support for multi register mux

2014-03-18 Thread Arun Shamanna Lakshmi
Currently soc_enum structure supports only 2 registers (reg, reg2) for kcontrol. However, it is possible to have multiple registers per mux. This change allows us to control these multiple registers. Signed-off-by: Arun Shamanna Lakshmi Signed-off-by: Songhee Baek --- include/sound/soc.h |

Re: [PATCH v3 2/5] pwm: kona: Introduce Kona PWM controller support

2014-03-18 Thread Tim Kryger
On Tue, Mar 18, 2014 at 2:52 PM, Thierry Reding wrote: > On Wed, Mar 12, 2014 at 01:15:43PM -0700, Tim Kryger wrote: > [...] >> diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig >> index 22f2f28..1fd42af 100644 >> --- a/drivers/pwm/Kconfig >> +++ b/drivers/pwm/Kconfig >> @@ -62,6 +62,16 @@

mmotm 2014-03-18-16-37 uploaded

2014-03-18 Thread akpm
The mm-of-the-moment snapshot 2014-03-18-16-37 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCH 4/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

2014-03-18 Thread Paul E. McKenney
On Wed, Mar 19, 2014 at 04:15:44AM +0530, Monam Agarwal wrote: > Signed-off-by: Monam Agarwal Reviewed-by: Paul E. McKenney > --- > drivers/net/ppp/pptp.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ppp/pptp.c b/drivers/net/ppp/pptp.c > index

Re: [PATCH 5/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

2014-03-18 Thread Paul E. McKenney
On Wed, Mar 19, 2014 at 04:16:42AM +0530, Monam Agarwal wrote: > Signed-off-by: Monam Agarwal Reviewed-by: Paul E. McKenney > --- > drivers/net/wireless/ath/carl9170/main.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git

Re: [PATCH 2/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c

2014-03-18 Thread Paul E. McKenney
On Wed, Mar 19, 2014 at 04:12:16AM +0530, Monam Agarwal wrote: > Signed-off-by: Monam Agarwal Reviewed-by: Paul E. McKenney > --- > drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: [PATCH 3/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/net/macvtap.c

2014-03-18 Thread Paul E. McKenney
On Wed, Mar 19, 2014 at 04:14:31AM +0530, Monam Agarwal wrote: > Signed-off-by: Monam Agarwal Reviewed-by: Paul E. McKenney > --- > drivers/net/macvtap.c |8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c > index

Re: [PATCH 1/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/net/ethernet/broadcom/bnx2.c

2014-03-18 Thread Paul E. McKenney
On Wed, Mar 19, 2014 at 04:10:42AM +0530, Monam Agarwal wrote: > Signed-off-by: Monam Agarwal Reviewed-by: Paul E. McKenney > --- > drivers/net/ethernet/broadcom/bnx2.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/broadcom/bnx2.c >

Re: [BUG -next] "mm: per-thread vma caching fix 5" breaks s390

2014-03-18 Thread Stephen Rothwell
r-thread > > > vma caching" patch I was wondering if something in there is architecture > > > specific. > > > But it doesn't look like that. So I'm wondering if this only breaks on > > > s390? > > > > I'm seeing this same BUG_ON() on ia64 (when tr

Re: [PATCH 7/9] fsl: add EPU FSM configuration for deep sleep

2014-03-18 Thread Scott Wood
On Mon, 2014-03-17 at 18:27 +0800, Chenhui Zhao wrote: > On Fri, Mar 14, 2014 at 05:51:09PM -0500, Scott Wood wrote: > > On Wed, 2014-03-12 at 16:34 +0800, Chenhui Zhao wrote: > > > On Tue, Mar 11, 2014 at 07:08:43PM -0500, Scott Wood wrote: > > > > On Fri, 2014-03-07 at 12:58 +0800, Chenhui Zhao

Re: [PATCH] staging/xillybus: Handle OOM in xillybus_init()

2014-03-18 Thread Eli Billauer
Hi, I stand (shamefully) corrected. Thanks. Eli On 19/03/14 01:07, Richard Weinberger wrote: alloc_workqueue() can fail and returns NULL in case of OOM. Handle this case and undo class_create(). Signed-off-by: Richard Weinberger --- drivers/staging/xillybus/xillybus_core.c | 6 +- 1

Re: [PATCH 9/9] powerpc/pm: support deep sleep feature on T1040

2014-03-18 Thread Scott Wood
On Sun, 2014-03-16 at 12:58 +0800, Kevin Hao wrote: > On Fri, Mar 14, 2014 at 05:26:27PM -0500, Scott Wood wrote: > > On Thu, 2014-03-13 at 15:46 +0800, Kevin Hao wrote: > > > On Wed, Mar 12, 2014 at 12:43:05PM -0500, Scott Wood wrote: > > > > > Shouldn't we use "readback, sync" here? The

[PATCH 2/3] ARM: at91/dt: at91sam9m10g45ek: add ADC and touchscreen support

2014-03-18 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9m10g45ek.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts b/arch/arm/boot/dts/at91sam9m10g45ek.dts index 7ff665a8c708..7800931a4b16 100644 ---

[PATCH 3/3] ARM: at91/dt: at91sam9m10g45ek PWM leds polarity is inversed

2014-03-18 Thread Alexandre Belloni
The real polarity of the LEDs is inversed. The led is between 3.3v and the PWM. It was working before because the driver was getting the duty cycle calculation wrong. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9m10g45ek.dts | 5 +++-- 1 file changed, 3 insertions(+), 2

[PATCH 0/3] ARM: at91: improve at91sam9m10g45ek support

2014-03-18 Thread Alexandre Belloni
Here are a few DT improvements for the at91sam9m10g45ek. The first patch corrects the ADC support for the at91sam9g45. The second patch adds ADC and touchscreen support to the at91sam9m10g45ek. The last one corrects the PWM polarity after the polarity got right in the driver, following patch

[PATCH 1/3] ARM: at91/dt: sam9g45: improve ADC/touchscreen support

2014-03-18 Thread Alexandre Belloni
Fixes the compatible string, adds the pinmuxing for the ADC pins. Also, removes atmel,adc-use-external-triggers as it is not possible to remove it unless redefining the whole adc node Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9g45.dtsi | 33 +++--

Re: [PATCH 00/12] scsi/NCR5380: fix debugging macros and #include structure

2014-03-18 Thread Finn Thain
On Tue, 18 Mar 2014, Joe Perches wrote: > On Tue, 2014-03-18 at 13:55 +0100, Geert Uytterhoeven wrote: > > > > #define dprintk(flg, fmt, ...) no_printk(fmt, ##__VA_ARGS__) > > Fine, but with a correction. > > no_printk keeps all side effects like performing any function calls made > by the

Re: [PATCH] staging: cxt1e1: hwprobe: Fix sparse warning

2014-03-18 Thread Greg KH
On Wed, Mar 19, 2014 at 12:33:19AM +0200, Matei Oprea wrote: > This fixes the following sparse warning: > * drivers/staging/cxt1e1/hwprobe.c:43:19: > warning: symbol 'hdw_info' was not declared. Should it be static? > * drivers/staging/cxt1e1/hwprobe.c:47:1: > warning: symbol 'show_two' was not

Re: [PATCH] staging: cxt1e1: hwprobe: Fix sparse warning

2014-03-18 Thread Greg KH
On Wed, Mar 19, 2014 at 12:33:19AM +0200, Matei Oprea wrote: > This fixes the following sparse warning: > * drivers/staging/cxt1e1/hwprobe.c:43:19: > warning: symbol 'hdw_info' was not declared. Should it be static? > * drivers/staging/cxt1e1/hwprobe.c:47:1: > warning: symbol 'show_two' was not

Re: [BUG -next] "mm: per-thread vma caching fix 5" breaks s390

2014-03-18 Thread Andrew Morton
> specific. > > But it doesn't look like that. So I'm wondering if this only breaks on > > s390? > > I'm seeing this same BUG_ON() on ia64 (when trying out next-20140318) -next is missing http://ozlabs.org/~akpm/mmots/broken-out/mm-per-thread-vma-caching-fix-6.patch. Am prese

Re: [PATCH] staging: cxt1e1: hwprobe: Fix sparse warning

2014-03-18 Thread Greg KH
On Wed, Mar 19, 2014 at 12:33:19AM +0200, Matei Oprea wrote: > This fixes the following sparse warning: > * drivers/staging/cxt1e1/hwprobe.c:43:19: > warning: symbol 'hdw_info' was not declared. Should it be static? > * drivers/staging/cxt1e1/hwprobe.c:47:1: > warning: symbol 'show_two' was not

Re: [PATCH] leds: pwm: set polarity on non DT platforms

2014-03-18 Thread Alexandre Belloni
On 18/03/2014 at 16:02:51 -0700, Bryan Wu wrote : > On Mon, Mar 17, 2014 at 11:38 AM, Alexandre Belloni > wrote: > > Set inversed polarity when .active_low is set in the platform_data. With > > device > > tree, this is taken care of by of_pwm_xlate_with_flags(), called from > > of_pwm_get(). > >

Re: [PATCH] staging: slicoss: Fix prefer ether_addr_copy over memcpy

2014-03-18 Thread Joel Pelaez Jorge
El 17/03/14 23:49, Jingoo Han escribió: On Tuesday, March 18, 2014 2:04 PM, Joel Pelaez Jorge wrote: @@ -810,8 +810,8 @@ static int slic_mac_set_address(struct net_device *dev, void *ptr) if (!is_valid_ether_addr(addr->sa_data)) return -EINVAL; -

Re: [BUG -next] "mm: per-thread vma caching fix 5" breaks s390

2014-03-18 Thread Tony Luck
only breaks on > s390? I'm seeing this same BUG_ON() on ia64 (when trying out next-20140318) Starting HAkernel BUG at mm/vmacache.c:76! L daemon7[?25lps[3259]: bugcheck! 0 [1] Modules linked in: mptctl CPU: 0 PID: 3259 Comm: ps Not tainted 3.14.0-rc7-zx1-smp-next-20140318 #1 Hardwa

[PATCH] staging/xillybus: Handle OOM in xillybus_init()

2014-03-18 Thread Richard Weinberger
alloc_workqueue() can fail and returns NULL in case of OOM. Handle this case and undo class_create(). Signed-off-by: Richard Weinberger --- drivers/staging/xillybus/xillybus_core.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/staging/xillybus/xillybus_core.c

Re: [PATCH] leds: pwm: set polarity on non DT platforms

2014-03-18 Thread Bryan Wu
On Mon, Mar 17, 2014 at 11:38 AM, Alexandre Belloni wrote: > Set inversed polarity when .active_low is set in the platform_data. With > device > tree, this is taken care of by of_pwm_xlate_with_flags(), called from > of_pwm_get(). > > Signed-off-by: Alexandre Belloni > --- >

Re: [RFC PATCH 1/2] ACPICA: Dispatcher: Ignore SyncLevel for auto-serialization mechanism.

2014-03-18 Thread Sabrina Dubroca
Hi, 2014-03-18, 00:50:04 +, Zheng, Lv wrote: > Hi, Sabrina and Valdis > > Could you give this patch a try to see if this patch is working? > > Thanks and best regards > -Lv I applied the two patches. The laptop boots and there is no ACPI error in the logs, both with auto-serialization

[PATCH 9/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

2014-03-18 Thread Monam Agarwal
Signed-off-by: Monam Agarwal --- drivers/vhost/test.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/vhost/test.c b/drivers/vhost/test.c index fc9a1d7..82b3744 100644 --- a/drivers/vhost/test.c +++ b/drivers/vhost/test.c @@ -128,7 +128,7 @@ static void

[PATCH 8/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

2014-03-18 Thread Monam Agarwal
Signed-off-by: Monam Agarwal --- drivers/vhost/net.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 882a51f..b243e06 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -556,7 +556,7 @@ static struct socket

[PATCH 7/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

2014-03-18 Thread Monam Agarwal
Signed-off-by: Monam Agarwal --- drivers/target/tcm_fc/tfc_sess.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/target/tcm_fc/tfc_sess.c b/drivers/target/tcm_fc/tfc_sess.c index 3269213..95fb826 100644 --- a/drivers/target/tcm_fc/tfc_sess.c +++

[PATCH 6/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

2014-03-18 Thread Monam Agarwal
Signed-off-by: Monam Agarwal --- drivers/scsi/libfc/fc_libfc.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/libfc/fc_libfc.c b/drivers/scsi/libfc/fc_libfc.c index b773512..ee74eec 100644 --- a/drivers/scsi/libfc/fc_libfc.c +++

[PATCH 5/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

2014-03-18 Thread Monam Agarwal
Signed-off-by: Monam Agarwal --- drivers/net/wireless/ath/carl9170/main.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/wireless/ath/carl9170/main.c b/drivers/net/wireless/ath/carl9170/main.c index f06e069..5518592 100644 ---

[PATCH 4/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

2014-03-18 Thread Monam Agarwal
Signed-off-by: Monam Agarwal --- drivers/net/ppp/pptp.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ppp/pptp.c b/drivers/net/ppp/pptp.c index 89f829f..ede899c 100644 --- a/drivers/net/ppp/pptp.c +++ b/drivers/net/ppp/pptp.c @@ -162,7 +162,7 @@ static void

[PATCH 3/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/net/macvtap.c

2014-03-18 Thread Monam Agarwal
Signed-off-by: Monam Agarwal --- drivers/net/macvtap.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 1b7082d..7c88d13 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -145,8 +145,8 @@ static

[PATCH 2/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c

2014-03-18 Thread Monam Agarwal
Signed-off-by: Monam Agarwal --- drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c index da5a5d9..a7ec886 100644

Re: [PATCH 9/9] powerpc/pm: support deep sleep feature on T1040

2014-03-18 Thread Scott Wood
On Mon, 2014-03-17 at 19:19 +0800, Chenhui Zhao wrote: > On Fri, Mar 14, 2014 at 06:18:27PM -0500, Scott Wood wrote: > > On Wed, 2014-03-12 at 18:40 +0800, Chenhui Zhao wrote: > > > On Tue, Mar 11, 2014 at 08:10:24PM -0500, Scott Wood wrote: > > > > On Fri, 2014-03-07 at 12:58 +0800, Chenhui Zhao

[PATCH 1/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/net/ethernet/broadcom/bnx2.c

2014-03-18 Thread Monam Agarwal
Signed-off-by: Monam Agarwal --- drivers/net/ethernet/broadcom/bnx2.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/broadcom/bnx2.c b/drivers/net/ethernet/broadcom/bnx2.c index 965c723..5eab730 100644 --- a/drivers/net/ethernet/broadcom/bnx2.c +++

[PATCH 0/9] Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x,NULL)

2014-03-18 Thread Monam Agarwal
This patchset uses following coccinelle script to replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x,NULL) @@ expression E; @@ - rcu_assign_pointer( + RCU_INIT_POINTER( E, NULL) Monam Agarwal (9): rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in

Re: [PATCH v3 1/4] mfd: max8997: use regmap to access registers

2014-03-18 Thread Bryan Wu
On Thu, Mar 13, 2014 at 2:38 AM, Robert Baldyga wrote: > This patch modifies max8997 driver and each associated function driver, > to use regmap instead of operating directly on i2c bus. It will allow to > simplify IRQ handling using regmap-irq. > > Signed-off-by: Robert Baldyga > Reviewed-by:

[PATCH] staging: cxt1e1: hwprobe: Fix sparse warning

2014-03-18 Thread Matei Oprea
This fixes the following sparse warning: * drivers/staging/cxt1e1/hwprobe.c:43:19: warning: symbol 'hdw_info' was not declared. Should it be static? * drivers/staging/cxt1e1/hwprobe.c:47:1: warning: symbol 'show_two' was not declared. Should it be static? * drivers/staging/cxt1e1/hwprobe.c:99:1:

Re: [PATCH] mfd: mc13xxx: Move definitions out of structures

2014-03-18 Thread Bryan Wu
On Tue, Mar 18, 2014 at 2:40 AM, Lee Jones wrote: >> > > > > Signed-off-by: Alexander Shiyan >> > > > > --- >> > > > > include/linux/mfd/mc13xxx.h | 22 -- >> > > > > 1 file changed, 12 insertions(+), 10 deletions(-) >> > > > > >> > > > > diff --git

Re: For review: open_by_name_at(2) man page

2014-03-18 Thread NeilBrown
On Tue, 18 Mar 2014 13:37:15 +0100 "Michael Kerrisk (man-pages)" wrote: > On 03/18/2014 10:43 AM, Christoph Hellwig wrote: > > On Tue, Mar 18, 2014 at 09:00:07AM +1100, NeilBrown wrote: > >> ESTALE is also returned if the filesystem does not support file-handle -> > >> file mappings. > >> On

Re: [PATCH v2 11/15] arm64: add EFI stub

2014-03-18 Thread Jason Gunthorpe
On Tue, Mar 18, 2014 at 02:48:30PM -0700, Roy Franz wrote: > > It isn't clear to me if UEFI does cache flushing at ExitBootServices > > time, but even so, at least stack use will get cached between then and > > the kernel entry point. The stub could conceivably get its hands on the > > EFI memmap

Re: [PATCH] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

2014-03-18 Thread Paul E. McKenney
On Wed, Mar 19, 2014 at 03:32:30AM +0530, Monam Agarwal wrote: > This patch replaces rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, > NULL) in drivers/infiniband/hw/qib/qib_qp.c > > Signed-off-by: Monam Agarwal Reviewed-by: Paul E. McKenney > --- > drivers/infiniband/hw/qib/qib_qp.c |

Re: [PATCH] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/input/input.c

2014-03-18 Thread Paul E. McKenney
On Wed, Mar 19, 2014 at 03:30:29AM +0530, Monam Agarwal wrote: > This patch replaces rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, > NULL) in drivers/input/input.c > > Signed-off-by: Monam Agarwal Reviewed-by: Paul E. McKenney > --- > drivers/input/input.c |2 +- > 1 file

Re: [patch 02/12] can: c_can: Fix hardware raminit function

2014-03-18 Thread Thomas Gleixner
On Tue, 18 Mar 2014, Marc Kleine-Budde wrote: > On 03/18/2014 06:19 PM, Thomas Gleixner wrote: > > +static void c_can_hw_raminit_wait(const struct c_can_priv *priv, u32 mask, > > + u32 val) > > +{ > > + /* We look only at the bits of our instance. */ > > + val &=

Re: [GIT PULL] uprobes: Add uprobes support for ARM

2014-03-18 Thread David Long
On 03/17/14 19:52, Russell King - ARM Linux wrote: On Tue, Mar 11, 2014 at 02:36:09PM -0400, David Long wrote: git://git.linaro.org/people/dave.long/linux.git uprobes-v7 for you to fetch changes up to e55c35236b8adf79453a998506ec6081833b9484: ARM: add uprobes support (2014-03-11

Re: [PATCH] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/input/endev.c

2014-03-18 Thread Paul E. McKenney
On Wed, Mar 19, 2014 at 03:28:39AM +0530, Monam Agarwal wrote: > This patch replaces rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, > NULL) in drivers/input/endev.c > > Signed-off-by: Monam Agarwal Reviewed-by: Paul E. McKenney > --- > drivers/input/evdev.c |2 +- > 1 file

[ANNOUNCE] Git v1.9.1

2014-03-18 Thread Junio C Hamano
The latest maintenance release Git v1.9.1 is now available at the usual places. The release tarballs are found at: https://www.kernel.org/pub/software/scm/git/ The following public repositories all have a copy of the v1.9.1 tag and the maint branch that the tag points at: url =

Re: [UPDATED PATCH v3 10/52] arm, kvm: Fix CPU hotplug callback registration

2014-03-18 Thread Christoffer Dall
On 18 March 2014 03:23, Srivatsa S. Bhat wrote: > On 03/15/2014 12:40 AM, Christoffer Dall wrote: >> On Fri, Mar 14, 2014 at 11:13:29AM +0530, Srivatsa S. Bhat wrote: >>> On 03/13/2014 04:51 AM, Christoffer Dall wrote: On Tue, Mar 11, 2014 at 02:05:38AM +0530, Srivatsa S. Bhat wrote: >

[PATCH] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/input/input.c

2014-03-18 Thread Monam Agarwal
This patch replaces rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/input/input.c Signed-off-by: Monam Agarwal --- drivers/input/input.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/input.c b/drivers/input/input.c index

[PATCH] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

2014-03-18 Thread Monam Agarwal
This patch replaces rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/infiniband/hw/qib/qib_qp.c Signed-off-by: Monam Agarwal --- drivers/infiniband/hw/qib/qib_qp.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v3 5/7] OF: i2c: Add overlay bus handler

2014-03-18 Thread Pantelis Antoniou
Add the bus handler registration needed for performing overlays containing i2c devices. Signed-off-by: Pantelis Antoniou --- drivers/i2c/i2c-core.c | 87 +- 1 file changed, 86 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/i2c-core.c

[PATCH] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/input/endev.c

2014-03-18 Thread Monam Agarwal
This patch replaces rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/input/endev.c Signed-off-by: Monam Agarwal --- drivers/input/evdev.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index

[PATCH v3 2/7] OF: Introduce DT overlay support.

2014-03-18 Thread Pantelis Antoniou
Introduce DT overlay support. Using this functionality it is possible to dynamically overlay a part of the kernel's tree with another tree that's been dynamically loaded. It is also possible to remove node and properties. The creation/destruction of the devices is handled by calling in to bus

[PATCH v3 7/7] of: i2c: Export single device registration method

2014-03-18 Thread Pantelis Antoniou
From: Pantelis Antoniou Dynamically inserting i2c client device nodes requires the use of a single device registration method. Rework and export it. Signed-off-by: Pantelis Antoniou --- drivers/i2c/i2c-core.c | 99 +++--- include/linux/i2c.h| 10

[PATCH v3 4/7] OF: platform: Add overlay bus handler

2014-03-18 Thread Pantelis Antoniou
Add the bus handler registration needed for performing overlays containing platform devices. Signed-off-by: Pantelis Antoniou --- drivers/base/platform.c | 99 +++-- 1 file changed, 96 insertions(+), 3 deletions(-) diff --git

[PATCH v3 6/7] OF: spi: Add overlay bus handler

2014-03-18 Thread Pantelis Antoniou
Add the bus handler registration needed for performing overlays containing spi devices. Signed-off-by: Pantelis Antoniou --- drivers/spi/spi.c | 345 ++ 1 file changed, 242 insertions(+), 103 deletions(-) diff --git a/drivers/spi/spi.c

[PATCH v3 0/7] Introducing (yet again) Device Tree Overlays

2014-03-18 Thread Pantelis Antoniou
The following patchset introduces Device Tree overlays, a method of dynamically altering the kernel's live Device Tree, along with a generic interface to use it in a board agnostic manner. It is dependent on Grant Likely's DT kobjectification patches located in his tree as queued for -next. It

[PATCH v3 3/7] OF: DT-Overlay configfs interface

2014-03-18 Thread Pantelis Antoniou
Add a runtime interface to using configfs for generic device tree overlay usage. A device-tree configfs entry is created in /config/device-tree/overlays To create an overlay you mkdir the directory and then echo the overlay firmware file to the path property file. # mkdir

[PATCH v3 1/7] OF: Introduce Device Tree resolve support.

2014-03-18 Thread Pantelis Antoniou
Introduce support for dynamic device tree resolution. Using it, it is possible to prepare a device tree that's been loaded on runtime to be modified and inserted at the kernel live tree. Export of of_resolve by Guenter Roeck Signed-off-by: Pantelis Antoniou ---

[PATCH] OF: Add [__]of_find_node_by_full_name

2014-03-18 Thread Pantelis Antoniou
__of_find_node_by_full_name recursively searches for a matching node with the given full name without taking any locks. of_find_node_by_full_name takes locks and takes a reference on the matching node. Signed-off-by: Pantelis Antoniou --- drivers/of/base.c | 58

Re: [PATCH v2 0/4] RDSEED support for the Linux kernel

2014-03-18 Thread tytso
On Mon, Mar 17, 2014 at 04:36:26PM -0700, H. Peter Anvin wrote: > Changes since version 1: > > a. Rebased on top of random.git:dev. > b. Unbreak the PowerPC build (I had managed to miss that PowerPC had >grown archrandom.h support.) > c. Remove duplicate dummy function definitions in . > d.

Re: [PATCH v3 0/5] Add Broadcom Kona PWM Support

2014-03-18 Thread Thierry Reding
On Fri, Mar 14, 2014 at 09:43:24AM -0400, Matt Porter wrote: > On Wed, Mar 12, 2014 at 01:15:41PM -0700, Tim Kryger wrote: > > This series introduces the driver for the Kona PWM controller found in > > Broadcom mobile SoCs like bcm281xx and updates the device tree and the > > defconfig to enable

Re: [PATCH v3 2/5] pwm: kona: Introduce Kona PWM controller support

2014-03-18 Thread Thierry Reding
On Wed, Mar 12, 2014 at 01:15:43PM -0700, Tim Kryger wrote: [...] > diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig > index 22f2f28..1fd42af 100644 > --- a/drivers/pwm/Kconfig > +++ b/drivers/pwm/Kconfig > @@ -62,6 +62,16 @@ config PWM_ATMEL_TCB > To compile this driver as a module,

[PATCH] of: Make of_find_node_by_path() handle /aliases

2014-03-18 Thread Pantelis Antoniou
Make of_find_node_by_path() handle aliases as prefixes. Originally by David Daney , but reworked according to remark by Grant Likely. Handles all cases without allocating memory as requested by Grant Likely Signed-off-by: Pantelis Antoniou --- drivers/of/base.c | 69

[PATCH] OF: Utility helper functions for dynamic nodes

2014-03-18 Thread Pantelis Antoniou
Introduce helper functions for working with the live DT tree, all of them related to dynamically adding/removing nodes and properties. __of_free_property() frees a dynamically created property __of_free_tree() recursively frees a device node tree __of_copy_property() copies a property dynamically

[PATCH] rcu: Convert rcu_dereference to rcu_access_pointer in drivers/net/ethernet/broadcom/cnic.c

2014-03-18 Thread Monam Agarwal
This patch converts rcu_dereference to rcu_access_pointer if its returned value is not used Signed-off-by: Monam Agarwal Reviewed-by: Paul E. McKenney --- drivers/net/ethernet/broadcom/cnic.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [RFC] QR encoding for Oops messages

2014-03-18 Thread Matthew Garrett
On Mon, Mar 17, 2014 at 02:59:47PM -0700, Teodora Baluta wrote: > As far as decoding is concerned, there are a lot of apps on mobile devices > that decode QR codes (just text mostly). In order to make this work, an > app which also decodes the QR code is needed. I will be working the next >

Re: [PATCH v2 11/15] arm64: add EFI stub

2014-03-18 Thread Roy Franz
On Tue, Mar 18, 2014 at 2:40 PM, Mark Salter wrote: > On Tue, 2014-03-18 at 18:28 +, Catalin Marinas wrote: >> On Tue, Mar 18, 2014 at 02:40:29PM +, Mark Salter wrote: >> > On Tue, 2014-03-18 at 12:09 +, Catalin Marinas wrote: >> > > On Thu, Mar 13, 2014 at 10:47:04PM +, Leif

Re: [PATCH v3 1/5] Documentation: dt: Add Kona PWM binding

2014-03-18 Thread Tim Kryger
On Tue, Mar 18, 2014 at 2:18 PM, Thierry Reding wrote: > On Wed, Mar 12, 2014 at 01:15:42PM -0700, Tim Kryger wrote: >> @@ -0,0 +1,24 @@ >> +Broadcom Kona PWM controller device tree bindings >> + >> +This controller has 6 channels. >> + >> +Required Properties : >> +- compatible: should be

Re: rb tree hrtimer lockup bug (found by perf_fuzzer)

2014-03-18 Thread Thomas Gleixner
On Tue, 18 Mar 2014, Vince Weaver wrote: > On Tue, 18 Mar 2014, Thomas Gleixner wrote: > > > > > [3.678040] BUG: unable to handle kernel NULL pointer dereference at > > > 0018 > > > > > > [3.686776] IP:

[PATCH v9 2/2] ARM hibernation / suspend-to-disk

2014-03-18 Thread Sebastian Capella
From: Russ Dill Enable hibernation for ARM architectures and provide ARM architecture specific calls used during hibernation. The swsusp hibernation framework depends on the platform first having functional suspend/resume. Then, in order to enable hibernation on a given platform, a

Re: [PATCH v2 11/15] arm64: add EFI stub

2014-03-18 Thread Mark Salter
On Tue, 2014-03-18 at 18:28 +, Catalin Marinas wrote: > On Tue, Mar 18, 2014 at 02:40:29PM +, Mark Salter wrote: > > On Tue, 2014-03-18 at 12:09 +, Catalin Marinas wrote: > > > On Thu, Mar 13, 2014 at 10:47:04PM +, Leif Lindholm wrote: > > > > --- /dev/null > > > > +++

[PATCH v9 1/2] ARM: avoid tracers in soft_restart

2014-03-18 Thread Sebastian Capella
Use of tracers in local_irq_disable is causes abort loops when called with irqs disabled using a temporary stack. Replace local_irq_disable with raw_local_irq_disable instead to avoid tracers. Signed-off-by: Sebastian Capella Cc: Russell King Cc: Andrew Morton Cc: Will Deacon Cc: Robin Holt

[ANNOUNCE] 3.2.55-rt81

2014-03-18 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.2.55-rt81 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v3.2-rt Head SHA1: 3c8ce5f0a334826f3341a8233503d4748df11a3b Or to build 3.2.55-rt81

[ANNOUNCE] 3.8.13.14-rt30

2014-03-18 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.8.13.14-rt30 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v3.8-rt Head SHA1: eb8a811479ff408b938dc4eec456da574bd70270 Or to build 3.8.13.14-rt30

[ANNOUNCE] 3.4.82-rt103

2014-03-18 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.4.82-rt103 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v3.4-rt Head SHA1: b837f3a52f4aa74f8af135b5a5fbb7dd20fa1181 Or to build 3.4.82-rt103

Re: [linux-next][regression] [PATCH] percpu: add preemption checks to __this_cpu ops

2014-03-18 Thread Andrew Morton
On Tue, 18 Mar 2014 10:54:06 -0500 (CDT) Christoph Lameter wrote: > On Tue, 18 Mar 2014, Grygorii Strashko wrote: > > > Any way, I can boot and console works fine with your change :) > > Thanks. > > Ok here is the properly formatted patch: > > > Subject: preemption_checks: Avoid snprintf

[ANNOUNCE] 3.10.33-rt33

2014-03-18 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.10.33-rt33 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v3.10-rt Head SHA1: bd9f4cee1cdf95e7c0c969fefc7b0e4e5381f28b Or to build 3.10.33-rt33

[PATCH 01/13] perf timechart: Fix off-by-one error in 'record' argv handling

2014-03-18 Thread Arnaldo Carvalho de Melo
From: Ramkumar Ramachandra Since 367b315 (perf timechart: Add support for -P and -T in timechart recording, 2013-11-01), the 'perf timechart record' command stopped working: $ perf timechart record -- git status Workload failed: No such file or directory This happens because of an

[PATCH 07/13] perf tools: Fix memory leak when synthesizing thread records

2014-03-18 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Checking default guest machine should be done before allocating event structures otherwise it'll leak memory. Signed-off-by: Namhyung Kim Cc: Don Zickus Cc: Jiri Olsa Cc: Joe Mario Link: http://lkml.kernel.org/r/87ob15tx6a@sejong.aot.lge.com Signed-off-by: Arnaldo

[PATCH 02/13] perf sched: Fixup header alignment in 'latency' output

2014-03-18 Thread Arnaldo Carvalho de Melo
From: Ramkumar Ramachandra Before: --- Task | Runtime ms | Switches | Average delay ms | Maximum delay ms | Maximum delay at |

[PATCH 11/13] perf evsel: Update function names in debug messages

2014-03-18 Thread Arnaldo Carvalho de Melo
From: Ramkumar Ramachandra perf_event_open() was renamed to sys_perf_event_open(); update the debug messages to reflect this. Signed-off-by: Ramkumar Ramachandra Cc: David Ahern Cc: Jiri Olsa Link: http://lkml.kernel.org/r/1395169842-1399-1-git-send-email-artag...@gmail.com Signed-off-by:

[PATCH 13/13] perf tools: Remove unused simple_strtoul() function

2014-03-18 Thread Arnaldo Carvalho de Melo
From: Ramkumar Ramachandra Moreover, the corresponding function in include/linux/kernel.h is marked obsolete. Signed-off-by: Ramkumar Ramachandra Cc: David Ahern Cc: Jiri Olsa Link: http://lkml.kernel.org/r/1395176715-4465-1-git-send-email-artag...@gmail.com Signed-off-by: Arnaldo Carvalho

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