Re: [PATCH v3] iommufd/device: Enforce reserved IOVA also when attached to hwpt_nested

From: Jason Gunthorpe
Date: Thu Aug 15 2024 - 13:37:39 EST


On Wed, Aug 14, 2024 at 04:31:17PM -0700, Nicolin Chen wrote:
> > Regardless this seems like a bug fix to me that we may as well
> > take. Unless we intend to retire the entire RESV_SW mechanism it
> > should work correctly.
>
> I am hoping for that, yet can't guarantee of accomplishing it at
> the end of the day.

I think we can't retire it completely. It is necessary to allow DPDK
to work as-is, for instance.

We can only hope to provide an alternative for nesting..

Jason