All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Daniel Mentz <danielmentz@google.com>
Cc: Vijayanand Jitta <vijayanand.jitta@oss.qualcomm.com>,
	"Joerg Roedel (AMD)" <joro@8bytes.org>,
	Will Deacon <will@kernel.org>,
	Robin Murphy <robin.murphy@arm.com>,
	linux-arm-msm@vger.kernel.org, iommu@lists.linux.dev,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Prakash Gupta <prakash.gupta@oss.qualcomm.com>
Subject: Re: [PATCH] iommu/io-pgtable-arm: Add support for contiguous hint bit
Date: Tue, 7 Jul 2026 20:58:01 -0300	[thread overview]
Message-ID: <20260707235801.GM220801@nvidia.com> (raw)
In-Reply-To: <CAE2F3rDR3PaiHo8KW26jTqWYD0EfG2mqbfEHhupEzHYENxz=Vg@mail.gmail.com>

On Tue, Jul 07, 2026 at 04:04:31PM -0700, Daniel Mentz wrote:
> > > Support is gated behind CONFIG_IOMMU_IO_PGTABLE_CONTIG_HINT, which
> > > provides a compile-time opt-out for hardware affected by SMMU errata
> > > related to the contiguous bit.
> >
> > I reviewed the errata and didn't find any related to contig that
> > required disabling contig, the driver was OK with the ones I
> > found.. Did you find something specific?
> 
> Arm MMU-700 is affected by erratum 3777127 ("Under invalidation in TBU
> possible when using contiguous page table entries").

That looks like the same as the one I found 3673557 for Neoverse MMU S3

> However, if we disallow partial unmaps of groups of adjacent
> translation table entries, we implicitly apply the workaround
> ("Ensure that contiguous page tables are removed using a single
> range invalidation. Arm recommends using range invalidations to
> remove contiguous entries anyway for performance reasons.")

Right, that was my conclusion as well. SMMUs with this errata should
not enable BBM level 3 support which is the only thing that can
trigger a partial unmap of a contig block. My assumption was RIL is
supported in all affected SMMUs since that is the recommended
workaround..

Jason


      reply	other threads:[~2026-07-07 23:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-18  9:02 [PATCH] iommu/io-pgtable-arm: Add support for contiguous hint bit Vijayanand Jitta
2026-06-19 19:40 ` Daniel Mentz
2026-06-25  5:47   ` Vijayanand Jitta
2026-07-03 16:12 ` Jason Gunthorpe
2026-07-07 23:04   ` Daniel Mentz
2026-07-07 23:58     ` Jason Gunthorpe [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=20260707235801.GM220801@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=danielmentz@google.com \
    --cc=iommu@lists.linux.dev \
    --cc=joro@8bytes.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=prakash.gupta@oss.qualcomm.com \
    --cc=robin.murphy@arm.com \
    --cc=vijayanand.jitta@oss.qualcomm.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.