[RFC PATCH] iommu/amd: fix a race in fetch_pte()

Qian Cai cai at lca.pw
Sun May 3 13:04:03 UTC 2020

> On Apr 29, 2020, at 7:20 AM, Joerg Roedel <joro at 8bytes.org> wrote:
> On Mon, Apr 20, 2020 at 09:26:12AM -0400, Qian Cai wrote:
>> No dice. There could be some other races. For example,
> 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!

More information about the iommu mailing list