[PATCH v4 03/11] iommufd: Add iommufd_verify_unfinalized_object
Tian, Kevin
kevin.tian at intel.com
Fri Oct 25 01:49:32 PDT 2024
> From: Nicolin Chen <nicolinc at nvidia.com>
> Sent: Tuesday, October 22, 2024 8:19 AM
>
> To support driver-allocated vIOMMU objects, it's suggested to call the
> allocator helper in IOMMU dirvers. However, there is no guarantee that
> drivers will all use it and allocate objects properly.
>
> Add a helper for iommufd core to verify if an unfinalized object is at
> least reserved in the ictx.
>
> Signed-off-by: Nicolin Chen <nicolinc at nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian at intel.com>
More information about the linux-arm-kernel
mailing list