On 24/01/2024 09:13, Diogo Ivo wrote: ...
I did the tracing and found that the ENOENT is coming from sysfs_do_create_link_sd() in the following function call chain: of_iommu_configure() -> iommu_probe_device() -> __iommu_probe_device() -> iommu_init_device() -> iommu_device_link() -> sysfs_add_link_to_group() -> sysfs_create_link_sd() -> sysfs_do_create_link_sd() The particular block that emits the error is static int sysfs_do_create_link_sd() { ... if (target_kobj->sd) { target = target_kobj->sd; kernfs_get(target); } if (!target) return -ENOENT; ... }
I believe that this is the same in the case that I am seeing as well. Jon -- nvpublic