[PATCH v4 01/11] iommufd: Move struct iommufd_object to public iommufd header
Tian, Kevin
kevin.tian at intel.com
Fri Oct 25 01:34:42 PDT 2024
> From: Nicolin Chen <nicolinc at nvidia.com>
> Sent: Tuesday, October 22, 2024 8:19 AM
>
> Prepare for an embedded structure design for driver-level iommufd_viommu
> objects:
> // include/linux/iommufd.h
> struct iommufd_viommu {
> struct iommufd_object obj;
> ....
> };
>
> // Some IOMMU driver
> struct iommu_driver_viommu {
> struct iommufd_viommu core;
> ....
> };
>
> It has to expose struct iommufd_object and enum iommufd_object_type
> from
> the core-level private header to the public iommufd header.
>
> Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
> 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