Skip to content
Commit 63ac1a2a authored by Varun Wadekar's avatar Varun Wadekar
Browse files

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: default avatarVarun Wadekar <vwadekar@nvidia.com>
parent 85aa186b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment