Hi Christoph, On 02/12/14 10:06, Christoph Egger wrote: > diff --git a/xen/arch/x86/mm.c b/xen/arch/x86/mm.c > index 522c43d..37c13b1 100644 > --- a/xen/arch/x86/mm.c > +++ b/xen/arch/x86/mm.c > @@ -4565,7 +4565,7 @@ int xenmem_add_to_physmap_one( > mfn = virt_to_mfn(d->shared_info); > break; > case XENMAPSPACE_grant_table: > - spin_lock(&d->grant_table->lock); > + write_lock(&d->grant_table->lock); > > if ( d->grant_table->gt_version == 0 ) > d->grant_table->gt_version = 1; > @@ -4587,7 +4587,7 @@ int xenmem_add_to_physmap_one( > mfn = virt_to_mfn(d->grant_table->shared_raw[idx]); > } > > - spin_unlock(&d->grant_table->lock); > + write_unlock(&d->grant_table->lock); > break; > case XENMAPSPACE_gmfn_range: > case XENMAPSPACE_gmfn:
You forgot to modify the ARM bits which is using the spinlock. See arch/arm/mm.c Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel