1. 05 Apr, 2017 1 commit
    • Varun Wadekar's avatar
      Tegra186: trampoline: update "System Suspend" exit criteria · 25621454
      Varun Wadekar authored
      
      
      The TZRAM memory loses its state during "System Suspend". This patch
      check if TZRAM base address contains valid data, to decide if the system
      is exiting from "System Suspend". To enable TZDRAM encryption, the Memory
      Controller's TZDRAM base/size registers would be populated by the BPMP
      when the system "wakes up".
      
      Change-Id: I5fc8ba1ae3bce12f0ece493f6f9f5f4d92a46344
      Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
      25621454
  2. 27 Mar, 2017 1 commit
  3. 23 Mar, 2017 1 commit
    • Varun Wadekar's avatar
      Tegra186: save/restore BL31 context to/from TZDRAM · 68c7de6f
      Varun Wadekar authored
      
      
      This patch adds support to save the BL31 state to the TZDRAM
      before entering system suspend. The TZRAM loses state during
      system suspend and so we need to copy the entire BL31 code to
      TZDRAM before entering the state.
      
      In order to restore the state on exiting system suspend, a new
      CPU reset handler is implemented which gets copied to TZDRAM
      during boot. TO keep things simple we use this same reset handler
      for booting secondary CPUs too.
      
      Change-Id: I770f799c255d22279b5cdb9b4d587d3a4c54fad7
      Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
      68c7de6f