1. 28 Nov, 2019 5 commits
    • Dilan Lee's avatar
      Tegra194: mce: enable strict checking · ac252f95
      Dilan Lee authored
      
      
      "Strict checking" is a mode where secure world can access
      secure-only areas unlike legacy mode where secure world could
      access non-secure spaces as well. Secure-only areas are defined
      as the TZ-DRAM carveout and any GSC with the CPU_SECURE bit set.
      This mode not only helps prevent issues with IO-Coherency but aids
      with security as well.
      
      This patch implements the programming sequence required to enable
      strict checking mode for Tegra194 SoCs.
      
      Change-Id: Ic2e594f79ec7c5bc1339b509e67c4c62efb9d0c0
      Signed-off-by: default avatarDilan Lee <dilee@nvidia.com>
      ac252f95
    • Varun Wadekar's avatar
      Tegra194: mce: display NVG header version during boot · ac2cc6b0
      Varun Wadekar authored
      
      
      The MCE driver checks the NVG interface version during boot and
      disaplys the hardware and software versions on the console. The
      software version is being displayed as zero.
      
      This patch updates the prints to use the real NVG header version
      instead.
      
      Change-Id: I8e9d2e6c43a59a8a6d5ca7aa8153b940fce86709
      Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
      ac2cc6b0
    • Varun Wadekar's avatar
      Tegra194: mce: remove unsupported functionality · 08c085dc
      Varun Wadekar authored
      
      
      This patch cleans up the mce driver files to remove all the unsupported
      functionality. The MCE/NVG interface is not restricted to the EL3 space,
      so clients can issue commands to the MCE firmware directly.
      
      Change-Id: Idcebc42f31805f9c1abe1c1edc17850151aca11d
      Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
      08c085dc
    • Anthony Zhou's avatar
      Tegra194: mce: fix defects flagged by MISRA scan · 6152de3b
      Anthony Zhou authored
      
      
      Main fixes:
      
      Added explicit casts (e.g. 0U) to integers in order for them to be
        compatible with whatever operation they're used in [Rule 10.1]
      
      Fix variable essential type doesn't match [Rule 10.3]
      
      Added curly braces ({}) around if/while statements in order to
        make them compound [Rule 15.6]
      
      Voided non c-library functions whose return types are not used
        [Rule 17.7]
      
      Change-Id: Iaae2ecaba3caf1469c44910d4e6aed0661597a51
      Signed-off-by: default avatarAnthony Zhou <anzhou@nvidia.com>
      6152de3b
    • Steven Kao's avatar
      Tegra194: update nvg header to v6.1 · 2bda9202
      Steven Kao authored
      
      
      This patch updates t194_nvg.h to v6.1 and does not issue NVG
      commands for unsupported platforms.
      
      Change-Id: I506b594a70a3651d01a412ab79b3c8919b1d66f1
      Signed-off-by: default avatarSteven Kao <skao@nvidia.com>
      2bda9202
  2. 13 Nov, 2019 1 commit
  3. 24 Oct, 2019 3 commits