Re: [PATCH/RFC] arm: arch_timer: Do not set C3STOP in case CPU_IDLE=n

2013-06-16 Thread Simon Horman
On Mon, Jun 17, 2013 at 11:47:11AM +0900, Magnus Damm wrote: > Hi Simon, > > On Mon, Jun 17, 2013 at 11:13 AM, Simon Horman wrote: > > On Mon, Jun 17, 2013 at 09:20:56AM +0900, Magnus Damm wrote: > >> From: Magnus Damm > >> > >> Modify the ARM architec

Re: [PATCH/RFC] arm: arch_timer: Do not set C3STOP in case CPU_IDLE=n

2013-06-16 Thread Simon Horman
On Mon, Jun 17, 2013 at 09:20:56AM +0900, Magnus Damm wrote: > From: Magnus Damm > > Modify the ARM architected timer driver to not set C3STOP > in case CPU_IDLE is disabled. This is a short term fix that > allows use of high resolution timers even though no additional > clock event is registered

Re: [PATCH 2/3] ARM: shmobile: Use POSIX "$((..))" instead of bashism "$[...]"

2013-06-13 Thread Simon Horman
ot on multiple boards. This is one of several series of code that reworks code not to rely on CONFIG_MEMORY_START/SIZE which in turn is needed for ARCH_MULTIPLATFORM. Signed-off-by: Magnus Damm Reviewed-by: Laurent Pinchart Reviewed-by: Kuninori Morimoto Signed-

Re: [PATCH v3 3/5] ARM: mach-shmobile: kota2: Use leds-pwm + pwm-rmob

2013-06-11 Thread Simon Horman
ead of using the LED-specific TPU PWM driver, switch to the generic > > TPU PWM driver with leds-pwm. > > > > Signed-off-by: Laurent Pinchart > > Signed-off-by: Simon Horman > > --- > > arch/arm/mach-shmobile/board-kota2.c | 183 > > ++

Re: linux-next: build warning after merge of the final tree (net-next tree related)

2013-05-30 Thread Simon Horman
On Thu, May 30, 2013 at 04:17:57PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the final tree, today's linux-next build (i386 defconfig) > produced this warning: > > net/netfilter/nf_nat_helper.c: In function 'mangle_contents': > net/netfilter/nf_nat_helper.c:108:9: warning: passin

Re: [PATCH v2] pwm: renesas-tpu: Add missing pwmchip_remove() call in tpu_remove()

2013-05-24 Thread Simon Horman
On Thu, May 23, 2013 at 09:12:17PM +0200, Thierry Reding wrote: > On Thu, May 23, 2013 at 10:39:34AM +0900, Simon Horman wrote: > > On Mon, May 20, 2013 at 03:46:59PM +0200, Laurent Pinchart wrote: > > > Hi Axel, > > > > > > Thank you for the patch. > &g

Re: [PATCH v2] pwm: renesas-tpu: Add missing pwmchip_remove() call in tpu_remove()

2013-05-22 Thread Simon Horman
On Mon, May 20, 2013 at 03:46:59PM +0200, Laurent Pinchart wrote: > Hi Axel, > > Thank you for the patch. > > On Monday 20 May 2013 21:45:41 Axel Lin wrote: > > Signed-off-by: Axel Lin > > Acked-by: Laurent Pinchart Thanks. I have queued this up for v3.11 in the pinmux branch of my renesas tr

Re: [PATCH ipvs-next v3 0/2] sched: Add cond_resched_rcu_lock() helper

2013-05-22 Thread Simon Horman
On Wed, May 22, 2013 at 11:00:51AM +0200, Peter Zijlstra wrote: > On Wed, May 22, 2013 at 01:31:08AM -0700, David Miller wrote: > > From: Peter Zijlstra > > Date: Wed, 22 May 2013 09:54:38 +0200 > > > > > On Wed, May 22, 2013 at 02:50:30PM +0900, Simon Horman wrote

[PATCH ipvs-next v3 1/2] sched: add cond_resched_rcu() helper

2013-05-21 Thread Simon Horman
Peter Zijlstra for catching this and for his help in trying a solution that changes __might_sleep. Initial cond_resched_rcu_lock() function suggested by Eric Dumazet. Tested-by: Julian Anastasov Signed-off-by: Julian Anastasov Signed-off-by: Simon Horman --- include/linux/sched.h | 9 + 1

[PATCH ipvs-next v3 0/2] sched: Add cond_resched_rcu_lock() helper

2013-05-21 Thread Simon Horman
Add a helper that for use in loops which read data protected by RCU and may have a large number of iterations. Such an example is dumping the list of connections known to IPVS: ip_vs_conn_array() and ip_vs_conn_seq_next(). This series also updates IPVS to use the helper. Simon Horman (2

[PATCH ipvs-next v3 2/2] ipvs: use cond_resched_rcu() helper when walking connections

2013-05-21 Thread Simon Horman
cond_resched_rcu to more places] Signed-off-by: Julian Anastasov Signed-off-by: Simon Horman --- net/netfilter/ipvs/ip_vs_conn.c | 23 --- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/net/netfilter/ipvs/ip_vs_conn.c b/net/netfilter/ipvs/ip_vs_conn.c index

Re: [PATCH] pwm: renesas-tpu: Add missing pwmchip_remove() call in tpu_remove()

2013-05-19 Thread Simon Horman
On Sun, May 19, 2013 at 04:22:21PM +0200, Laurent Pinchart wrote: > Hi Axel, > > Thank you for the patch. > > On Sunday 19 May 2013 13:45:31 Axel Lin wrote: > > Signed-off-by: Axel Lin > > --- > > drivers/pwm/pwm-renesas-tpu.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > d

