diff options
author | Robin Murphy <robin.murphy@arm.com> | 2025-03-20 17:41:27 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2025-04-11 10:24:10 +0300 |
commit | d9d3cede416719c2d41cd4da1955b12a85856e2f (patch) | |
tree | a761f6866e03772b532d7b15c558b53e05c955fb /scripts/lib/abi/helpers.py | |
parent | 280e5a30100578106a4305ce0118e0aa9b866f12 (diff) | |
download | linux-d9d3cede416719c2d41cd4da1955b12a85856e2f.tar.xz |
iommu/ipmmu-vmsa: Register in a sensible order
IPMMU registers almost-initialised instances, but misses assigning the
drvdata to make them fully functional, so initial calls back into
ipmmu_probe_device() are likely to fail unnecessarily. Reorder this to
work as it should, also pruning the long-out-of-date comment and adding
the missing sysfs cleanup on error for good measure.
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Fixes: bcb81ac6ae3c ("iommu: Get DT/ACPI parsing into the proper probe path")
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/53be6667544de65a15415b699e38a9a965692e45.1742481687.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'scripts/lib/abi/helpers.py')
0 files changed, 0 insertions, 0 deletions