iommu/mediatek: Fix VLD_PA_RNG register backup when suspend
authorYong Wu <yong.wu@mediatek.com>
Sat, 24 Aug 2019 03:02:06 +0000 (11:02 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 30 Aug 2019 13:57:27 +0000 (15:57 +0200)
commitb9475b3471f81a60a727886230b0903be72dc96d
tree03c3772b9d0226b142ceb81b4a19ea1ec98f4ddd
parent567e58cf96dda2cc1d8dbdafbc1c089b5ea2be25
iommu/mediatek: Fix VLD_PA_RNG register backup when suspend

The register VLD_PA_RNG(0x118) was forgot to backup while adding 4GB
mode support for mt2712. this patch add it.

Fixes: 30e2fccf9512 ("iommu/mediatek: Enlarge the validate PA range
for 4GB mode")
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: Evan Green <evgreen@chromium.org>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/mtk_iommu.c
drivers/iommu/mtk_iommu.h