]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iommu/sprd: Add missing force_aperture
authorJason Gunthorpe <jgg@nvidia.com>
Mon, 24 Jul 2023 17:36:05 +0000 (14:36 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2023 10:22:45 +0000 (12:22 +0200)
commitde4aca5b284ebf3d4d9e29f8158fdcda1ef00d0a
tree6b7d5b5ae06e094fdea8a87932cedc16bc017b66
parent46b76f13f1ad4fae51f7f3b9d7316e8dd3478aa9
iommu/sprd: Add missing force_aperture

[ Upstream commit d48a51286c698f7fe8efc688f23a532f4fe9a904 ]

force_aperture was intended to false only by GART drivers that have an
identity translation outside the aperture. This does not describe sprd, so
add the missing 'force_aperture = true'.

Fixes: b23e4fc4e3fa ("iommu: add Unisoc IOMMU basic driver")
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Chunyan Zhang <zhang.lyra@gmail.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/iommu/sprd-iommu.c