diff options
author | 2019-08-24 11:02:06 +0800 | |
---|---|---|
committer | 2019-08-30 15:57:27 +0200 | |
commit | b9475b3471f81a60a727886230b0903be72dc96d (patch) | |
tree | 03c3772b9d0226b142ceb81b4a19ea1ec98f4ddd /drivers/iommu/mtk_iommu.h | |
parent | memory: mtk-smi: Add bus_sel for mt8183 (diff) | |
download | linux-b9475b3471f81a60a727886230b0903be72dc96d.tar.gz linux-b9475b3471f81a60a727886230b0903be72dc96d.tar.bz2 linux-b9475b3471f81a60a727886230b0903be72dc96d.zip |
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>
Diffstat (limited to 'drivers/iommu/mtk_iommu.h')
-rw-r--r-- | drivers/iommu/mtk_iommu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/mtk_iommu.h b/drivers/iommu/mtk_iommu.h index 6b1f833696a6..56b579c5a088 100644 --- a/drivers/iommu/mtk_iommu.h +++ b/drivers/iommu/mtk_iommu.h @@ -24,6 +24,7 @@ struct mtk_iommu_suspend_reg { u32 int_control0; u32 int_main_control; u32 ivrp_paddr; + u32 vld_pa_rng; }; enum mtk_iommu_plat { |