[PATCH 06/11] iommu: Move the iommu driver sysfs setup into iommu_init/deinit_driver()
Tian, Kevin
kevin.tian at intel.com
Wed Apr 26 19:41:53 AEST 2023
> From: Jason Gunthorpe <jgg at nvidia.com>
> Sent: Thursday, April 20, 2023 12:12 AM
>
> It makes logical sense that once the driver is attached to the device the
> sysfs links appear, even if we haven't fully created the group_device or
> attached the device to a domain.
>
> Fix the missing error handling on sysfs creation since
> iommu_init_driver() can trivially handle this.
>
> Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian at intel.com>
More information about the Linuxppc-dev
mailing list