Re: linux-next: manual merge of the renesas tree with Linus' tree

2013-05-15 Thread Simon Horman
On Thu, May 16, 2013 at 01:22:53PM +1000, Stephen Rothwell wrote: > Hi Simon, > > Today's linux-next merge of the renesas tree got a conflict in > arch/arm/mach-shmobile/board-lager.c between commit 65be2de17aae ("ARM: > shmobile: use r8a7790 timer setup code on Lager") from Linus' tree and > comm

Re: [PATCH 05/20] ARM: shmobile: ape6evm: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
On Wed, May 15, 2013 at 10:46:04AM +0900, Simon Horman wrote: > On Wed, May 15, 2013 at 09:59:07AM +0900, Simon Horman wrote: > > On Tue, May 14, 2013 at 05:38:38PM +0200, Maxime Ripard wrote: > > > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is &g

Re: [PATCH 11/20] ARM: shmobile: sh73a0: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
On Tue, May 14, 2013 at 05:38:44PM +0200, Maxime Ripard wrote: > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is > specified") removed the need to explictly setup the init_irq field in > the machine description when using only irqchip_init. Remove that > declaration for shm

Re: [PATCH 10/20] ARM: shmobile: r8a7790: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
On Tue, May 14, 2013 at 05:38:43PM +0200, Maxime Ripard wrote: > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is > specified") removed the need to explictly setup the init_irq field in > the machine description when using only irqchip_init. Remove that > declaration for shm

Re: [PATCH 09/20] ARM: shmobile: r8a73a4: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
On Tue, May 14, 2013 at 05:38:42PM +0200, Maxime Ripard wrote: > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is > specified") removed the need to explictly setup the init_irq field in > the machine description when using only irqchip_init. Remove that > declaration for shm

Re: [PATCH 08/20] ARM: shmobile: emev2: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
On Wed, May 15, 2013 at 09:59:38AM +0900, Simon Horman wrote: > On Tue, May 14, 2013 at 05:38:41PM +0200, Maxime Ripard wrote: > > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is > > specified") removed the need to explictly setup the init_irq

Re: [PATCH 07/20] ARM: shmobile: lager: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
On Tue, May 14, 2013 at 05:38:40PM +0200, Maxime Ripard wrote: > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is > specified") removed the need to explictly setup the init_irq field in > the machine description when using only irqchip_init. Remove that > declaration for shm

Re: [PATCH 06/20] ARM: shmobile: kzm9g: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
On Wed, May 15, 2013 at 09:59:17AM +0900, Simon Horman wrote: > On Tue, May 14, 2013 at 05:38:39PM +0200, Maxime Ripard wrote: > > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is > > specified") removed the need to explictly setup the init_irq

Re: [PATCH 05/20] ARM: shmobile: ape6evm: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
On Wed, May 15, 2013 at 09:59:07AM +0900, Simon Horman wrote: > On Tue, May 14, 2013 at 05:38:38PM +0200, Maxime Ripard wrote: > > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is > > specified") removed the need to explictly setup the init_irq

Re: [PATCH 08/20] ARM: shmobile: emev2: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
START(EMEV2_DT, "Generic Emma Mobile EV2 > (Flattened Device Tree)") > .smp= smp_ops(emev2_smp_ops), > .init_early = emev2_init_delay, > .nr_irqs= NR_IRQS_LEGACY, > - .init_irq = irqchip_init, > .init_machine = emev2_add_stan

Re: [PATCH 07/20] ARM: shmobile: lager: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
__initdata = { > }; > > DT_MACHINE_START(LAGER_DT, "lager") > - .init_irq = irqchip_init, > .init_time = r8a7790_timer_init, > .init_machine = lager_add_standard_devices, > .dt_compat = lager_boards_compat_dt, Signed-o

Re: [PATCH 06/20] ARM: shmobile: kzm9g: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
.init_time = shmobile_timer_init, > .dt_compat = kzm9g_boards_compat_dt, Signed-off-by: Simon Horman -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 05/20] ARM: shmobile: ape6evm: Remove init_irq declaration in machine description

2013-05-14 Thread Simon Horman
ards_compat_dt[] __initdata = { > }; > > DT_MACHINE_START(APE6EVM_DT, "ape6evm") > - .init_irq = irqchip_init, > .init_time = shmobile_timer_init, > .init_machine = ape6evm_add_standard_devices, > .dt_compat = ape6evm_bo

Re: [PATCH 05/14] ARM: shmobile: Remove init_irq declaration in machine description

2013-05-13 Thread Simon Horman
On Mon, May 13, 2013 at 11:44:04AM +0200, Maxime Ripard wrote: > Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is > specified") removed the need to explictly setup the init_irq field in > the machine description when using only irqchip_init. Remove that > declaration for shm

Re: [PATCH 03/21] ARM: shmobile: don't call irqchip_init unconditionally

2013-05-08 Thread Simon Horman
On Thu, May 09, 2013 at 12:38:19PM +0900, Simon Horman wrote: > On Wed, May 08, 2013 at 03:22:22PM +0200, Bastian Hecht wrote: > > Hi, > > > > 2013/5/8 Arnd Bergmann : > > > On Thursday 02 May 2013, Simon Horman wrote: > > >> > > diff --git a/arc

Re: [PATCH 03/21] ARM: shmobile: don't call irqchip_init unconditionally

