diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2022-11-28 10:06:28 -0400 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-12-05 11:52:57 +0100 |
commit | ef5bb8e7a7127218f826b9ccdf7508e7a339f4c2 (patch) | |
tree | 41e12c08a07689419bf700d610b9a155b65aa727 /drivers/rtc | |
parent | e563cc0c787c85a4d9def0a77078dc5d3f445e3d (diff) | |
download | linux-ef5bb8e7a7127218f826b9ccdf7508e7a339f4c2.tar.bz2 |
iommu/sun50i: Remove IOMMU_DOMAIN_IDENTITY
This driver treats IOMMU_DOMAIN_IDENTITY the same as UNMANAGED, which
cannot possibly be correct.
UNMANAGED domains are required to start out blocking all DMAs. This seems
to be what this driver does as it allocates a first level 'dt' for the IO
page table that is 0 filled.
Thus UNMANAGED looks like a working IO page table, and so IDENTITY must be
a mistake. Remove it.
Fixes: 4100b8c229b3 ("iommu: Add Allwinner H6 IOMMU driver")
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/0-v1-97f0adf27b5e+1f0-s50_identity_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions