Re: [RFC PATCH] iommu/amd: fix a race in fetch_pte()
From: Joerg Roedel
Date: Sun May 03 2020 - 14:39:45 EST
Hi Qian,
On Sun, May 03, 2020 at 09:04:03AM -0400, Qian Cai wrote:
> > On Apr 29, 2020, at 7:20 AM, Joerg Roedel <joro@xxxxxxxxxx> wrote:
> > Can you please test this branch:
> >
> > https://git.kernel.org/pub/scm/linux/kernel/git/joro/linux.git/log/?h=amd-iommu-fixes
> >
> > It has the previous fix in it and a couple more to make sure the
> > device-table is updated and flushed before increase_address_space()
> > updates domain->pt_root.
>
> I believe this closed the existing races as it had survived for many
> days. Great work!
Thanks a lot for testing these changes! Can I add your Tested-by when I
send them to the mailing list tomorrow?
Regards,
Joerg