]> git.baikalelectronics.ru Git - arm-tf.git/commit
Tegra: delay_timer: support for physical secure timer
authorVarun Wadekar <vwadekar@nvidia.com>
Mon, 18 Jun 2018 23:15:51 +0000 (16:15 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 20 Feb 2020 17:25:45 +0000 (09:25 -0800)
commitdd4f0885a0aad2af6d873c00ac5b49e166c5e339
treea0a3763e95d99946be6d3909fc169b1bfb2ae5dc
parentd4b29105f4d4d11f4bd0f64a7ff9a49c897d804e
Tegra: delay_timer: support for physical secure timer

This patch modifies the delay timer driver to switch to the ARM
secure physical timer instead of using Tegra's on-chip uS timer.

The secure timer is not accessible to the NS world and so eliminates
an important attack vector, where the Tegra timer source gets switched
off from the NS world leading to a DoS attack for the trusted world.

This timer is shared with the S-EL1 layer for now, but later patches
will mark it as exclusive to the EL3 exception mode.

Change-Id: I2c00f8cb4c48b25578971c626c314603906ad7cc
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
include/arch/aarch64/arch.h
plat/nvidia/tegra/common/tegra_delay_timer.c