[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] Patches to free MSI vector when pirq unmapped
Currently the vector is not freed for MSI interrupt, the three patches fix the issue. The first patch(pirq.patch) move the get_free_pirq/map(unmap)_domain_pirq from arch/x86/physdev.c to arch/x86/irq.c, since that should be part of irq managment, no logic changes. The second patch(msi_vector_clean.patch) free the vector when the pirq is unmapped or when domain destroy. One thing need notice for this patch is, current code will not assign FIRST_DYNAMIC_VECTOR in the first round of assign_irq_vector since the current_vector is added immediately, I didn't try to fix it, since now it can be allocated in the second round. The third patch (msi_vector_linux.patch) apply to linux hg tree, it fix one issue on msi-xen.c. Signed-off-by: Jiang, Yunhong <yunhong.jiang@xxxxxxxxx> Thanks Yunhong Jiang Attachment:
pirq.patch Attachment:
msi_vector_clean.patch Attachment:
msi_vector_linux.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |