summaryrefslogtreecommitdiff
path: root/lib/psci/psci_common.c
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2017-04-20 18:56:09 -0700
committerVarun Wadekar <vwadekar@nvidia.com>2017-04-20 19:02:21 -0700
commit63ac1a2a791a1eccebe508ec8d6b88888f075a52 (patch)
treee82831cada320ae0567052a12f92d7c7b2a6639d /lib/psci/psci_common.c
parent85aa186ba11f49efef8e859cf5cab737c3ade26b (diff)
Tegra: smmu: make the context save sequence robust
This patch sanity checks the SMMU context created by the platform code. The first entry contains the size of the array; which the driver now verifies before moving on with the save. This patch also fixes an error in the calculation of the size of the context that gets copied to TZDRAM. Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'lib/psci/psci_common.c')
0 files changed, 0 insertions, 0 deletions