On 02/25/2014 10:09 PM, Gregory Dymarek wrote:
> So the frame freeze I got on my version is on line 145 in here:
> https://github.com/raspberrypi/linux/blob/rpi-3.8.y/kernel/irq/handle.c
> 
> The dwc_otg_hcd_handle_intr is here:
> https://github.com/raspberrypi/linux/blob/rpi-3.8.y/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c
> 
> 
> Is the line 523 the problem?
>     local_fiq_enable();

Please try the following patch:

diff --git a/arch/arm/include/asm/ipipe_hwirq.h 
b/arch/arm/include/asm/ipipe_hwirq.h
index 6b864aa..bd8cda1 100644
--- a/arch/arm/include/asm/ipipe_hwirq.h
+++ b/arch/arm/include/asm/ipipe_hwirq.h
@@ -200,9 +200,9 @@ static inline void hard_local_irq_restore(unsigned long x)
                ipipe_unstall_root();                   \
        } while (0)
 
-#define local_fiq_enable() ipipe_unstall_root()
+#define local_fiq_enable() hard_local_fiq_enable_notrace()
 
-#define local_fiq_disable() ipipe_stall_root()
+#define local_fiq_disable() hard_local_fiq_disable_notrace()
 
 #define arch_local_irq_restore(flags)                  \
        do {                                            \


-- 
                                                                Gilles.

_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to