From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Flavio de Castro Alves Filho <flavio.alves@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Porting I-Pipe for new ARM board
Date: Wed, 06 Jan 2010 20:23:53 +0100 [thread overview]
Message-ID: <4B44E349.1000305@domain.hid> (raw)
In-Reply-To: <4303dd241001061116q40315012v3b0459c3b245efa@domain.hid>
Flavio de Castro Alves Filho wrote:
> I believe there is a lockup during the irq handling process.
>
> I could not find where it is blocking.
>
> I performed the following tests:
>
> 1) add traces in every function related to interrupt ... and none was called
Well, obviously, you missed some, because your boot logs indicate
clearly that at least the timer interrupt is working.
If you are interested in what happens at I-pipe level, the functions you
are interested in are ipipe_grab_irq, ipipe_handle_irq,
ipipe_mach_demux_irq, etc...
>
> 2) add traces in every function in time.c file. After the last message
> ("ata1: SATA max UDMA/133 irq 67"), the following functions were called:
> - read_cycles()
> - timer32_read()
>
> Looking at these functions, they seam to be fine. I have no clue about where
> to start debugging.
>
> Thank you for all your help.
Try this:
diff --git a/arch/arm/mach-davinci/irq.c b/arch/arm/mach-davinci/irq.c
index 5a324c9..22ddbe2 100644
--- a/arch/arm/mach-davinci/irq.c
+++ b/arch/arm/mach-davinci/irq.c
@@ -360,9 +360,11 @@ void __init davinci_irq_init(void)
for (i = 0; i < DAVINCI_N_AINTC_IRQ; i++) {
set_irq_chip(i, &davinci_irq_chip_0);
set_irq_flags(i, IRQF_VALID | IRQF_PROBE);
+#ifndef CONFIG_IPIPE
if (i != IRQ_TINT1_TINT34)
set_irq_handler(i, handle_edge_irq);
else
+#endif /* CONFIG_IPIPE */
set_irq_handler(i, handle_level_irq);
}
}
--
Gilles.
next prev parent reply other threads:[~2010-01-06 19:23 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-03 15:00 [Xenomai-help] Porting I-Pipe for new ARM board Wael Showair
2009-11-03 15:13 ` Gilles Chanteperdrix
2009-11-03 15:45 ` Didenko Sergey
2009-11-03 15:48 ` Gilles Chanteperdrix
2009-11-04 6:58 ` Wael Showair
2009-11-04 10:54 ` Gilles Chanteperdrix
2009-11-06 9:08 ` Wael Showair
2009-11-06 9:39 ` Sergey Didenko
2009-11-06 10:22 ` Gilles Chanteperdrix
2009-12-15 19:37 ` Олександр Лаврущенко
2009-12-15 20:34 ` Gilles Chanteperdrix
[not found] ` <20091215213210.19d5b6a5@domain.hid>
2009-12-16 1:15 ` Sergey Didenko
2009-12-31 12:52 ` Flavio de Castro Alves Filho
2009-12-31 15:41 ` Gilles Chanteperdrix
2010-01-04 22:14 ` Flavio Alves
2010-01-04 22:22 ` Gilles Chanteperdrix
2010-01-06 10:56 ` Flavio Alves
2010-01-06 11:01 ` Gilles Chanteperdrix
2010-01-06 11:38 ` Flavio de Castro Alves Filho
2010-01-06 14:01 ` Gilles Chanteperdrix
2010-01-06 19:16 ` Flavio de Castro Alves Filho
2010-01-06 19:23 ` Gilles Chanteperdrix [this message]
2010-01-08 14:11 ` Flavio de Castro Alves Filho
2010-01-08 14:35 ` Gilles Chanteperdrix
2010-01-08 14:58 ` Flavio de Castro Alves Filho
2010-01-08 15:36 ` Gilles Chanteperdrix
2010-01-08 17:43 ` Flavio de Castro Alves Filho
2010-01-08 18:02 ` Flavio de Castro Alves Filho
2010-01-08 18:08 ` Gilles Chanteperdrix
2010-01-08 19:27 ` Flavio de Castro Alves Filho
2010-01-08 19:31 ` Gilles Chanteperdrix
2010-01-08 19:42 ` Flavio de Castro Alves Filho
2010-01-08 19:45 ` Gilles Chanteperdrix
2010-01-08 21:54 ` Flavio de Castro Alves Filho
2010-01-08 22:26 ` Gilles Chanteperdrix
2010-01-13 8:50 ` Flavio de Castro Alves Filho
2010-01-13 10:05 ` Gilles Chanteperdrix
2010-01-08 19:32 ` Gilles Chanteperdrix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B44E349.1000305@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=flavio.alves@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.