On Tue, Nov 18, 2014 at 01:56:57PM -0500, Lennart Sorensen wrote:
> On Tue, Nov 18, 2014 at 07:51:31PM +0100, Gilles Chanteperdrix wrote:
> > I would take the simple approach: disable the smartidle in the probe
> > function for all GPIO banks if IS_ENABLED(CONFIG_IPIPE)
> >
> > Otherwise, the enable_irqdesc/disable_irqdesc functions already
> > keep track of which bank has real-time irq handlers registered, and
> > it is already conditionally compiled only if CONFIG_IPIPE is
> > enabled. So, you can add your code there.
>
> I will consider that after doing my other test. For me adding one flag
> to the dtb for our board seems less invasive, but for ipipe overall it
> would be better to make ipipe turn of smartidle on the IRQ supporting
> gpio banks.
RT IRQs only, we do not care about NRT IRQS, they can depend on the
dts parameter. Anyway, if you tell me where the code you are talking
about can be found, I can propose a patch that you test, and merge
it if it works for you.
--
Gilles.
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai