xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Possible bug on ARM with irq passthrough
@ 2017-07-04 20:20 Ivan Pavić2
  2017-07-05 11:27 ` Julien Grall
  0 siblings, 1 reply; 10+ messages in thread
From: Ivan Pavić2 @ 2017-07-04 20:20 UTC (permalink / raw)
  To: xen-devel@lists.xen.org

Hello,

I'm testing IRQ latency on exynos5422. I'm using Xen 4.10-unstable. I used device passthrough for SPI irq 64. For guest domain I used  FreeRTOS. When I use credit scheduler after destruction of domain, IRQ is released. I changed scheduler to credit2 and rtds at boot time and IRQ wasn't released after destruction. xl create dom-free-rtos.cfg fails with:

libxl: error: libxl_create.c:1278:domcreate_launch_dm: Domain 5:failed give domain access to irq 64: Device or resource busy

This is very strange because it doesn't happen with credit scheduler. This is output of xl dmesg:

(XEN) IRQ 64 is already used by domain 1

Everything works first time but when I destroy domain and try to create again it fails. It works normally with credit scheduler. In dom-free-rtos.cfg:
...
irqs = [64]
....

Regards,
Ivan Pavic

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-07-27 11:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-04 20:20 Possible bug on ARM with irq passthrough Ivan Pavić2
2017-07-05 11:27 ` Julien Grall
2017-07-05 12:36   ` Ivan Pavic
2017-07-05 12:55     ` Julien Grall
2017-07-05 13:42       ` Dario Faggioli
2017-07-05 13:50       ` Ivan Pavic
2017-07-07 16:19         ` Julien Grall
2017-07-08  7:25           ` Dario Faggioli
2017-07-27 11:27             ` Dario Faggioli
2017-07-05 13:39   ` Dario Faggioli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).