|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 3/3][RFC] MSI/MSI-X support for dom0/driver domain
This patch adds msi/msi-x support for domain.
The pci front end will use pci_ops to communicate with pci backend to
enable/disable msi/msi-x. Also access permission for MSI-x mmio range is
removed for the domain, and irq permission is added.
Issues:
1) Current irq-permission is setup through domctl interface, which can
only be called from tools, while when we allocate irq for driver domain,
we need change the irq permission in kernel side, so I add a new
physdev_op to do this, is that ok?
2) Curretly the pci_enable_msi/msi-x and pci_disable_msi/msi-x
implementation are different for pci frontend. This cause problem if
both pci backend/frontend are enabled. A better method is to check if a
device is pci frontend device or a normal device and do different code,
but I didn't find an easy method to check if a device is a pci
frontend/backend device.
Thanks
Yunhong Jiang
msi_domU.patch
Description: msi_domU.patch
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH 3/3][RFC] MSI/MSI-X support for dom0/driver domain,
Jiang, Yunhong <=
|
|
|
|
|