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

[Xen-changelog] [linux-2.6.18-xen] [IA64] xencomm: add PHYSDEVOP_pirq_eoi_gmfn support.



# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1231132429 -32400
# Node ID 79bf5894b3f93e5742a43d05572156b23e8fffbe
# Parent  ad300e728982b78ed0169f1ecbd888856aa53abc
[IA64] xencomm: add PHYSDEVOP_pirq_eoi_gmfn support.

This patch fixes some weird issues in upstream.
Dom0 uses one page shared with hypervisor to notify which pirqs need EOI
writes, but the page is set incorrectly for ia64 due to following reasons:
1. the related two hypercalls are not enabled in the correct way, so this page
is not really used by dom0 and hypervisor do nothing when dom0 writes eoi.

Signed-off-by : Xiantao Zhang <xiantao.zhang@xxxxxxxxx>
---
 arch/ia64/xen/xcom_hcall.c |    3 +++
 1 files changed, 3 insertions(+)

diff -r ad300e728982 -r 79bf5894b3f9 arch/ia64/xen/xcom_hcall.c
--- a/arch/ia64/xen/xcom_hcall.c        Mon Jan 05 12:11:43 2009 +0900
+++ b/arch/ia64/xen/xcom_hcall.c        Mon Jan 05 14:13:49 2009 +0900
@@ -168,6 +168,9 @@ xencommize_physdev_op(struct xencomm_min
                break;
        case PHYSDEVOP_unmap_pirq:
                argsize = sizeof(physdev_unmap_pirq_t);
+               break;
+       case PHYSDEVOP_pirq_eoi_gmfn:
+               argsize = sizeof(physdev_pirq_eoi_gmfn_t);
                break;
 
        default:

_______________________________________________
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®.