[PATCH v11 1/9] iommu: Introduce a callback to struct iommu_resv_region

Christoph Hellwig hch at infradead.org
Fri Apr 22 22:14:02 PDT 2022


On Sat, Apr 23, 2022 at 10:04:39AM +0800, Lu Baolu wrote:
> The generic_iommu_put_resv_regions() itself is a callback. Why bothering
> adding another callback from the same iommu driver in it? Or, you are
> going to remove the put_resv_regions from the iommu ops?

It is a driver method, but these reserved entries are not actually
allocated by the driver.  And I do have a patch pending removing this
driver method that should never have been a driver method, check
the iomm list archives for

    iommu: remove the put_resv_regions method




More information about the linux-arm-kernel mailing list