Re: [PATCH] xen/gntdev: Do not use mm notifiers with autotranslating guests
From: Jason Gunthorpe
Date: Tue Jan 28 2020 - 11:30:15 EST
On Tue, Jan 28, 2020 at 11:24:19AM -0500, Boris Ostrovsky wrote:
> 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@xxxxxxxxxxxxxxx # 5.5
> Reported-by: Ilpo JÃrvinen <ilpo.jarvinen@xxxxxxxxxxxxxx>
> Tested-by: Ilpo JÃrvinen <ilpo.jarvinen@xxxxxxxxxxxxxx>
> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
> ---
> drivers/xen/gntdev.c | 24 ++++++++++++------------
> 1 file changed, 12 insertions(+), 12 deletions(-)
Yes, this looks like it for the ptemod miss, thanks
Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
Jason