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: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: [Xen-devel] Re: xen_hvm_callback_vector
From: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Date: Sat, 28 Aug 2010 19:19:17 +0100
Cc: "Xen-devel@xxxxxxxxxxxxxxxxxxx" <Xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Sat, 28 Aug 2010 11:20:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C7842C3.2000300@xxxxxxxx>
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>
Organization: Citrix Systems, Inc.
References: <4C7842C3.2000300@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 2010-08-27 at 23:57 +0100, Jeremy Fitzhardinge wrote:
> Should entry_64.S's xen_hvm_callback_vector be calling
> xen_evtchn_do_upcall or xen_hvm_evtchn_do_upcall?
> If not the hvm version, when does that get used?

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.

Ian.


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

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