Boris Ostrovsky 9293724192 xen/gntdev: Do not use mm notifiers with autotranslating guests
Commit d3eeb1d77c5d ("xen/gntdev: use mmu_interval_notifier_insert")
missed a test for use_ptemod when calling mmu_interval_read_begin(). Fix
that.

Fixes: d3eeb1d77c5d ("xen/gntdev: use mmu_interval_notifier_insert")
CC: stable@vger.kernel.org # 5.5
Reported-by: Ilpo Järvinen <ilpo.jarvinen@cs.helsinki.fi>
Tested-by: Ilpo Järvinen <ilpo.jarvinen@cs.helsinki.fi>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Acked-by: Juergen Gross <jgross@suse.com>
2020-01-28 12:22:48 -06:00
..
2019-12-15 12:24:44 -08:00
2019-11-24 11:55:31 +01:00
2019-07-17 08:09:58 +02:00
2019-09-12 15:02:55 -04:00
2019-07-31 08:14:12 +02:00
2019-05-31 10:53:34 -07:00
2019-07-31 08:14:12 +02:00