1. 16 Oct, 2023 9 commits
  2. 14 Oct, 2023 12 commits
  3. 13 Oct, 2023 2 commits
    • Sumit Gupta's avatar
      firmware: tegra: Add suspend hook and reset BPMP IPC early on resume · ea608a01
      Sumit Gupta authored
      Add suspend hook and a 'suspended' field in the 'struct tegra_bpmp'
      to mark if BPMP is suspended. Also, add a 'flags' field in the
      'struct tegra_bpmp_message' whose 'TEGRA_BPMP_MESSAGE_RESET' bit can be
      set from the Tegra MC driver to signal that the reset of BPMP IPC
      channels is required before sending MRQ to the BPMP FW. Together both
      the fields allow us to handle any requests that might be sent too soon
      as they can cause hang during system resume.
      
      One case where we see BPMP requests being sent before the BPMP driver
      has resumed is the memory bandwidth requests which are triggered by
      onlining the CPUs during system resume. The CPUs are onlined before the
      BPMP has resumed and we need to reset the BPMP IPC channels to handle
      these requests.
      
      The additional check for 'flags' is done to avoid any un-intended BPMP
      IPC reset if the tegra_bpmp_transfer*() API gets called during suspend
      sequence after the BPMP driver is suspended.
      
      Fixes: f41e1442 ("cpufreq: tegra194: add OPP support and set bandwidth")
      Co-developed-by: default avatarThierry Reding <treding@nvidia.com>
      Signed-off-by: default avatarSumit Gupta <sumitg@nvidia.com>
      Acked-by: default avatarThierry Reding <treding@nvidia.com>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      ea608a01
    • Ulf Hansson's avatar
      soc/tegra: pmc: Drop the ->opp_to_performance_state() callback · cda26390
      Ulf Hansson authored
      Since commit 7c41cdcd ("OPP: Simplify the over-designed pstate <->
      level dance"), there is no longer any need for genpd providers to assign
      the ->opp_to_performance_state(), hence let's drop it.
      
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Jonathan Hunter <jonathanh@nvidia.com>
      Cc: linux-tegra@vger.kernel.org
      Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      cda26390
  4. 11 Oct, 2023 2 commits
  5. 09 Oct, 2023 3 commits
  6. 08 Oct, 2023 8 commits
  7. 06 Oct, 2023 4 commits