ia64/linux-2.6.18-xen.hg

changeset 767:79bf5894b3f9

[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@intel.com>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Mon Jan 05 14:13:49 2009 +0900 (2009-01-05)
parents ad300e728982
children 28acedb66302
files arch/ia64/xen/xcom_hcall.c
line diff
     1.1 --- a/arch/ia64/xen/xcom_hcall.c	Mon Jan 05 12:11:43 2009 +0900
     1.2 +++ b/arch/ia64/xen/xcom_hcall.c	Mon Jan 05 14:13:49 2009 +0900
     1.3 @@ -169,6 +169,9 @@ xencommize_physdev_op(struct xencomm_min
     1.4  	case PHYSDEVOP_unmap_pirq:
     1.5  		argsize = sizeof(physdev_unmap_pirq_t);
     1.6  		break;
     1.7 +	case PHYSDEVOP_pirq_eoi_gmfn:
     1.8 +		argsize = sizeof(physdev_pirq_eoi_gmfn_t);
     1.9 +		break;
    1.10  
    1.11  	default:
    1.12  		printk("%s: unknown physdev op %d\n", __func__, cmd);