RE: [PATCH 08/12] iommufd/device: Report supported hwpt_types

From: Liu, Yi L
Date: Thu Mar 23 2023 - 04:08:16 EST


> From: Jason Gunthorpe <jgg@xxxxxxxxxx>
> Sent: Saturday, March 11, 2023 1:53 AM
>
> On Thu, Mar 09, 2023 at 11:45:05PM -0800, Nicolin Chen wrote:
>
> > Yea, that's what I thought too. Yet, I am wondering a bit if
> > it'd be better to have an ops->hwpt_type in the drivers, v.s.
> > maintaining a potentially big chunk of the array here.
>
> It probably is, some ops->iommufd_data.XX is not a bad idea

Will try.

Regards,
Yi Liu