OSDN Git Service

iommu/arm-smmu: Add Hibernation support
authorSiddhartha Agrawal <agrawals@codeaurora.org>
Fri, 22 Jun 2018 20:09:03 +0000 (13:09 -0700)
committerGerrit - the friendly Code Review server <code-review@localhost>
Tue, 21 Aug 2018 18:16:37 +0000 (11:16 -0700)
commitace0b79c2f72ed69af4676f2538c1e4be502ccae
tree7d7e0b8a4657b7cc9f116cf0bcd670103aeca470
parent7454980b83c63405607d46ae462271a43aa9b57c
iommu/arm-smmu: Add Hibernation support

This adds support for saving the arm-smmu client's context
just before going into hibernation. This context is restored
on the subesequent hibernate restore.
Also, invalidate the TLB during the restore phase to avoid
wrong translations post-resume.

Change-Id: Idd8d12bb4d13f8a62bd51e0adaad82bd92f658ee
Signed-off-by: vkakani <vkakani@codeaurora.org>
Signed-off-by: Arun KS <arunks@codeaurora.org>
Signed-off-by: Atul Raut <araut@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
drivers/iommu/arm-smmu.c