Jiang, Yunhong
2008-Oct-08 05:16 UTC
[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@intel.com> Thanks Yunhong Jiang _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com lists.xensource.com/xen-devel
Possibly Parallel Threads
- RE: [Xen-changelog] [xen-unstable] x86: Properly synchronise updates to pirq-to-vector mapping.
- [Xen-devel] Crash during boot in Debian lenny default dom0 kernel (2.6.26-2-xen-686) / bugfix patch
- [PATCH 1/5] Add MSI support to XEN
- [PATCH] xen: use the pirq number to check the pirq_eoi_map
- [PATCH 0/5] Add MSI support to XEN