1. 22 Mar, 2020 1 commit
    • Varun Wadekar's avatar
      Tegra194: SiP function ID to read SMMU_PER registers · 8f0e22d5
      Varun Wadekar authored
      
      
      This patch introduces SiP function ID, 0xC200FF00, to read SMMU_PER
      error records from all supported SMMU blocks.
      
      The register values are passed over to the client via CPU registers
      X1 - X3, where
      
      X1 = SMMU_PER[instance #1] | SMMU_PER[instance #0]
      X2 = SMMU_PER[instance #3] | SMMU_PER[instance #2]
      X3 = SMMU_PER[instance #5] | SMMU_PER[instance #4]
      
      Change-Id: Id56263f558838ad05f6021f8432e618e99e190fc
      Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
      8f0e22d5
  2. 31 Jan, 2020 1 commit
  3. 28 Nov, 2019 5 commits
    • Varun Wadekar's avatar
      Tegra194: cleanup references to Tegra186 · 1c62509e
      Varun Wadekar authored
      
      
      This patch cleans up all references to the Tegra186 family of SoCs.
      
      Change-Id: Ife892caba5f2523debacedf8ec465289def9afd0
      Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
      1c62509e
    • Anthony Zhou's avatar
      Tegra194: SiP: Fix Rule 8.4 and Rule 10.4 violation · 159baa48
      Anthony Zhou authored
      
      
      Rule 8.4, A compatible declaration shall be visible when an object
        or function with external linkage is defined.
      
      Add function delaration to the header file.
      Add suffix U to the unsigned constant define.
      
      Change-Id: I54eba913a5fa38e4fdf3655931dc421d9510c691
      Signed-off-by: default avatarAnthony Zhou <anzhou@nvidia.com>
      159baa48
    • 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: fix defects flagged by MISRA scan · b6533b56
      Anthony Zhou authored
      
      
      Main fixes:
      
      Fix invalid use of function pointer [Rule 1.3]
      
      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]
      
      convert object type to match the type of function parameters
      [Rule 10.3]
      
      Force operands of an operator to the same type category [Rule 10.4]
      
      Fix implicit widening of composite assignment [Rule 10.6]
      
      Fixed if statement conditional to be essentially boolean [Rule 14.4]
      
      Added curly braces ({}) around if 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: I65a2b33e59aebb7746bd31544c79d57c3d5678c5
      Signed-off-by: default avatarAnthony Zhou <anzhou@nvidia.com>
      b6533b56
    • Vignesh Radhakrishnan's avatar
      Tegra194: Enable fake system suspend · b0a86254
      Vignesh Radhakrishnan authored
      
      
      Fake system suspend for Tegra194, calls the routine
      tegra_secure_entrypoint() instead of calling WFI.
      In essence, this is a debug mode that ensures
      that the code path of kernel->ATF and back to kernel
      is executed without depending on other components
      involved in the system suspend path.
      
      This is for ensuring that verification of system suspend
      can be done on pre-silicon platforms without depending on
      the rest of the layers being enabled.
      
      Change-Id: I18572b169b7ef786f9029600dad9ef5728634f2b
      Signed-off-by: default avatarVignesh Radhakrishnan <vigneshr@nvidia.com>
      b0a86254
  4. 13 Nov, 2019 1 commit
  5. 24 Oct, 2019 2 commits