]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commitdiff
[IA64] xencomm: add PHYSDEVOP_pirq_eoi_gmfn support.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Mon, 5 Jan 2009 05:13:49 +0000 (14:13 +0900)
committerIsaku Yamahata <yamahata@valinux.co.jp>
Mon, 5 Jan 2009 05:13:49 +0000 (14:13 +0900)
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@intel.com>

arch/ia64/xen/xcom_hcall.c

index 24c3d3cacbcaeaafc2e36e3a522eec571a6f2cca..b6d98d77dcfabb97eff0a3aa2b92d2c56986581d 100644 (file)
@@ -169,6 +169,9 @@ xencommize_physdev_op(struct xencomm_mini **xc_area, int cmd, void *op,
        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:
                printk("%s: unknown physdev op %d\n", __func__, cmd);