]> git.ipfire.org Git - thirdparty/kernel/stable.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)
commit3b7e2482f9a3f2e99628048b945c9c6cc53bd38e
treeedeb0f7c7f4ff00e5aab01c902bf5ea967b8d1c0
parentac9a5d522bb80be50ea84965699e1c8257d745ce
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