[PATCH v2] iommu/io-pgtable-arm: Add quirk to quiet WARN_ON()
Jason Gunthorpe
jgg at ziepe.ca
Wed May 7 07:40:38 PDT 2025
On Wed, May 07, 2025 at 07:29:51AM -0700, Rob Clark wrote:
> From: Rob Clark <robdclark at chromium.org>
>
> In situations where mapping/unmapping sequence can be controlled by
> userspace, attempting to map over a region that has not yet been
> unmapped is an error. But not something that should spam dmesg.
>
> Now that there is a quirk, we can also drop the selftest_running
> flag, and use the quirk instead for selftests.
>
> Signed-off-by: Rob Clark <robdclark at chromium.org>
> ---
> Sending v2 stand-alone, since I'm not quite ready to send a new
> iteration of the full VM_BIND series. And with selftest_running
> removed, I think this patch stands on it's own. (And maybe there
> is still time to sneak this in for v6.16, removing an iommu dep
> for the VM_BIND series in v6.17?)
You should just remove the warn on completely, no other driver does this.
Jason
More information about the linux-arm-kernel
mailing list