[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Linux 5.5 fails to boot in VM
On Mon, 27 Jan 2020, Boris Ostrovsky wrote: > RAX=0 most likely means that map->notifier is NULL (assuming your > compiler generates code similar to mine). > > I believe you at least need > > > diff --git a/drivers/xen/gntdev.c b/drivers/xen/gntdev.c > index 4fc83e3f..d35cf0b 100644 > --- a/drivers/xen/gntdev.c > +++ b/drivers/xen/gntdev.c > @@ -1016,7 +1016,8 @@ static int gntdev_mmap(struct file *flip, struct > vm_area_struct *vma) > * and we are holding it now, there is no need for the > notifier_range > * locking pattern. > */ > - mmu_interval_read_begin(&map->notifier); > + if (use_ptemod) > + mmu_interval_read_begin(&map->notifier); > > if (use_ptemod) { > map->pages_vm_start = vma->vm_start; > > > and maybe more. Give that a try. This one works, thank you! Please let me know if you still want me to test also the revert. -- i. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |