-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iommu/arm-smmu-v3: Add suspend and resume support
Add suspend and resume support for smmuv3. The smmu is stopped when suspending and started when resuming. When the smmu is suspended, it is powered off and the registers are cleared. So saves the msi_msg context during msi interrupt initialization of smmu. When resume happens it calls arm_smmu_device_reset() to restore the registers. Closes: https://gitee.com/openeuler/kernel/issues/I4DZ7Q Signed-off-by: Bixuan Cui <[email protected]> Signed-off-by: Zhou Guanghui <[email protected]> Reviewed-by: Hanjun Guo <[email protected]> Signed-off-by: Yang Yingliang <[email protected]> Signed-off-by: Wang Xu <[email protected]> Signed-off-by: Li Mingzhe <[email protected]> Signed-off-by: Wang Zhimin <[email protected]>
- Loading branch information
1 parent
4e5def3
commit 2215d1c
Showing
2 changed files
with
88 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters