Re: [PATCH v4 05/40] iommu/io-pgtable-arm: Add quirk to quiet WARN_ON()

2025-05-20 Thread Will Deacon
On Tue, May 20, 2025 at 02:06:09PM +0100, Robin Murphy wrote: > On 2025-05-20 12:31 pm, Will Deacon wrote: > > On Thu, May 15, 2025 at 07:48:39AM -0700, Rob Clark wrote: > > > On Thu, May 15, 2025 at 7:33 AM Will Deacon wrote: > > > > On Wed, May 14, 2025 at 10:53:19AM -0700, Rob Clark wrote: > >

Re: [PATCH v4 05/40] iommu/io-pgtable-arm: Add quirk to quiet WARN_ON()

2025-05-20 Thread Will Deacon
On Thu, May 15, 2025 at 07:48:39AM -0700, Rob Clark wrote: > On Thu, May 15, 2025 at 7:33 AM Will Deacon wrote: > > > > On Wed, May 14, 2025 at 10:53:19AM -0700, Rob Clark wrote: > > > From: Rob Clark > > > > > > In situations where mapping/unmapping sequence can be controlled by > > > userspace,

Re: [PATCH v4 05/40] iommu/io-pgtable-arm: Add quirk to quiet WARN_ON()

2025-05-20 Thread Robin Murphy
On 2025-05-20 12:31 pm, Will Deacon wrote: On Thu, May 15, 2025 at 07:48:39AM -0700, Rob Clark wrote: On Thu, May 15, 2025 at 7:33 AM Will Deacon wrote: On Wed, May 14, 2025 at 10:53:19AM -0700, Rob Clark wrote: From: Rob Clark In situations where mapping/unmapping sequence can be controll

Re: [PATCH v4 05/40] iommu/io-pgtable-arm: Add quirk to quiet WARN_ON()

2025-05-15 Thread Will Deacon
On Wed, May 14, 2025 at 10:53:19AM -0700, Rob Clark wrote: > From: Rob Clark > > 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

Re: [PATCH v4 05/40] iommu/io-pgtable-arm: Add quirk to quiet WARN_ON()

2025-05-15 Thread Rob Clark
On Thu, May 15, 2025 at 7:33 AM Will Deacon wrote: > > On Wed, May 14, 2025 at 10:53:19AM -0700, Rob Clark wrote: > > From: Rob Clark > > > > 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

[PATCH v4 05/40] iommu/io-pgtable-arm: Add quirk to quiet WARN_ON()

2025-05-14 Thread Rob Clark
From: Rob Clark 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

[PATCH v4 05/40] iommu/io-pgtable-arm: Add quirk to quiet WARN_ON()

2025-05-14 Thread Rob Clark
From: Rob Clark 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