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-ia64-devel

Re: [Xen-ia64-devel][PATCH]Change to new interrupt deliver mechanism

To: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Subject: Re: [Xen-ia64-devel][PATCH]Change to new interrupt deliver mechanism
From: Doi.Tsunehisa@xxxxxxxxxxxxxx
Date: Wed, 06 Dec 2006 11:55:45 +0900
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 05 Dec 2006 18:56:01 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: Your message of Wed, 06 Dec 2006 10:18:22 +0800. <51CFAB8CB6883745AE7B93B3E084EBE207DD93@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <51CFAB8CB6883745AE7B93B3E084EBE207DD93@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Anthony,

  Thank you for your comment.

You (anthony.xu) said:
>>   Hardware IRQ is equal to GSI, but the IRQ in IPF-linux world is
>> abstruct value not GSI. So we need to get GSI for platform-pci from
>> IPF-linux world's IRQ. But I didn't find it.
>> 
>  * Hypervisor becomes to be able to use both GSI and Vector for callback
>     irq.
>     - For example, if it is normal value, HV accepts it as GSI.
>       If it is value which is set MSB, HV accepts it as Vector.
>   * If hypervisor gets Vector as callback irq, hypervisor finds the GSI
>     for the pseudo device from virtual interrupt controller setting.
> 
> Hi Doi,
> 
> Understand you question now.
> 
> Linux-irq is equal to vector in VIOSAPIC,
> 
> I think linux-irq will not alter after guest linux boot,
> So platform_pci can call set_callback_irq using vector (linux-irq).
> HV will directly pend this vector without looking for VIOSAPIC.

  We had implemented older PV-on-HVM with the method like this.
But, we found the issue that interrupt was injected during interrupt
masking of VIOSAPIC. So we changed to implement it.

  In this time, we have to implement it that interrupt injection follows
VIOSAPIC status. Thus, HV should look for VIOSAPIC, I think.

Thanks,
- Tsunehisa Doi
 

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

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