From: Will Deacon <will@kernel.org>
To: Joerg Roedel <joro@8bytes.org>,
Robin Murphy <robin.murphy@arm.com>,
Kevin Tian <kevin.tian@intel.com>, Jason Gunthorpe <jgg@ziepe.ca>,
Lu Baolu <baolu.lu@linux.intel.com>
Cc: catalin.marinas@arm.com, kernel-team@android.com,
Will Deacon <will@kernel.org>,
iommu@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] iommu/vt-d: Make iotlb_sync_map a static property of dmar_domain
Date: Mon, 21 Jul 2025 15:35:50 +0100 [thread overview]
Message-ID: <175310434713.3742315.9773080738020754231.b4-ty@kernel.org> (raw)
In-Reply-To: <20250721051657.1695788-1-baolu.lu@linux.intel.com>
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
prev parent reply other threads:[~2025-07-21 14:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-21 5:16 Lu Baolu
2025-07-21 14:35 ` Will Deacon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=175310434713.3742315.9773080738020754231.b4-ty@kernel.org \
--to=will@kernel.org \
--cc=baolu.lu@linux.intel.com \
--cc=catalin.marinas@arm.com \
--cc=iommu@lists.linux.dev \
--cc=jgg@ziepe.ca \
--cc=joro@8bytes.org \
--cc=kernel-team@android.com \
--cc=kevin.tian@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=robin.murphy@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®