[PATCH v2 1/6] iommu: Export iommu_{get,put}_resv_regions()

Joerg Roedel joro at 8bytes.org
Mon Dec 6 03:56:21 PST 2021


On Tue, Nov 16, 2021 at 05:06:20PM +0800, Yicong Yang wrote:
> Export iommu_{get,put}_resv_regions() to the modules so that the driver
> can retrieve and use the reserved regions of the device.

Why should any driver bother? These functions are only used by the iommu
core to call into iommu drivers to get information about needed direct
mappings. Why drivers need this information belongs into this commit
message.

Regards,

	Joerg




More information about the linux-arm-kernel mailing list