From: Jason Gunthorpe <jgg@ziepe.ca>
To: Vasant Hegde <vasant.hegde@amd.com>
Cc: iommu@lists.linux.dev, joro@8bytes.org, will@kernel.org,
robin.murphy@arm.com, suravee.suthikulpanit@amd.com,
Mario Limonciello <superm1@kernel.org>,
Alex Deucher <alexander.deucher@amd.com>,
Akshata V Unkal <Akshata.VUnkal@amd.com>,
Nathan Blomquist <nblomquist@gmail.com>
Subject: Re: [PATCH] iommu/amd: Mark v2 page tables incoherent on Cezanne
Date: Mon, 23 Nov 2026 11:02:05 -0400 [thread overview]
Message-ID: <20261123150205.GC179082@ziepe.ca> (raw)
In-Reply-To: <ce52a6f1-bb8d-4a40-a500-1af32746cba6@amd.com>
On Mon, Nov 23, 2026 at 04:54:39PM +0530, Vasant Hegde wrote:
>
>
> On 11/21/2026 12:56 AM, Jason Gunthorpe wrote:
> > On Fri, Nov 20, 2026 at 03:23:08PM +0000, Vasant Hegde wrote:
> >> DMA fails on Cezanne (family 19h, model 50h) when a device is placed in
> >> an IOMMU v2 paging domain due to missing coherency setting in IOMMU HW.
> >> The IOMMU walks v2 page tables without observing CPU writes still held
> >> in the cache. v1 PTEs have a Force Coherent bit, which the driver sets
> >> on every entry, but the v2 format has no equivalent bit, so v2 walks
> >> are not kept coherent.
> >
> > That seems like an enormous obvious hardware bug? I'm shocked it was
> > released like that..
>
> I believe this is missing BIOS programming.
So a BIOS upgrade fixes it? Seems rough to patch the kernel based on
sillicon ID then.
Because you also have to block viommu if the S2 is non-coherent, this
patch should be updated.
And that's a big impact for a BIOS bug that will be fixed for some
people...
Jason
next prev parent reply other threads:[~2026-11-23 15:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-20 15:23 [PATCH] iommu/amd: Mark v2 page tables incoherent on Cezanne Vasant Hegde
2026-11-20 15:53 ` Mario Limonciello
2026-11-20 16:36 ` Nathan Blomquist
2026-11-20 19:26 ` Jason Gunthorpe
2026-11-23 11:24 ` Vasant Hegde
2026-11-23 15:02 ` Jason Gunthorpe [this message]
2026-11-23 10:35 ` Jörg Rödel
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=20261123150205.GC179082@ziepe.ca \
--to=jgg@ziepe.ca \
--cc=Akshata.VUnkal@amd.com \
--cc=alexander.deucher@amd.com \
--cc=iommu@lists.linux.dev \
--cc=joro@8bytes.org \
--cc=nblomquist@gmail.com \
--cc=robin.murphy@arm.com \
--cc=superm1@kernel.org \
--cc=suravee.suthikulpanit@amd.com \
--cc=vasant.hegde@amd.com \
--cc=will@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.