Skip to content
Commit f7ff3cff authored by Alex Bee's avatar Alex Bee Committed by Joerg Roedel
Browse files

iommu/rockchip: Fix PAGE_DESC_HI_MASKs for RK3568

With the submission of iommu driver for RK3568 a subtle bug was
introduced: PAGE_DESC_HI_MASK1 and PAGE_DESC_HI_MASK2 have to be
the other way arround - that leads to random errors, especially when
addresses beyond 32 bit are used.

Fix it.

Fixes: c55356c5

 ("iommu: rockchip: Add support for iommu v2")
Signed-off-by: default avatarAlex Bee <knaerzche@gmail.com>
Tested-by: default avatarPeter Geis <pgwipeout@gmail.com>
Reviewed-by: default avatarHeiko Stuebner <heiko@sntech.de>
Tested-by: default avatarDan Johansen <strit@manjaro.org>
Reviewed-by: default avatarBenjamin Gaignard <benjamin.gaignard@collabora.com>
Link: https://lore.kernel.org/r/20211124021325.858139-1-knaerzche@gmail.com


Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 717e88aa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment