* RE: [PATCH] Change spec of callback IRQ forPV-on-HVMonIA64
@ 2006-11-21 10:56 Tian, Kevin
2006-11-21 11:12 ` Doi.Tsunehisa
2006-11-21 11:33 ` Keir Fraser
0 siblings, 2 replies; 4+ messages in thread
From: Tian, Kevin @ 2006-11-21 10:56 UTC (permalink / raw)
To: Tian, Kevin, Doi.Tsunehisa, Keir Fraser; +Cc: xen-devel, Alex Williamson
>From: Tian, Kevin
>Sent: 2006年11月21日 17:14
>>From: Doi.Tsunehisa@jp.fujitsu.com
>>Sent: 2006年11月21日 16:59
>>
>> In my experience, the other OS has device driver interface to notice
>>GSI for the device. It tells the vector to the interrupt controller
>>in kenrel code, not device driver. So, we can't know the vector, I think.
>>
>
>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?
Thanks,
Kevin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Change spec of callback IRQ forPV-on-HVMonIA64
2006-11-21 10:56 [PATCH] Change spec of callback IRQ forPV-on-HVMonIA64 Tian, Kevin
@ 2006-11-21 11:12 ` Doi.Tsunehisa
2006-11-21 11:33 ` Keir Fraser
1 sibling, 0 replies; 4+ messages in thread
From: Doi.Tsunehisa @ 2006-11-21 11:12 UTC (permalink / raw)
To: Tian, Kevin; +Cc: xen-devel, Doi.Tsunehisa, Alex Williamson
Hi Kevin,
Thank you.
You (kevin.tian) said:
> 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?
I worry about the chage, too.
He said "This will change today.". So, I'll care the patch.
Thanks,
- Tsunehisa Doi
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Change spec of callback IRQ forPV-on-HVMonIA64
2006-11-21 10:56 [PATCH] Change spec of callback IRQ forPV-on-HVMonIA64 Tian, Kevin
2006-11-21 11:12 ` Doi.Tsunehisa
@ 2006-11-21 11:33 ` Keir Fraser
1 sibling, 0 replies; 4+ messages in thread
From: Keir Fraser @ 2006-11-21 11:33 UTC (permalink / raw)
To: Tian, Kevin, Doi.Tsunehisa; +Cc: xen-devel, Alex Williamson
On 21/11/06 10:56, "Tian, Kevin" <kevin.tian@intel.com> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH] Change spec of callback IRQ forPV-on-HVMonIA64
@ 2006-11-21 11:37 Tian, Kevin
0 siblings, 0 replies; 4+ messages in thread
From: Tian, Kevin @ 2006-11-21 11:37 UTC (permalink / raw)
To: Keir Fraser, Doi.Tsunehisa; +Cc: xen-devel, Alex Williamson
>From: Keir Fraser [mailto:keir@xensource.com]
>Sent: 2006年11月21日 19:33
>>
>> 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
Thanks for info, and this approach seems to be the one promising. :-)
Thanks,
Kevin
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-11-21 11:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-21 10:56 [PATCH] Change spec of callback IRQ forPV-on-HVMonIA64 Tian, Kevin
2006-11-21 11:12 ` Doi.Tsunehisa
2006-11-21 11:33 ` Keir Fraser
-- strict thread matches above, loose matches on Subject: below --
2006-11-21 11:37 Tian, Kevin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.