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] Change spec of callback IRQ forPV-on-HVMonIA64

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, <Doi.Tsunehisa@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Change spec of callback IRQ forPV-on-HVMonIA64
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Tue, 21 Nov 2006 11:33:10 +0000
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Alex Williamson <alex.williamson@xxxxxx>
Delivery-date: Tue, 21 Nov 2006 03:33:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D470B4E54465E3469E2ABBC5AFAC390F051404@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AccNS1S+7eYzWO3EQn2/mJV+QCeArQAAHn0QAAPG0QAAAXoXjw==
Thread-topic: [Xen-devel] [PATCH] Change spec of callback IRQ forPV-on-HVMonIA64
User-agent: Microsoft-Entourage/11.2.5.060620
On 21/11/06 10:56, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:

>> OK, I now understand. Other OS tells xen GSI number as callback_irq,
>> and then xen look up virtual interrupt controller to find appropriate
>> vector by GSI number. This is the way to go. :-)
>> 
>> Thanks a lot,
>> Kevin
>> 
> 
> Keir mentioned in another thread that he will change qemu to support
> more GSIs (>16) soon, and this will become an issue with your patch
> since you're only looking at isa_irq_to_vector. Is there any common
> approach exported by linux kernel to find vector->GSI mapping in
> driver? If not, maybe an alternative is to provide a callback_irq_type
> which indicates whether the value is a GSI or vector?

We plan to add a callback_vector type to the Xen interface for x86 HVM, as
we will deliver event-channel notifications via an MSI-style poke directly
into the IRR of the appropriate local APIC. We'll continue to support
callback_irq type for compatibility.

 -- Keir


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