From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Arnaud Degroote <arnaud.degroote@isae-supaero.fr>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Porting Xenomai on Odroid-U3
Date: Tue, 27 Jan 2015 16:03:07 +0100 [thread overview]
Message-ID: <20150127150307.GC16502@hermes.click-hack.org> (raw)
In-Reply-To: <20150127145812.GC22089@dmia-degroote.isae.fr>
On Tue, Jan 27, 2015 at 03:58:12PM +0100, Arnaud Degroote wrote:
> On 27/Jan - 15:00, Gilles Chanteperdrix wrote:
> > On Tue, Jan 27, 2015 at 02:55:06PM +0100, Arnaud Degroote wrote:
> > > On 27/Jan - 14:26, Gilles Chanteperdrix wrote:
> > > > On Tue, Jan 27, 2015 at 02:09:25PM +0100, Arnaud Degroote wrote:
> > > > > I suppose the offender is related to exynos_eint_gpio_irq available here
> > > > >
> > > > > https://github.com/adegroote/linux/blob/linux-stable-xenomai-odroid-3.17.y/drivers/pinctrl/samsung/pinctrl-exynos.c#L278
> > > > >
> > > > > but from documentation and other code sample, I don't see the cause of the trouble.
> > > > > Any idea / guidance is welcome. Thanks in advance,
> > > >
> > > > If all the generic_handle_irq were properly replaced with
> > > > ipipe_handle_demuxed_irq, you should not arrive at
> > > > exynos_eint_gpio_irq via generic_handle_irq. There is a hole somewhere.
> > >
> > > I double checked, the only generic_handle_irq caller in vmlinux is
> > > handle_IRQ. And the two only callers of handle_IRQ are asm_handle_IRQ
> > > and __ipipe_do_IRQ, so it looks like I'm good on this point.
> >
> > Unless I misunderstand the trace you have sent, as I said, I suspect
> > you are not.
>
> I checked it again, and there is really no more call to
> generic_handle_irq.
>
> Maybe an interesting point, exynos_eint_gpio_irq appears only in a call
> to devm_request_irq. Does that ring a bell with you? Does it need a
> special behaviour in the Ipipe case ?
Yes, this can not work. It is really strange to use devm_request_irq
for that. Normally chained irq handlers are registered as such, not
as regular handlers.
--
Gilles.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20150127/a9112889/attachment.sig>
next prev parent reply other threads:[~2015-01-27 15:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-26 19:02 [Xenomai] Porting Xenomai on Odroid-U3 Arnaud Degroote
2015-01-26 19:09 ` Gilles Chanteperdrix
2015-01-26 19:52 ` Arnaud Degroote
2015-01-26 19:54 ` Gilles Chanteperdrix
2015-01-26 20:13 ` Arnaud Degroote
2015-01-27 13:09 ` Arnaud Degroote
2015-01-27 13:26 ` Gilles Chanteperdrix
2015-01-27 13:55 ` Arnaud Degroote
2015-01-27 14:00 ` Gilles Chanteperdrix
[not found] ` <20150127145812.GC22089@dmia-degroote.isae.fr>
2015-01-27 15:03 ` Gilles Chanteperdrix [this message]
2015-01-27 16:49 ` Arnaud Degroote
2015-01-27 17:18 ` Gilles Chanteperdrix
[not found] ` <20150127172741.GE22089@dmia-degroote.isae.fr>
2015-01-27 17:47 ` 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=20150127150307.GC16502@hermes.click-hack.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=arnaud.degroote@isae-supaero.fr \
--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.