diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2025-04-01 23:27:31 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2025-04-11 13:40:41 +0300 |
commit | 99deffc409b69000ac4877486e69ec6516becd53 (patch) | |
tree | 1cdd2225602f28e49db5803f2544d91fadc103c8 /scripts/lib/abi/helpers.py | |
parent | d9d3cede416719c2d41cd4da1955b12a85856e2f (diff) | |
download | linux-99deffc409b69000ac4877486e69ec6516becd53.tar.xz |
iommu/exynos: Fix suspend/resume with IDENTITY domain
Commit bcb81ac6ae3c ("iommu: Get DT/ACPI parsing into the proper probe
path") changed the sequence of probing the SYSMMU controller devices and
calls to arm_iommu_attach_device(), what results in resuming SYSMMU
controller earlier, when it is still set to IDENTITY mapping. Such change
revealed the bug in IDENTITY handling in the exynos-iommu driver. When
SYSMMU controller is set to IDENTITY mapping, data->domain is NULL, so
adjust checks in suspend & resume callbacks to handle this case
correctly.
Fixes: b3d14960e629 ("iommu/exynos: Implement an IDENTITY domain")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20250401202731.2810474-1-m.szyprowski@samsung.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'scripts/lib/abi/helpers.py')
0 files changed, 0 insertions, 0 deletions