Tegra: SiP: set GPU in reset after vpr resize
Whenever the VPR memory is resized, the GPU is put into reset first
and then the new VPR parameters are programmed to the memory controller
block. There exists a scenario, where the GPU might be out before we
program the new VPR parameters. This means, the GPU would still be
using older settings and leak secrets.

This patch puts the GPU back into reset, if it is out of reset after
resizing VPR, to mitigate this hole.

Change-Id: I38a1000e3803f80909efcb02e27da4bd46909931
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
1 parent 23ae809 commit 3e28e9354013452674ad191634da0dab2f5c460d
@Jeetesh Burman Jeetesh Burman authored on 22 Jan 2018
Varun Wadekar committed on 31 Jan 2019
Showing 4 changed files
View
plat/nvidia/tegra/common/tegra_sip_calls.c
View
plat/nvidia/tegra/include/t132/tegra_def.h
View
plat/nvidia/tegra/include/t186/tegra_def.h
View
plat/nvidia/tegra/include/t210/tegra_def.h