[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175310434713.3742315.9773080738020754231.b4-ty@kernel.org>
Date: Mon, 21 Jul 2025 15:35:50 +0100
From: Will Deacon <will@...nel.org>
To: Joerg Roedel <joro@...tes.org>,
Robin Murphy <robin.murphy@....com>,
Kevin Tian <kevin.tian@...el.com>,
Jason Gunthorpe <jgg@...pe.ca>,
Lu Baolu <baolu.lu@...ux.intel.com>
Cc: catalin.marinas@....com,
kernel-team@...roid.com,
Will Deacon <will@...nel.org>,
iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] iommu/vt-d: Make iotlb_sync_map a static property of dmar_domain
On Mon, 21 Jul 2025 13:16:57 +0800, Lu Baolu wrote:
> Commit 12724ce3fe1a ("iommu/vt-d: Optimize iotlb_sync_map for
> non-caching/non-RWBF modes") dynamically set iotlb_sync_map. This causes
> synchronization issues due to lack of locking on map and attach paths,
> racing iommufd userspace operations.
>
> Invalidation changes must precede device attachment to ensure all flushes
> complete before hardware walks page tables, preventing coherence issues.
>
> [...]
Applied to iommu (intel/vt-d), thanks!
[1/1] iommu/vt-d: Make iotlb_sync_map a static property of dmar_domain
https://git.kernel.org/iommu/c/cee686775f9c
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists