Hi all,
Could any briefly point out how to use MSI in Genode for device driver (e.g., e1000 card)? The existing IRQ API seems to only handle normal interrupt case. Is there any sample code I can refer to?
I'm using Fiasco.OC based kernel so MSI itself is supported by the kernel.
Thank you very much!
Best regards,
Jilong
Hello Jilong,
On 01/09/2013 01:30 AM, Jilong Kuang wrote:
Could any briefly point out how to use MSI in Genode for device driver (e.g., e1000 card)? The existing IRQ API seems to only handle normal interrupt case. Is there any sample code I can refer to?
Unfortunately there is no MSI support in Genode's IRQ session as of now, therefore no sample code also. Currently we have shared IRQ support for Fiasco.OC, Nova, and OKl4. Would that solve your issue or do you have other needs that strictly require MSI support?
Additionally support for MSIs is on our road map and may evolve through the course of this year. But that heavily depends on our working schedule, which happened to change quite often in the past. So I cannot tell when, but MSI support will be implemented eventually.
Regards,
Sebastian
Hi Sebastian,
Thank you for your clarification.
Yes, we need to have MSI/MSI-X support for our network card driver. Probably we will first try extending the current Genode API to leverage MSI support from Fiasco.OC
Best regards, Jilong
-----Original Message----- From: Sebastian Sumpf [mailto:Sebastian.Sumpf@...1...] Sent: Wednesday, January 09, 2013 3:17 AM To: Genode OS Framework Mailing List Subject: Re: MSI support in Genode
Hello Jilong,
On 01/09/2013 01:30 AM, Jilong Kuang wrote:
Could any briefly point out how to use MSI in Genode for device driver (e.g., e1000 card)? The existing IRQ API seems to only handle normal interrupt case. Is there any sample code I can refer to?
Unfortunately there is no MSI support in Genode's IRQ session as of now, therefore no sample code also. Currently we have shared IRQ support for Fiasco.OC, Nova, and OKl4. Would that solve your issue or do you have other needs that strictly require MSI support?
Additionally support for MSIs is on our road map and may evolve through the course of this year. But that heavily depends on our working schedule, which happened to change quite often in the past. So I cannot tell when, but MSI support will be implemented eventually.
Regards,
Sebastian
-- Sebastian Sumpf Genode Labs
http://www.genode-labs.com · http://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hello Sebastian,
I'm trying to understand the current IRQ framework in Genode with regard to Fiasco.OC kernel. Could you briefly explain the role of Genode::Interrupt_handler and Genode::Irq_proxy_component threads?
Thank you very much!
Best regards, Jilong
-----Original Message----- From: Sebastian Sumpf [mailto:Sebastian.Sumpf@...1...] Sent: Wednesday, January 09, 2013 3:17 AM To: Genode OS Framework Mailing List Subject: Re: MSI support in Genode
Hello Jilong,
On 01/09/2013 01:30 AM, Jilong Kuang wrote:
Could any briefly point out how to use MSI in Genode for device driver (e.g., e1000 card)? The existing IRQ API seems to only handle normal interrupt case. Is there any sample code I can refer to?
Unfortunately there is no MSI support in Genode's IRQ session as of now, therefore no sample code also. Currently we have shared IRQ support for Fiasco.OC, Nova, and OKl4. Would that solve your issue or do you have other needs that strictly require MSI support?
Additionally support for MSIs is on our road map and may evolve through the course of this year. But that heavily depends on our working schedule, which happened to change quite often in the past. So I cannot tell when, but MSI support will be implemented eventually.
Regards,
Sebastian
-- Sebastian Sumpf Genode Labs
http://www.genode-labs.com · http://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Just in case someone else is asking himself/herself the same question I did: "What is MSI anyway?" the answer is in 3. of: http://www.mjmwired.net/kernel/Documentation/MSI-HOWTO.txt