• Varun Wadekar's avatar
    Tegra: delay_timer: support for physical secure timer · dd4f0885
    Varun Wadekar authored
    
    
    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: default avatarVarun Wadekar <vwadekar@nvidia.com>
    dd4f0885
tegra_delay_timer.c 1.59 KB