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

[Xen-devel] Re: xen_hvm_callback_vector

To: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: xen_hvm_callback_vector
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Sat, 28 Aug 2010 14:40:19 -0700
Cc: "Xen-devel@xxxxxxxxxxxxxxxxxxx" <Xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Sat, 28 Aug 2010 14:41:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1283019557.3469.47.camel@xxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4C7842C3.2000300@xxxxxxxx> <1283019557.3469.47.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Lightning/1.0b2pre Thunderbird/3.1.2
 On 08/28/2010 11:19 AM, Ian Campbell wrote:
> xen_evtchn_do_upcall is used for the callback vector interrupt injection
> (and regular PV obviously).
>
> xen_hvm_evtchn_do_upcall is used by the old-style PCI IRQ injection
> route in platform-pci.c if the callback vector is not available.
>
> So entry_64.S should be using xen_evtchn_do_upcall.
>
> Also, I think smp_xen_hvm_callback_vector is simply a redundant
> duplicate of xen_evtchn_do_upcall which could be removed.

smp_xen_hvm_callback_vector is just missing, so I think it should be
using BUILD_INTERRUPT3 with the third arg being xen_evtchn_do_upcall.

    J

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

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