From: Robin Murphy <robin.murphy@arm.com>
To: Jason Gunthorpe <jgg@ziepe.ca>
Cc: will@kernel.org, joro@8bytes.org, jpb@kernel.org,
catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org,
iommu@lists.linux.dev, stable@vger.kernel.org
Subject: Re: [PATCH] iommu/arm-smmu-v3: Add HAFT support for SVA
Date: Thu, 9 Jul 2026 17:44:22 +0100 [thread overview]
Message-ID: <f344dd12-6b68-4d3e-bf66-f84fdf748b44@arm.com> (raw)
In-Reply-To: <20260709160440.GL118978@ziepe.ca>
On 09/07/2026 5:04 pm, Jason Gunthorpe wrote:
> On Mon, Jul 06, 2026 at 03:13:01PM +0100, Robin Murphy wrote:
>
>> Indeed if anyone does want to use SVA on such mismatched hardware and are
>> happy to use a custom kernel with CONFIG_ARM64_HAFT disabled then they can
>> and will continue to be able to do so.
>
> It seems like we have a chip that is impacted by this. I'm being told
> that the necessary ARM IP is not available in time to properly match
> SMMU and CPU for its particular application.d
>
> The chip is embedded so those work arounds are possibly OK - but I
> think this issue keeps coming up and ARM should have a better overall
> solution for CPU/SMMU mismatch in the ecosystem since it seems like
> this is going to keep happening..
To be fair, even if new VMSA features were added to the SMMU
architecture in lockstep with the CPU architecture (which historically
they haven't been since the SMMU version often needs additional
consideration - oh, the fun we had with HDBSS...), and the SMMU products
were developed and released in sync with CPU products (which again they
have not been, for more than just architecture reasons), then at the end
of the day from the Linux perspective we'd still have to deal with
licensees having the freedom to play mix-and-match, so I don't see
there's much that Arm could really do.
The CPU architecture does now provide FEAT_IDTE3, which platform
firmware can use to hide visibility of features from an OS/hypervisor,
so if you did ask, I suspect you'd get the answer that beyond that it's
up to the OS to decide what it wants to do with what it's given.
> Even if Linux could automatically limit the CPU features to the SMMU
> it would be a big help.
Feel free to propose patches, but given that SMMU details may not be
known until after userspace is up (since the driver can be a module),
unless features can safely be toggled on and off entirely dynamically,
for many cases I don't see that we could ever do much more than letting
the user pick their preferred policy at boot time via config or command
line.
Thanks,
Robin.
prev parent reply other threads:[~2026-07-09 16:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-01 17:45 [PATCH] iommu/arm-smmu-v3: Add HAFT support for SVA Robin Murphy
2026-07-03 16:49 ` Jason Gunthorpe
2026-07-03 18:57 ` Robin Murphy
2026-07-03 19:24 ` Jason Gunthorpe
2026-07-06 14:13 ` Robin Murphy
2026-07-09 16:04 ` Jason Gunthorpe
2026-07-09 16:44 ` Robin Murphy [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=f344dd12-6b68-4d3e-bf66-f84fdf748b44@arm.com \
--to=robin.murphy@arm.com \
--cc=catalin.marinas@arm.com \
--cc=iommu@lists.linux.dev \
--cc=jgg@ziepe.ca \
--cc=joro@8bytes.org \
--cc=jpb@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=stable@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox