Han, Weidong
2009-May-15 05:30 UTC
[Xen-devel] [PATCH] Fix interrupt remapping for multiple IOAPICs
Current IOAPIC interrupt remapping code assumes there is only one IOAPIC in system. It brings problem when there are more than one IOAPIC in system. This patch extends ioapic_pin_to_intremap_index[] array to handle multiple IOAPICs case. Signed-off-by: Weidong Han <weidong.han@intel.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jan Beulich
2009-May-15 08:34 UTC
Re: [Xen-devel] [PATCH] Fix interrupt remapping for multiple IOAPICs
>>> "Han, Weidong" <weidong.han@intel.com> 15.05.09 07:30 >>> >Current IOAPIC interrupt remapping code assumes there is only one IOAPIC in system. It brings problem when there are more than >one IOAPIC in system. This patch extends ioapic_pin_to_intremap_index[] array to handle multiple IOAPICs case. > >Signed-off-by: Weidong Han <weidong.han@intel.com>What do you need the ''pin'' field of ''struct ioapicid_pin_intremap_index'' for? Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Han, Weidong
2009-May-15 14:01 UTC
RE: [Xen-devel] [PATCH] Fix interrupt remapping for multiple IOAPICs
Jan Beulich wrote:>>>> "Han, Weidong" <weidong.han@intel.com> 15.05.09 07:30 >>> >> Current IOAPIC interrupt remapping code assumes there is only one >> IOAPIC in system. It brings problem when there are more than one >> IOAPIC in system. This patch extends ioapic_pin_to_intremap_index[] >> array to handle multiple IOAPICs case. >> >> Signed-off-by: Weidong Han <weidong.han@intel.com> > > What do you need the ''pin'' field of ''struct > ioapicid_pin_intremap_index'' for? >Thanks for pointing it out. Yes, it''s not used anywhere, it''s redundant now. But it makes the mapping of ioapic pin and index complete with ''pin''. Maybe we can use just list_head of ''ioapicid_pin_intremap_index'' to replace the array. I will improve the code after Xen 3.4 release, due to it needs many tests on multiple platforms. Regards, Weidong _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel