diff options
| author | 2025-03-20 14:41:27 +0000 | |
|---|---|---|
| committer | 2025-04-11 09:24:10 +0200 | |
| commit | d9d3cede416719c2d41cd4da1955b12a85856e2f (patch) | |
| tree | a761f6866e03772b532d7b15c558b53e05c955fb /scripts/basic/git:/ssh: | |
| parent | iommu: Clear iommu-dma ops on cleanup (diff) | |
| download | wireguard-linux-d9d3cede416719c2d41cd4da1955b12a85856e2f.tar.xz wireguard-linux-d9d3cede416719c2d41cd4da1955b12a85856e2f.zip | |
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/basic/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
