Re: [PATCH v9 05/11] iommu/dma: Introduce a helper to remove reserved regions

Christoph Hellwig
2022-04-07T13:26:51Z

>
> +static inline void iommu_dma_put_resv_regions(struct device *dev, struct list_head *list)
> +{
> +}
> +
> #endif /* CONFIG_IOMMU_DMA */

This changes behavior when CONFIG_IOMMU_DMA is not set. So e.g. on
ARM all the drivers that are using the new helper now fail to release
reserved regions.