2013-05-08 Thread Simon Horman
On Wed, May 08, 2013 at 03:22:22PM +0200, Bastian Hecht wrote: > Hi, > > 2013/5/8 Arnd Bergmann : > > On Thursday 02 May 2013, Simon Horman wrote: > >> > > diff --git a/arch/arm/mach-shmobile/intc-r8a7740.c > >> > > b/arch/arm/mach-shmobile/intc-r8a

Re: [PATCH] irqchip: renesas-irqc: Fix irqc_probe error handling

2013-05-07 Thread Simon Horman
On Mon, May 06, 2013 at 05:03:32PM +0800, Axel Lin wrote: > The code in goto err3 path is wrong because it will call fee_irq() with k == > 0, > which means it does free_irq(p->irq[-1].requested_irq, &p->irq[-1]); > > Signed-off-by: Axel Lin > --- > drivers/irqchip/irq-renesas-irqc.c | 4 ++-- >

Re: [PATCH/RFC 0/6] DMA: shdma: add Device Tree support

2013-05-07 Thread Simon Horman
arm-soc tree provided that there are acks from Vinod and Chris on the relevant patches. I am also happy for either Chris or Vinod to take the patches. To that end, for the two smhobile patches below: Acked-by: Simon Horman > Thanks > Guennadi > > > Cc: Guennadi Liakhovetski

Re: [PATCH 03/21] ARM: shmobile: don't call irqchip_init unconditionally

2013-05-01 Thread Simon Horman
results > > in smaller object code if not both are enabled, without the > > need for an #ifdef. > > > > Signed-off-by: Arnd Bergmann > > Cc: Bastian Hecht > > Cc: Simon Horman > > Cc: Kuninori Morimoto > > --- > > arch/arm/mach-shmobile/i

