Re: [PATCH 1/4] media: venus: use dma_iova_size() to check the reserved IOVA size
From: Jason Gunthorpe
Date: Mon Nov 30 2026 - 14:52:51 EST
On Sat, Nov 28, 2026 at 08:55:20AM +0000, Bryan O'Donoghue wrote:
> On 27/11/2026 17:26, Jason Gunthorpe wrote:
> > > It would be possible to reserve this IOVA range in DT so given what you've
> > > highlighted I think this and the Iris commit should be reverted and the DT
> > > constraint implemented.
> > That was the other thread, obviously using DT to describe a hardware
> > issue is the correct choice. But there was some problem where they
> > also wanted to split the SID space using DT and then the DT mechansim
> > doesn't work because the whole thing becomes too hacky :\
> >
> > Jason
>
> Actually I've been looking for some resolution on this.
>
> https://lore.kernel.org/linux-media/d0e76f09-a360-4c1d-bfab-c5658f2a69e0@xxxxxxxxxx
>
> There's been radio silence on the method from the iommu maintainers so I
> haven't merged the DT that would come to depend on it.
I don't know alot about that, it seems OK to me at first blush, but
Robin is the expert there.
Jason