[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 00 of 38] xen: add more Xen dom0 support



Jiang, Yunhong wrote:
> We are working on the MSI support now. I'd get some guide on how the pirq is 
> defined in pv dom0, can I assume it is something like xen interrupt 
> controller's gsi?


The pirq we pass to Xen is the Linux irq we allocate for the interrupt
source. For compatibility with native, we maintain an irq == gsi
identity, so the Xen pirq will also equal the gsi. However, there's no
problem in allocating irqs above the highest gsi for msi use; you could
either adapt xen_allocate_pirq or add an msi variant. I think the first
is preferred if possible; you'd just use "gsi" to refer to msis too, if
they have easily distinguished identifiers.

Are you thinking of putting a Xen hook in setup_msi_irq?

Thanks,
J

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.