[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 2/3][RFC] MSI/MSI-X support for dom0/driver domain
This patch adds msi/msi-x support for domain0. In native Linux 2.6.18, instead of irq, it is vector that are used when MSI is enabled. We change it to use irq still when msi is enabled (This change also happened in 2.6.20 later native Linux). Add functions to allocate irq. These two changes are not needed if we update to 2.6.21 kernel. Remove the ack function in domain0, since xen will do that for us. Issues: 1) Two phys_ops are added, First is physdev_msi_setup, to notify xen that the vector is msi-irq type. The second is PHYSDEVOP_msi_format, to get the msi format from xen side (mainly for target CPU), is it ok to add them? 2) Current pirq is a global resource, how about make pirq be a per-domain resource? Thanks Yunhong Jiang Attachment:
msi_xen_dom0.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |