[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] pciback sends evtchn notification to pcifront when its request is processed.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 8a2c63591c8158ad5e7b8d822af1fbe8d73e53fb
# Parent  903a9b95fb06a499c495915d7e288824bfbe6e76
pciback sends evtchn notification to pcifront when its request is processed.
This may in future allow pcifront to avoid spin-waiting.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r 903a9b95fb06 -r 8a2c63591c81 
linux-2.6-xen-sparse/drivers/xen/pciback/pciback_ops.c
--- a/linux-2.6-xen-sparse/drivers/xen/pciback/pciback_ops.c    Sat Mar 11 
14:40:33 2006
+++ b/linux-2.6-xen-sparse/drivers/xen/pciback/pciback_ops.c    Sun Mar 12 
08:52:19 2006
@@ -67,6 +67,7 @@
 
        wmb();
        clear_bit(_XEN_PCIF_active, (unsigned long *)&pdev->sh_info->flags);
+       notify_remote_via_irq(pdev->evtchn_irq);
 
       out:
        return IRQ_HANDLED;

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.