]> git.baikalelectronics.ru Git - kernel.git/commit
iommu: Introduce a callback to struct iommu_resv_region
authorShameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Wed, 15 Jun 2022 10:10:36 +0000 (11:10 +0100)
committerJoerg Roedel <jroedel@suse.de>
Wed, 6 Jul 2022 10:51:10 +0000 (12:51 +0200)
commit486a50a4edca13113a1a14e845add395a74c8b3e
treeedeb0f7c7f4ff00e5aab01c902bf5ea967b8d1c0
parent02042d890431ea62bea0544f59f2a5ead7198819
iommu: Introduce a callback to struct iommu_resv_region

A callback is introduced to struct iommu_resv_region to free memory
allocations associated with the reserved region. This will be useful
when we introduce support for IORT RMR based reserved regions.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Steven Price <steven.price@arm.com>
Tested-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Tested-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Acked-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20220615101044.1972-2-shameerali.kolothum.thodi@huawei.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c
include/linux/iommu.h