[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] [PATCH] Fix interrupt remapping for multiple IOAPICs



Jan Beulich wrote:
>>>> "Han, Weidong" <weidong.han@xxxxxxxxx> 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@xxxxxxxxx>
> 
> 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.