WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: 'Jan Beulich' <JBeulich@xxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] Fix interrupt remapping for multiple IOAPICs
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Fri, 15 May 2009 22:01:45 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>, 'Keir Fraser' <Keir.Fraser@xxxxxxxxxxxxx>
Delivery-date: Fri, 15 May 2009 07:02:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A0D452902000078000010CE@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <715D42877B251141A38726ABF5CABF2C054568F53F@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4A0D452902000078000010CE@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcnVN/FbLRDJe/B1SeOB5jVpvY4XVAAKiwSQ
Thread-topic: [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

<Prev in Thread] Current Thread [Next in Thread>