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 for PV-on-HVM onIA64

To: "Keir Fraser" <keir@xxxxxxxxxxxxx>, <Doi.Tsunehisa@xxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] Change spec of callback IRQ for PV-on-HVM onIA64
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Tue, 21 Nov 2006 16:08:54 +0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Alex Williamson <alex.williamson@xxxxxx>
Delivery-date: Tue, 21 Nov 2006 00:09:21 -0800
Envelope-to: www-data@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/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: AccNQF9NOq6/v3JDTw+Jq8CudTIZUwAABPDQAADDKm4AAA8BAA==
Thread-topic: [Xen-devel] [PATCH] Change spec of callback IRQ for PV-on-HVM onIA64
>From: Keir Fraser [mailto:keir@xxxxxxxxxxxxx]
>Sent: 2006年11月21日 16:03
>
>On 21/11/06 7:53 am, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:
>
>>>  In x86-linux, two instances are same. But in IA64-linux, previous
>one
>>> is a external interrupt vector for xen-platform interruption. Although
>>> latter one is a hardware IRQ id. Both values are not same in
>IA64-linux.
>>
>> The callback value is the one pending to vIRR, which should be same
>> as the one that platform-pci driver binds to. I'm still not sure the exact
>> difference here. It should be arch-independent. You have to draw
>> agreement between two sides.
>
>On x86 the callback value is a Global System Interrupt.
>
> -- Keir

Yes. My point is, whatever pdev->irq is, either a GSI (on x86), or a 
mangled vector (on IA64), there's no sense to do like:
        Request_irq(0x21, ...), and
        Set_callback_irq(0x9), and
        Convert 0x9->0x21 in hypervisor when injecting

That's what I learned by far, and maybe I still miss something else 
important. :-)

Thanks,
Kevin

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