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>
1 parent d4b2910 commit dd4f0885a0aad2af6d873c00ac5b49e166c5e339
@Varun Wadekar Varun Wadekar authored on 18 Jun 2018
Showing 2 changed files
View
include/arch/aarch64/arch.h
View
plat/nvidia/tegra/common/tegra_delay_timer.c