Re: [PATCH v3 03/33] iommu/io-pgtable-arm: Add quirk to quiet WARN_ON()

2025-04-29 Thread Jason Gunthorpe
On Tue, Apr 29, 2025 at 06:58:32AM -0700, Rob Clark wrote: > On Tue, Apr 29, 2025 at 5:28 AM Jason Gunthorpe wrote: > > > > On Mon, Apr 28, 2025 at 01:54:10PM -0700, Rob Clark wrote: > > > From: Rob Clark > > > > > > In situations where mapping/unmapping squence can be controlled by > > > userspa

Re: [PATCH v3 03/33] iommu/io-pgtable-arm: Add quirk to quiet WARN_ON()

2025-04-29 Thread Rob Clark
On Tue, Apr 29, 2025 at 5:38 AM Robin Murphy wrote: > > On 28/04/2025 9:54 pm, Rob Clark wrote: > > From: Rob Clark > > > > In situations where mapping/unmapping squence can be controlled by > > userspace, attempting to map over a region that has not yet been > > unmapped is an error. But not so

Re: [PATCH v3 03/33] iommu/io-pgtable-arm: Add quirk to quiet WARN_ON()

2025-04-29 Thread Rob Clark
On Tue, Apr 29, 2025 at 5:28 AM Jason Gunthorpe wrote: > > On Mon, Apr 28, 2025 at 01:54:10PM -0700, Rob Clark wrote: > > From: Rob Clark > > > > In situations where mapping/unmapping squence can be controlled by > > userspace, attempting to map over a region that has not yet been > > unmapped is

Re: [PATCH v3 03/33] iommu/io-pgtable-arm: Add quirk to quiet WARN_ON()

2025-04-29 Thread Robin Murphy
On 28/04/2025 9:54 pm, Rob Clark wrote: From: Rob Clark In situations where mapping/unmapping squence 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. Signed-off-by: Rob Clark --- drivers/i

Re: [PATCH v3 03/33] iommu/io-pgtable-arm: Add quirk to quiet WARN_ON()

2025-04-29 Thread Jason Gunthorpe
On Mon, Apr 28, 2025 at 01:54:10PM -0700, Rob Clark wrote: > From: Rob Clark > > In situations where mapping/unmapping squence 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. I think if you

[PATCH v3 03/33] iommu/io-pgtable-arm: Add quirk to quiet WARN_ON()

2025-04-28 Thread Rob Clark
From: Rob Clark In situations where mapping/unmapping squence 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. Signed-off-by: Rob Clark --- drivers/iommu/io-pgtable-arm.c | 18