Hi, everyone I want to move some interrupts to specified cpu core, but I encountered some difficulties. When I try to write to "/proc/irq/*/smp_affinity" with cpu bitmask, it will call the interface l4lx_irq_dev_set_affinity(), which locates in "pots-foc/src/lib/l4lx/l4lx_irq.cc". And I can see the printed log "switched irq * to cpu* ". However, in fact, it doesnot work, the irq is still staying on previous cpu core ( seeing "/proc/interrupts") . Please tell me how can I do, thank you so much!
Hi Li,
Just a few notes: we did not port L4Linux ability to directly use hardware resources like interrupts and I/O memory. Instead we use L4Linux in its para-virtualized form only. So within L4Android you can use virtual interrupts delivered by other software components only. The affinity setting seems to work as expected from what you have described. Linux' proc filesystem's view is probably not synchronized with the interrupt settings of the L4 kernel correctly. Maybe it always shows CPU zero regardless of the actual IRQ state. Have you ever tried to run L4Linux/L4Android in its original version on top of Fiasco.OC/L4Re? Does that version delivers correct values via the proc filesystem? Lastly, I have to admit that we do not use or test this old port of L4Android (2.3) anymore.
Regards Stefan
On 11/09/2015 01:32 PM, li94575 wrote:
Hi, everyone I want to move some interrupts to specified cpu core, but I encountered some difficulties. When I try to write to "/proc/irq/*/smp_affinity" with cpu bitmask, it will call the interface l4lx_irq_dev_set_affinity(), which locates in "pots-foc/src/lib/l4lx/l4lx_irq.cc". And I can see the printed log "switched irq * to cpu* ". However, in fact, it doesnot work, the irq is still staying on previous cpu core ( seeing "/proc/interrupts") . Please tell me how can I do, thank you so much!
Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
hello Stefan, I haven't tried to run L4Linux/L4Android on L4Re. Perhaps, l4 hacker community can answer this question. I've been there for help. And will you continue to update L4Linux which supports android running on it, or you have given it up?
At 2015-11-16 15:47:38, "Stefan Kalkowski" <stefan.kalkowski@...1...> wrote:
Hi Li,
Just a few notes: we did not port L4Linux ability to directly use hardware resources like interrupts and I/O memory. Instead we use L4Linux in its para-virtualized form only. So within L4Android you can use virtual interrupts delivered by other software components only. The affinity setting seems to work as expected from what you have described. Linux' proc filesystem's view is probably not synchronized with the interrupt settings of the L4 kernel correctly. Maybe it always shows CPU zero regardless of the actual IRQ state. Have you ever tried to run L4Linux/L4Android in its original version on top of Fiasco.OC/L4Re? Does that version delivers correct values via the proc filesystem? Lastly, I have to admit that we do not use or test this old port of L4Android (2.3) anymore.
Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hi Li,
On 11/22/2015 03:29 PM, li94575 wrote:
hello Stefan, I haven't tried to run L4Linux/L4Android on L4Re. Perhaps, l4 hacker community can answer this question. I've been there for help. And will you continue to update L4Linux which supports android running on it, or you have given it up?
to be honest, we (at Genode Labs) have neglected the Fiasco.OC port of Genode quite some time, and did not manage to update to a more recent version. There are a lot of building sites currently, which are more relevant to the Genode core developer team right now than Fiaso.OC. We invested more time in polishing NOVA and our own HW kernel, as well as VirtualBox for doing virtualization. So yes the update process of Fiasco.OC and L4Linux is currently stalled. Nevertheless, we're happy to integrate work when community members take over and provide more recent versions.
Regards Stefan
At 2015-11-16 15:47:38, "Stefan Kalkowski" <stefan.kalkowski@...1...> wrote:
Hi Li,
Just a few notes: we did not port L4Linux ability to directly use hardware resources like interrupts and I/O memory. Instead we use L4Linux in its para-virtualized form only. So within L4Android you can use virtual interrupts delivered by other software components only. The affinity setting seems to work as expected from what you have described. Linux' proc filesystem's view is probably not synchronized with the interrupt settings of the L4 kernel correctly. Maybe it always shows CPU zero regardless of the actual IRQ state. Have you ever tried to run L4Linux/L4Android in its original version on top of Fiasco.OC/L4Re? Does that version delivers correct values via the proc filesystem? Lastly, I have to admit that we do not use or test this old port of L4Android (2.3) anymore.
Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main