• Pritesh Raithatha's avatar
    Tegra: smmu: remove context save sequence · a391d494
    Pritesh Raithatha authored
    
    
    SMMU and MC registers are saved as part of the System Suspend sequence.
    The register list includes some NS world SMMU registers that need to be
    saved by NS world software instead. All that remains as a result are
    the MC registers.
    
    This patch moves code to MC file as a result and renames all the
    variables and defines to use the MC prefix instead of SMMU. The
    Tegra186 and Tegra194 platform ports are updated to provide the MC
    context register list to the parent driver. The memory required for
    context save is reduced due to removal of the SMMU registers.
    
    Change-Id: I83a05079039f52f9ce91c938ada6cd6dfd9c843f
    Signed-off-by: default avatarPritesh Raithatha <praithatha@nvidia.com>
    a391d494
plat_memctrl.c 24.9 KB