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.

-- 
Len Sorensen

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

Reply via email to