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-ia64-devel

RE: [Xen-ia64-devel][PATCH]Change to new interrupt deliver mechanism

To: <Doi.Tsunehisa@xxxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel][PATCH]Change to new interrupt deliver mechanism
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Wed, 6 Dec 2006 17:27:33 +0800
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 06 Dec 2006 01:27:40 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AccZF7MC4fzPZc2OQbOkAAusQVXM0QAACzYA
Thread-topic: [Xen-ia64-devel][PATCH]Change to new interrupt deliver mechanism
Doi.Tsunehisa@xxxxxxxxxxxxxx write on 2006年12月6日 17:20:
> 
>   Sorry, I don't know this issue for detail. I think that the guest
> OS sets interrupt mask register of VIOSAPIC until setting own vector.
> I assume that the guest OS might change the vector for such hardware
> in active state.
> 
Hi Doi,

This issue is from you,  guest linux uses vector, while there is no
function like vector_to_irq.

Because the hardware irq for platform_pci will not be changes.
We can call set_callback_irq with hardware irq inside Qemu,
Thus, platform_pci driver don't need to call set_callback_irq.

Yes, guest OS can change the vector for platform_pci hardware irq,
But the hardware irq is not changed, and HV know how to translate hardware irq 
to level
through VIOSAPIC,
And HV still use viosapic_set_irq to pend platform_pci interrupt.

So I think it works.


--Anthony


>   Thank you.
> 
> - Tsunehisa Doi

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

<Prev in Thread] Current Thread [Next in Thread>