Skip to contentSkip to conversation

AT91: SAMA5D3: Adapt Ipipe for AIC5

PATCH New Maxime Ripard 1 participant 1 message Jul 4, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 AT91: SAMA5D3: Adapt Ipipe for AIC5

In the latest generation of Atmel SoCs, the interrupt controller changed. Adapt the existing code to take this into account.

---
Hi,

This patch is not meant to be merged as is.

At the moment, its behaviour is still to erratic to be useful.

An application compiled against Xenomai will hang at least on a call to exit (while hitting ctrl+c actually make the application stop, leaving the system in a stable state), while a linux application will just make the system freeze.

 arch/arm/mach-at91/at91sam926x_time.c |  2 --
 arch/arm/mach-at91/irq.c              | 51 +++++++++++++++++++++++++++++++----
 2 files changed, 46 insertions(+), 7 deletions(-)
arch/arm/mach-at91/at91sam926x_time.c +0 -2
index 1f7ad837c05d..2a78267da445 100644
@@ -274,8 +274,6 @@ void __init at91sam926x_pit_init(void)
 	pit_clkevt.mult = div_sc(pit_rate, NSEC_PER_SEC, pit_clkevt.shift);
 	pit_clkevt.cpumask = cpumask_of(0);
 	clockevents_register_device(&pit_clkevt);
-
-	at91_pic_muter_register();
 }
 
 void __init at91sam926x_ioremap_pit(u32 addr)
arch/arm/mach-at91/irq.c +46 -5

97 lines not on this page · raw message

Signature · 1 line
2.0.1