Skip to content

ARM: orion5k/mv78xx0/dove multiplatform support

Arnd Bergmann linux-arm-kernel 1 version New

Get series with b4
b4 am 3759703.9ZVN3LdzHt@wuerfel

Versions newest first

  1. v1 Latest0 of 5 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] ARM: orion5k/mv78xx0/dove multiplatform support
Quoted 4 lines · On Monday 02 March 2015 21:36:53 Arnd Bergmann wrote:

This is build tested so far and survives a randconfig builder for a few hundred builds without regressions, but I have not done any runtime testing. Any help in testing or reviewing would be much appreciated.

It would help to send out the version that I have actually tested. If you want to give it a try, please apply the patch below to actually get mach-dove to build.

Arnd

arch/arm/mach-dove/irq.c +1 -0
index c9d68dbbdc08..c0d5f52713b7 100644
@@ -13,6 +13,7 @@
 #include <linux/irq.h>
 #include <linux/gpio.h>
 #include <linux/io.h>
+#include <asm/exception.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/irq.h>
 
arch/arm/mach-dove/irq.c +1 -1
index c0d5f52713b7..eed251513ca5 100644
@@ -161,7 +161,7 @@ void __init dove_init_irq(void)
 	writel(0, PMU_INTERRUPT_MASK);
 	writel(0, PMU_INTERRUPT_CAUSE);
 
-	for (i = IRQ_DOVE_PMU_START; i < NR_IRQS; i++) {
+	for (i = IRQ_DOVE_PMU_START; i < DOVE_NR_IRQS; i++) {
 		irq_set_chip_and_handler(i, &pmu_irq_chip, handle_level_irq);
 		irq_set_status_flags(i, IRQ_LEVEL);
 		set_irq_flags(i, IRQF_VALID);
arch/arm/mach-dove/pm.h +1 -1
index 584954d26241..3e2712a89c61 100644
@@ -61,7 +61,7 @@ static inline int pmu_to_irq(int pin)
 
 static inline int irq_to_pmu(int irq)
 {
-	if (IRQ_DOVE_PMU_START <= irq && irq < NR_IRQS)
+	if (IRQ_DOVE_PMU_START <= irq && irq < DOVE_NR_IRQS)
 		return irq - IRQ_DOVE_PMU_START;
 
 	return -EINVAL;