Re: [PATCH v2] memory: Add NVIDIA SMMU suspend/resume support

From: Thierry Reding
Date: Fri Jan 09 2015 - 06:57:17 EST


On Wed, Dec 24, 2014 at 09:10:41AM +0800, Mark Zhang wrote:
> This patch adds suspend/resume support for NVIDIA SMMU.
>
> Signed-off-by: Mark Zhang <markz@xxxxxxxxxx>
> ---
> Hi Alex/Olof/Thierry/Hiroshi,
>
> This patch is created on top of Thierry Reding's patch set:
> "[PATCH v7 00/12] NVIDIA Tegra memory controller and IOMMU support"
>
> Changes since v1:
> - Remove the list which saves "tegra_smmu_swgroup_asid" instances
> - Save all ASID registers when suspend then restore them when resume
>
> drivers/iommu/tegra-smmu.c | 71 ++++++++++++++++++++++++++++++++++++++++++++++
> drivers/memory/tegra/mc.c | 24 ++++++++++++++++
> drivers/memory/tegra/mc.h | 8 ++++++
> 3 files changed, 103 insertions(+)

We only need this for LP0, right? As such I'm reluctant to apply this
since we can't test it upstream.

Thierry

Attachment: pgptGk68V4YRH.pgp
Description: PGP signature