[PATCH v3 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections

2013-05-01 Thread Simon Horman
. Cc: Eric Dumazet Cc: Julian Anastasov Cc: Ingo Molnar Signed-off-by: Simon Horman --- net/netfilter/ipvs/ip_vs_conn.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/net/netfilter/ipvs/ip_vs_conn.c b/net/netfilter/ipvs/ip_vs_conn.c index a083bda..42a7b33 100644 --- a

[PATCH v3 1/2] sched: Add cond_resched_rcu_lock() helper

2013-05-01 Thread Simon Horman
. McKenney and Julian Anastasov. Cc: Eric Dumazet Cc: Paul E. McKenney Cc: Julian Anastasov Acked-by: Ingo Molnar Signed-off-by: Simon Horman --- v3 * Remove if (need_resched()), it is no longer needed with the guard added in v2. v2 * Guard the call to cond_resched() with #ifndef

[PATCH v3 0/2] sched: Add cond_resched_rcu_lock() helper

2013-05-01 Thread Simon Horman
the helper. Changes since v1 and v2 noted in the changelog of each patch. Simon Horman (2): sched: Add cond_resched_rcu_lock() helper ipvs: Use cond_resched_rcu_lock() helper when dumping connections include/linux/sched.h | 11 +++ net/netfilter/ipvs/ip_vs_conn.c | 6

Re: [PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper

2013-04-30 Thread Simon Horman
On Tue, Apr 30, 2013 at 10:12:38AM +0300, Julian Anastasov wrote: > > Hello, > > On Tue, 30 Apr 2013, Simon Horman wrote: > > > This is intended for use in loops which read data protected by RCU and may > > have a large number of iterations. Such an exa

[PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper

2013-04-29 Thread Simon Horman
. McKenney and Julian Anastasov. Cc: Eric Dumazet Cc: Paul E. McKenney Cc: Julian Anastasov Acked-by: Ingo Molnar Signed-off-by: Simon Horman --- v2 * Add guard the call to cond_resched() --- include/linux/sched.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/linux

[PATCH v2 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections

2013-04-29 Thread Simon Horman
. Cc: Eric Dumazet Cc: Julian Anastasov Cc: Ingo Molnar Signed-off-by: Simon Horman --- net/netfilter/ipvs/ip_vs_conn.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/net/netfilter/ipvs/ip_vs_conn.c b/net/netfilter/ipvs/ip_vs_conn.c index a083bda..42a7b33 100644 --- a

[PATCH v2 0/2] sched: Add cond_resched_rcu_lock() helper

2013-04-29 Thread Simon Horman
the helper. Changes since v1 noted in the changelog of each patch. Simon Horman (2): sched: Add cond_resched_rcu_lock() helper ipvs: Use cond_resched_rcu_lock() helper when dumping connections include/linux/sched.h | 11 +++ net/netfilter/ipvs/ip_vs_conn.c | 6 ++ 2

Re: [PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections

2013-04-29 Thread Simon Horman
On Fri, Apr 26, 2013 at 08:15:34AM +0200, Ingo Molnar wrote: > > * Simon Horman wrote: > > > This avoids the situation where a dump of a large number of connections > > may prevent scheduling for a long time while also avoiding excessive > > calls to rcu_read

Re: [PATCH 03/21] ARM: shmobile: don't call irqchip_init unconditionally

2013-04-29 Thread Simon Horman
On Tue, Apr 30, 2013 at 10:58:40AM +0900, Simon Horman wrote: > On Mon, Apr 29, 2013 at 04:49:07PM +0200, Arnd Bergmann wrote: > > On Friday 26 April 2013, Simon Horman wrote: > > > > diff --git a/arch/arm/mach-shmobile/intc-r8a7740.c > > > > b/arch/arm/mach-shmo

Re: [PATCH 03/21] ARM: shmobile: don't call irqchip_init unconditionally

2013-04-29 Thread Simon Horman
On Mon, Apr 29, 2013 at 04:49:07PM +0200, Arnd Bergmann wrote: > On Friday 26 April 2013, Simon Horman wrote: > > > diff --git a/arch/arm/mach-shmobile/intc-r8a7740.c > > > b/arch/arm/mach-shmobile/intc-r8a7740.c > > > index 8871f77..5dc57f1 100644 > > > --

[PATCH 0/2] sched: Add cond_resched_rcu_lock() helper

2013-04-25 Thread Simon Horman
the helper. As suggested by Eric Dumazet. Simon Horman (2): sched: Add cond_resched_rcu_lock() helper ipvs: Use cond_resched_rcu_lock() helper when dumping connections include/linux/sched.h | 9 + net/netfilter/ipvs/ip_vs_conn.c | 6 ++ 2 files changed, 11 insertions

[PATCH 1/2] sched: Add cond_resched_rcu_lock() helper

2013-04-25 Thread Simon Horman
Signed-off-by: Simon Horman --- include/linux/sched.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/linux/sched.h b/include/linux/sched.h index e692a02..7eec4c7 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -2787,3 +2787,12 @@ static inline unsigned long

[PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections

2013-04-25 Thread Simon Horman
This avoids the situation where a dump of a large number of connections may prevent scheduling for a long time while also avoiding excessive calls to rcu_read_unlock() and rcu_read_lock(). Cc: Eric Dumazet Cc: Julian Anastasov Signed-off-by: Simon Horman --- net/netfilter/ipvs/ip_vs_conn.c

Re: [PATCH 11/21] irqdomain: export irq_domain_add_simple

2013-04-25 Thread Simon Horman
drivers/gpio/gpio-rcar.ko] undefined! > ERROR: "irq_domain_add_simple" [drivers/gpio/gpio-em.ko] undefined! > > Signed-off-by: Arnd Bergmann > Cc: Benjamin Herrenschmidt > Cc: Grant Likely > Cc: Thomas Gleixner > Cc: Simon Horman > Cc: Laurent Pinchart > Cc

Re: [PATCH 03/21] ARM: shmobile: don't call irqchip_init unconditionally

2013-04-25 Thread Simon Horman
> Signed-off-by: Arnd Bergmann > Cc: Bastian Hecht > Cc: Simon Horman > Cc: Kuninori Morimoto > --- > arch/arm/mach-shmobile/intc-r8a7740.c | 13 +++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/mach-shmobile/intc-r8a7

Re: [PATCH 0/9] TPU PWM support

2013-04-24 Thread Simon Horman
On Wed, Apr 24, 2013 at 04:40:44PM +0900, Simon Horman wrote: > On Wed, Apr 24, 2013 at 02:06:00AM +0200, Laurent Pinchart wrote: > > Hello, > > > > This patch set adds support for the TPU PWM unit found in the sh73a0 and > > r8a7740 SoCs. It deprecates and removes the

Re: [PATCH 0/9] TPU PWM support

2013-04-24 Thread Simon Horman
On Wed, Apr 24, 2013 at 02:06:00AM +0200, Laurent Pinchart wrote: > Hello, > > This patch set adds support for the TPU PWM unit found in the sh73a0 and > r8a7740 SoCs. It deprecates and removes the leds-renesas-tpu driver in favor > of a combination of leds-pwm and pwm-rmob. > > I've tested the c

Re: [PATCH 19/26] sh: Don't use create_proc_read_entry() [RFC]

2013-04-16 Thread Simon Horman
On Wed, Apr 17, 2013 at 03:42:03AM +0900, Paul Mundt wrote: > On Tue, Apr 16, 2013 at 07:28:42AM +0100, Al Viro wrote: > > On Tue, Apr 16, 2013 at 03:11:13PM +0900, Simon Horman wrote: > > > On Thu, Apr 11, 2013 at 02:30:09PM +0100, David Howells wrote: > > > > Do

Re: [PATCH 19/26] sh: Don't use create_proc_read_entry() [RFC]

2013-04-15 Thread Simon Horman
On Thu, Apr 11, 2013 at 02:30:09PM +0100, David Howells wrote: > Don't use create_proc_read_entry() as that is deprecated, but rather use > proc_create_data() and seq_file instead. Paul, do you want me to handle this? > > Signed-off-by: David Howells > cc: Paul Mundt > cc: linux...@vger.kernel

Re: [PATCH/RFC 4/6] ARM: shmobile: sh73a0: add support for the DMA0 controller in DT

2013-04-10 Thread Simon Horman
On Thu, Apr 11, 2013 at 12:01:27PM +0900, Simon Horman wrote: > On Thu, Apr 11, 2013 at 12:19:47AM +0200, Guennadi Liakhovetski wrote: > > Add a Device Tree node for the DMA0 controller on sh73a0 and > > auxdata to supply platform data to the driver. To enable the > > DMA0 c

Re: [PATCH/RFC 4/6] ARM: shmobile: sh73a0: add support for the DMA0 controller in DT

2013-04-10 Thread Simon Horman
On Thu, Apr 11, 2013 at 12:19:47AM +0200, Guennadi Liakhovetski wrote: > Add a Device Tree node for the DMA0 controller on sh73a0 and > auxdata to supply platform data to the driver. To enable the > DMA0 controller it also has to be taken out of reset. > > Signed-off-by: Guennadi Liakhovetski H

Re: [PATCH/RFC 6/6] ARM: shmobile: kzm9g-reference: add DMA channels to the MMCIF DT

2013-04-10 Thread Simon Horman
On Thu, Apr 11, 2013 at 12:19:49AM +0200, Guennadi Liakhovetski wrote: > The MMCIF driver can use DMA for data transfer, add suitable > Device Tree bindings. > > Signed-off-by: Guennadi Liakhovetski Hi Guennadi, this seems reasonable to me. I guess the best thing is for you to repost it once th

Re: [PATCH 14/18] cpufreq: sh: move cpufreq driver to drivers/cpufreq

2013-04-09 Thread Simon Horman
On Wed, Apr 10, 2013 at 08:21:51AM +0530, Viresh Kumar wrote: > On 10 April 2013 07:42, Simon Horman wrote: > > Thanks, I understand. > > > > I have no objections to this, but Paul should probably review it. > > It is already Acked by him and applied by Rafael. :)

Re: [PATCH 14/18] cpufreq: sh: move cpufreq driver to drivers/cpufreq

2013-04-09 Thread Simon Horman
On Tue, Apr 09, 2013 at 07:42:51PM +0530, Viresh Kumar wrote: > On 9 April 2013 18:25, Simon Horman wrote: > > On Thu, Apr 04, 2013 at 06:24:22PM +0530, Viresh Kumar wrote: > >> This patch moves cpufreq driver of SUPERH architecture to drivers/cpufreq. > > > > Why?

Re: [PATCH 14/18] cpufreq: sh: move cpufreq driver to drivers/cpufreq

2013-04-09 Thread Simon Horman
On Thu, Apr 04, 2013 at 06:24:22PM +0530, Viresh Kumar wrote: > This patch moves cpufreq driver of SUPERH architecture to drivers/cpufreq. Why? I am missing the cover email where I assume the explanation lies. > > Cc: Paul Mundt > Cc: linux...@vger.kernel.org > Signed-off-by: Viresh Kumar > A

Re: [PATCH] sysfs: fix crash_notes_size build warning

2013-04-03 Thread Simon Horman
rmat '%lu' expects argument of type > 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] > > Signed-off-by: Arnd Bergmann > Cc: Zhang Yanfei > Cc: Simon Horman > Cc: Greg Kroah-Hartman Sorry for letting that slip through

Re: [PATCH 2/2] Documentation: Add ABI entry for crash_notes and crash_notes_size

2013-03-28 Thread Simon Horman
off-by: Zhang Yanfei Assuming that patch 1 of this series is accepted: Acked-by: Simon Horman > --- > Documentation/ABI/testing/sysfs-devices-system-cpu | 12 > 1 files changed, 12 insertions(+), 0 deletions(-) > > diff --git a/Documentation/ABI/testing/sysfs-dev

Re: [PATCH 1/2] sysfs: Add crash_notes_size to export percpu note size

2013-03-28 Thread Simon Horman
e to export the exact percpu > > note size and let the kexec-tools parse it intead of using 1024. > > > > The idea came from Vivek Goyal. And a later patch will be sent to > > kexec-tools to let it parse the size. Acked-by: Simon Horman > > > > Cc:

Re: [PATCH 2/2] ARM: remove mach .init_irq for irqchip_init users

2013-03-28 Thread Simon Horman
On Thu, Mar 28, 2013 at 07:24:02PM +0100, Maxime Ripard wrote: > Hi Simon, > > Le 28/03/2013 13:42, Simon Horman a écrit : > > On Thu, Mar 28, 2013 at 10:41:44AM +0100, Maxime Ripard wrote: > >> Now that the arm core code calls irqchip_init, we can remove it from all >

Re: [PATCH 2/2] ARM: remove mach .init_irq for irqchip_init users

2013-03-28 Thread Simon Horman
s/v2m.c |1 - > arch/arm/mach-virt/virt.c |1 - > arch/arm/mach-zynq/common.c|1 - > 18 files changed, 18 deletions(-) mach-shmobile portion: Acked-by: Simon Horman I have some new users of this queued up for v3.10. How should

Re: [PATCH 1/1 v1] the recommended crash memory reservation is too small for x86_64.

2013-03-27 Thread Simon Horman
On Mon, Mar 25, 2013 at 06:56:49PM +0800, zhouzho...@gmail.com wrote: > From: root The above line is bogus. > On Documentation/kdump/kdump.txt, section Boot into System Kernel: On x86 > and x86_64, use > "crashkernel=64M@16M", but some OSes like ubuntu 12.10 use ram fs larger > than 64M, so

Re: [PATCH] gpio: Renesas R-Car GPIO driver V3

2013-03-27 Thread Simon Horman
On Tue, Mar 26, 2013 at 11:16:30PM +0900, Magnus Damm wrote: > Hi Laurent, > > On Tue, Mar 26, 2013 at 10:03 PM, Laurent Pinchart > wrote: > > Hi Magnus, > > > > Thanks for the patch. > > > > On Tuesday 26 March 2013 09:23:01 Magnus Damm wrote: > >> From: Magnus Damm > >> > >> This patch is V3 o

Re: [PATCH 00/03] gpio: Renesas R-Car GPIO driver update

2013-03-16 Thread Simon Horman
On Thu, Mar 14, 2013 at 02:13:52PM +0100, Laurent Pinchart wrote: > Hi Magnus, > > On Thursday 14 March 2013 13:23:46 Magnus Damm wrote: > > On Wed, Mar 13, 2013 at 9:58 PM, Laurent Pinchart wrote: > > > On Wednesday 13 March 2013 20:32:03 Magnus Damm wrote: > > >> gpio: Renesas R-Car GPIO driver

Re: [PATCH] irqchip: Renesas INTC External IRQ pin driver

2013-03-07 Thread Simon Horman
On Wed, Mar 06, 2013 at 02:05:52PM +0100, Thomas Gleixner wrote: > On Wed, 6 Mar 2013, Simon Horman wrote: > > > On Wed, Mar 06, 2013 at 11:01:14AM +0100, Thomas Gleixner wrote: > > > On Wed, 6 Mar 2013, Simon Horman wrote: > > > > On Mon, Feb 18, 2013 at 11

Re: [PATCH] irqchip: Renesas INTC External IRQ pin driver

2013-03-06 Thread Simon Horman
On Wed, Mar 06, 2013 at 11:01:14AM +0100, Thomas Gleixner wrote: > On Wed, 6 Mar 2013, Simon Horman wrote: > > On Mon, Feb 18, 2013 at 11:28:34PM +0900, Magnus Damm wrote: > > > The SoCs using this driver are currently mainly used > > > together with regular plat

Re: [PATCH] irqchip: irqc: Add DT support

2013-03-05 Thread Simon Horman
On Wed, Mar 06, 2013 at 03:23:39PM +0900, Magnus Damm wrote: > From: Magnus Damm > > Add DT support to the IRQC External IRQ Pin driver. I have added this to topic/intc-external-irq with the related patches. The holding-pen for INTC. -- To unsubscribe from this list: send the line "unsubscribe l

Re: [PATCH] irqchip: intc-irqpin: Initial DT support

2013-03-05 Thread Simon Horman
On Wed, Mar 06, 2013 at 03:16:08PM +0900, Magnus Damm wrote: > From: Magnus Damm > > Add initial DT support to the INTC External IRQ Pin > driver. At this point only hardware with 4-bit wide > sense registers is supported via DT. I have added this to topic/intc-external-irq with the related patc

Re: [PATCH] irqchip: Renesas INTC External IRQ pin driver

2013-03-05 Thread Simon Horman
On Mon, Feb 18, 2013 at 11:28:34PM +0900, Magnus Damm wrote: > From: Magnus Damm > > This patch adds a driver for external IRQ pins connected > to the INTC block on recent SoCs from Renesas. > > The INTC hardware block usually contains a rather wide > range of features ranging from external IRQ

Re: [PATCH] kexec: consolidate crash late initialization

2013-03-04 Thread Simon Horman
On Wed, May 30, 2012 at 02:05:09PM +0400, Vladimir Davydov wrote: > Use one module_init() instead of two. I'm not sure I understand the motivation for this change. > --- > kernel/kexec.c |9 +++-- > 1 files changed, 7 insertions(+), 2 deletions(-) > > diff --git a/kernel/kexec.c b/kerne

Re: [PATCH] irqchip: Renesas IRQC driver

2013-03-01 Thread Simon Horman
On Wed, Feb 27, 2013 at 05:15:01PM +0900, Magnus Damm wrote: > From: Magnus Damm > > This patch adds a driver for external IRQ pins connected > to the IRQC hardware block on recent SoCs from Renesas. > > The IRQC hardware block is used together with more > recent ARM based SoCs using the GIC. As

Re: [PATCH 00/05] irqchip: Renesas INTC External IRQ pin v2 update

2013-03-01 Thread Simon Horman
> [PATCH 04/05] irqchip: intc-irqpin: Make use of devm functions > [PATCH 05/05] irqchip: intc-irqpin: GPL header for platform data > > These patches update the v1 of the INTC External IRQ pin driver > in various ways based on feedback kindly received from: > - Simon Horman

Re: [PATCH] : fix compilation warnings with DT disabled

2013-02-28 Thread Simon Horman
ete declarations for the rest of the structures where the #ifdef move > doesn't help... > > Reported-by: Vladimir Barinov > Signed-off-by: Sergei Shtylyov Reviewed-by: Simon Horman Grant, could you consider taking this patch? > --- > Actually, it compiles eve without

Re: [PATCH v3 1/2] kexec: fix wrong types of some local variables

2013-02-28 Thread Simon Horman
n" > Cc: Andrew Morton > Cc: Simon Horman > Signed-off-by: Zhang Yanfei No complaints here. Reviewed-by: Simon Horman > --- > kernel/kexec.c |6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/kernel/kexec.c b/kernel/kexec.c &g

Re: [PATCH] gpio: em: Add Device Tree support

2013-02-27 Thread Simon Horman
On Wed, Feb 27, 2013 at 07:13:46PM +0900, Magnus Damm wrote: > Hi Dmitry, > > Thanks for your feedback! > > On Wed, Feb 27, 2013 at 7:41 AM, Dmitry Torokhov > wrote: > > Hi Magnus, > > > > On Tue, Feb 26, 2013 at 10:26:23PM +0900, Magnus Damm wrote: > >> From: Magnus Damm > >> > >> Update the E

Re: [PATCH] irqchip: Renesas IRQC driver

2013-02-27 Thread Simon Horman
On Wed, Feb 27, 2013 at 05:15:01PM +0900, Magnus Damm wrote: > From: Magnus Damm > > This patch adds a driver for external IRQ pins connected > to the IRQC hardware block on recent SoCs from Renesas. > > The IRQC hardware block is used together with more > recent ARM based SoCs using the GIC. As

Re: linux-next: manual merge of the renesas tree with Linus' tree

2013-02-26 Thread Simon Horman
On Wed, Feb 27, 2013 at 12:17:06PM +1100, Stephen Rothwell wrote: > Hi Simon, > > Today's linux-next merge of the renesas tree got a conflict in > arch/arm/mach-shmobile/setup-sh73a0.c between commit 9a27dee73f55 ("ARM: > mach-shmobile: sh73a0: Add IPMMU device") from Linus' tree and commit > 73b2

Re: [PATCH 00/05] irqchip: Renesas INTC External IRQ pin v2 update

2013-02-26 Thread Simon Horman
> [PATCH 04/05] irqchip: intc-irqpin: Make use of devm functions > [PATCH 05/05] irqchip: intc-irqpin: GPL header for platform data > > These patches update the v1 of the INTC External IRQ pin driver > in various ways based on feedback kindly received from: > - Simon Horman

Re: [PATCH v2] kexec: Use min_t to simplify logic

2013-02-25 Thread Simon Horman
On Mon, Feb 25, 2013 at 03:35:54PM -0800, Andrew Morton wrote: > On Mon, 25 Feb 2013 09:36:51 +0900 > Simon Horman wrote: > > > On Sun, Feb 24, 2013 at 10:37:21PM +0800, Zhang Yanfei wrote: > > > From: Zhang Yanfei > > > > > > This is just a tweak:

Re: [PATCH v2] kexec: Use min_t to simplify logic

2013-02-24 Thread Simon Horman
by v1. Thanks Simon. Hi Zhang, thanks for the update. Signed-off-by: Simon Horman > Cc: "Eric W. Biederman" > Cc: Andrew Morton > Cc: Simon Horman > Signed-off-by: Zhang Yanfei > --- > kernel/kexec.c | 22 ++ > 1 files changed, 6 insertions

Re: [PATCH] kexec: use min_t/max_t to avoid 'if (foo == bar)' thing

2013-02-24 Thread Simon Horman
y logic > Cc: "Eric W. Biederman" > Cc: Andrew Morton > Cc: Simon Horman > Signed-off-by: Zhang Yanfei > --- > kernel/kexec.c | 20 +--- > 1 files changed, 5 insertions(+), 15 deletions(-) > > diff --git a/kernel/kexec.c b/kernel/kexe

Re: [PATCH] kexec: avoid freeing NULL pointer in function kimage_crash_alloc

2013-02-23 Thread Simon Horman
erman" > Cc: Andrew Morton > Signed-off-by: Zhang Yanfei Reviewed-by: Simon Horman > --- > kernel/kexec.c | 15 +++ > 1 files changed, 7 insertions(+), 8 deletions(-) > > diff --git a/kernel/kexec.c b/kernel/kexec.c > index 5e4bd78..4e96fa7 100

Re: [PATCH] kexec: fix memory leak in function kimage_normal_alloc

2013-02-23 Thread Simon Horman
. Biederman" > Cc: Andrew Morton > Cc: Sasha Levin > Signed-off-by: Zhang Yanfei Reviewed-by: Simon Horman > --- > kernel/kexec.c | 18 ++ > 1 files changed, 10 insertions(+), 8 deletions(-) > > diff --git a/kernel/kexec.c b/kernel/kexec.c > in

Re: [PATCH] irqchip: Renesas INTC External IRQ pin driver

2013-02-18 Thread Simon Horman
On Mon, Feb 18, 2013 at 11:28:34PM +0900, Magnus Damm wrote: > From: Magnus Damm > > This patch adds a driver for external IRQ pins connected > to the INTC block on recent SoCs from Renesas. > > The INTC hardware block usually contains a rather wide > range of features ranging from external IRQ

Re: [PATCH v2] net: fix functions and variables related to netns_ipvs->sysctl_sync_qlen_max

2013-02-17 Thread Simon Horman
On Fri, Feb 15, 2013 at 11:39:34PM +0200, Julian Anastasov wrote: > > Hello, > > On Thu, 14 Feb 2013, Andrew Morton wrote: > > > On Thu, 7 Feb 2013 10:40:26 +0200 (EET) > > Julian Anastasov wrote: > > > > > > Another question about the sysctl_sync_qlen_max: > > > > This variable is assig

Re: [PATCH/RFC] mfd: as3711: add OF support

2013-02-15 Thread Simon Horman
On Sat, Feb 16, 2013 at 11:26:30AM +0900, Simon Horman wrote: > On Fri, Feb 15, 2013 at 11:07:16AM +0100, Guennadi Liakhovetski wrote: > > Add device-tree bindings to the AS3711 regulator and backlight drivers. > > Hi, > > at this stage I do not expect this code to go thr

Re: [PATCH/RFC] mfd: as3711: add OF support

2013-02-15 Thread Simon Horman
On Fri, Feb 15, 2013 at 11:07:16AM +0100, Guennadi Liakhovetski wrote: > Add device-tree bindings to the AS3711 regulator and backlight drivers. > > Signed-off-by: Guennadi Liakhovetski > --- > > As usual - comments to the new bindings are very welcome! > > Documentation/devicetree/bindings/mf

Re: [PATCH/RFC] mfd: as3711: add OF support

2013-02-15 Thread Simon Horman
On Fri, Feb 15, 2013 at 11:07:16AM +0100, Guennadi Liakhovetski wrote: > Add device-tree bindings to the AS3711 regulator and backlight drivers. Hi, at this stage I do not expect this code to go through the renesas tree. However, in order to provide a basis for work on renesas SoCs I have added t

Re: [PATCH 5/9] ARM: shmobile: mark mackerel sh_mmcif_device __maybe_unused

2013-02-15 Thread Simon Horman
On Fri, Feb 15, 2013 at 12:55:06PM +, Arnd Bergmann wrote: > On Thursday 14 February 2013, Simon Horman wrote: > > On Thu, Feb 14, 2013 at 11:26:54PM +0100, Arnd Bergmann wrote: > > > Patch eac036ef9e "ARM: shmobile: streamline mackerel SD and MMC devices&quo

Re: [PATCH 5/9] ARM: shmobile: mark mackerel sh_mmcif_device __maybe_unused

2013-02-14 Thread Simon Horman
> > arch/arm/mach-shmobile/board-mackerel.c:1120:31: warning: 'sh_mmcif_device' > defined but not used [-Wunused-variable] > > Marking the variable as __maybe_unused will do the right thing here. > > Signed-off-by: Arnd Bergmann > Cc: Guennadi Liakhovetsk

Re: [PATCH 00/08] clocksource: sh_cmt: CMT driver update

2013-02-13 Thread Simon Horman
On Wed, Feb 13, 2013 at 10:45:13AM +0100, Guennadi Liakhovetski wrote: > Hi Magnus > > On Fri, 14 Dec 2012, Magnus Damm wrote: > > > clocksource: sh_cmt: CMT driver update > > > > [PATCH 01/08] clocksource: sh_cmt: Take care of clk_put() when setup_irq() > > fails > > [PATCH 02/08] clocksource:

Re: [PATCH v2] net: fix functions and variables related to netns_ipvs->sysctl_sync_qlen_max

2013-02-06 Thread Simon Horman
rton > Cc: David Miller > Cc: Julian Anastasov > Cc: Simon Horman > Signed-off-by: Zhang Yanfei Acked-by: Simon Horman > --- > include/net/ip_vs.h|6 +++--- > net/netfilter/ipvs/ip_vs_ctl.c |4 ++-- > 2 files changed, 5 insertions(+), 5 deletion

Re: [PATCH 6/7] net: change type of netns_ipvs->sysctl_sync_qlen_max

2013-02-06 Thread Simon Horman
On Wed, Feb 06, 2013 at 05:36:12PM +0800, Zhang Yanfei wrote: > 于 2013年02月06日 17:29, Julian Anastasov 写道: > > > > Hello, > > > > Sorry that I'm writing a private email but I > > deleted your original message by mistake. Your change > > of the sysctl_sync_qlen_max from int to long is may b

Re: [PATCH v6 0/4] Renesas IPMMU driver for sh7372, sh73a0 and r8a7740

2013-02-05 Thread Simon Horman
are ok for you? > > > No strong opinions one way or the other, patches 2-4 don't really do > anything of significance. > > Acked-by: Paul Mundt Likewise. shmobile patches: Acked-by: Simon Horman -- To unsubscribe from this list: send the line "unsubscr

Re: [PATCH] ARM: shmobile: armadillo800eva: set clock rates before timer init

2013-01-29 Thread Simon Horman
On Fri, Jan 18, 2013 at 02:02:05PM +0900, Hideki EIRAKU wrote: > Previously clock rates were set after initialization of timer. > Therefore the timer used the default extal1 clock rate (25MHz) > instead of the correct rate for this board (24MHz). > > Signed-off-by: Hideki EIRAKU Thanks, I have a

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 Acke

Re: [PATCH v2 1/2] ARM: shmobile: sh73a0: Use generic irqchip_init()

2013-01-22 Thread Simon Horman
On Mon, Jan 21, 2013 at 11:29:12PM -0800, Olof Johansson wrote: > On Mon, Jan 21, 2013 at 08:03:01AM +0100, Thierry Reding wrote: > > On Mon, Jan 21, 2013 at 09:54:39AM +0900, Simon Horman wrote: > > > On Fri, Jan 18, 2013 at 08:16:12AM +0100, Thierry Reding wrote: > > &g

Re: [PATCH v2 1/2] ARM: shmobile: sh73a0: Use generic irqchip_init()

2013-01-21 Thread Simon Horman
On Mon, Jan 21, 2013 at 08:03:01AM +0100, Thierry Reding wrote: > On Mon, Jan 21, 2013 at 09:54:39AM +0900, Simon Horman wrote: > > On Fri, Jan 18, 2013 at 08:16:12AM +0100, Thierry Reding wrote: > > > The asm/hardware/gic.h header does no longer exist and the corresponding >

Re: [PATCH v2 1/2] ARM: shmobile: sh73a0: Use generic irqchip_init()

2013-01-20 Thread Simon Horman
On Fri, Jan 18, 2013 at 08:16:12AM +0100, Thierry Reding wrote: > The asm/hardware/gic.h header does no longer exist and the corresponding > functionality was moved to linux/irqchip.h and linux/irqchip/arm-gic.h > respectively. gic_handle_irq() and of_irq_init() are no longer available > either and

Re: [PATCH] ARM: shmobile: sh73a0: Use generic irqchip_init()

2013-01-17 Thread Simon Horman
On Thu, Jan 17, 2013 at 01:00:13PM +0100, Thierry Reding wrote: > The asm/hardware/gic.h header does no longer exist and the corresponding > functionality was moved to linux/irqchip.h and linux/irqchip/arm-gic.h > respectively. gic_handle_irq() and of_irq_init() are no longer available > either and

<    5   6   7   8   9   10   11   12   >