Tian, Kevin
2006-Nov-21 08:08 UTC
RE: [Xen-devel] [PATCH] Change spec of callback IRQ for PV-on-HVM onIA64
>From: Keir Fraser [mailto:keir@xensource.com] >Sent: 2006年11月21日 16:03 > >On 21/11/06 7:53 am, "Tian, Kevin" <kevin.tian@intel.com> 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. > > -- KeirYes. 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@lists.xensource.com http://lists.xensource.com/xen-devel