From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 27 Jan 2015 16:03:07 +0100 From: Gilles Chanteperdrix Message-ID: <20150127150307.GC16502@hermes.click-hack.org> References: <20150126190241.GA10160@bugfree> <20150126190911.GN12812@hermes.click-hack.org> <20150126195219.GA10959@bugfree> <20150126195409.GA1491@hermes.click-hack.org> <20150127130925.GA22089@dmia-degroote.isae.fr> <20150127132647.GA16502@hermes.click-hack.org> <20150127135506.GB22089@dmia-degroote.isae.fr> <20150127140003.GB16502@hermes.click-hack.org> <20150127145812.GC22089@dmia-degroote.isae.fr> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20150127145812.GC22089@dmia-degroote.isae.fr> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] Porting Xenomai on Odroid-U3 List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Arnaud Degroote Cc: xenomai@xenomai.org 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: