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

RE: [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


 


Rackspace

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