1. 22 Jul, 2020 1 commit
  2. 17 Jul, 2020 7 commits
  3. 16 Jul, 2020 1 commit
  4. 15 Jul, 2020 1 commit
  5. 14 Jul, 2020 7 commits
    • Jon Hunter's avatar
      firmware: tegra: Update BPMP ABI · 4e871899
      Jon Hunter authored
      Update the BPMP ABI to align with the the latest version.
      Signed-off-by: default avatarJon Hunter <jonathanh@nvidia.com>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      4e871899
    • Jon Hunter's avatar
      firmware: tegra: Add support for in-band debug · 5e37b9c1
      Jon Hunter authored
      Add support for retrieving BPMP debug information via in-band messaging
      as opposed to using shared-memory which older BPMP firmware used. Note
      that it is possible to detect at runtime whether the BPMP firmware being
      used supports the in-band messaging for retrieving the debug
      informaation. Therefore, if the BPMP firmware supports the in-band
      messaging for debug use this and otherwise fall-back to using shared
      memory.
      Signed-off-by: default avatarJon Hunter <jonathanh@nvidia.com>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      5e37b9c1
    • Jon Hunter's avatar
      firmware: tegra: Prepare for supporting in-band debugfs · cc8d0a45
      Jon Hunter authored
      Currently, BPMP debug information is accessible via the Linux debugfs
      file-system using a shared-memory scheme. More recent BPMP firmware now
      supports accessing the debug information by in-band messaging which does
      not require shared-memory. To prepare for adding in-band debugfs support
      for the BPMP, move the shared-memory specific initialisation from the
      tegra_bpmp_init_debugfs() into a sub-function.
      Signed-off-by: default avatarJon Hunter <jonathanh@nvidia.com>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      cc8d0a45
    • Jon Hunter's avatar
      firmware: tegra: Use consistent return variable name · edb2bca2
      Jon Hunter authored
      Most functions in the BPMP driver use 'err' as the return variable
      name but there are a few places that use 'ret'. Let's use 'err' to
      be consistent.
      Signed-off-by: default avatarJon Hunter <jonathanh@nvidia.com>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      edb2bca2
    • Timo Alho's avatar
      firmware: tegra: Add return code checks and increase debugfs size · 8b08dbb1
      Timo Alho authored
      Add checking of the BPMP-FW return code values for MRQ_DEBUGFS calls.
      
      Also, development versions of the firmware may have debugfs with a
      directory structure larger than 256 KiB. Hence increase the size of the
      memory buffer to accommodate those firmware revisions.
      
      And finally, ensure that no access outside of allocated memory buffer
      happens in case BPMP-FW returns an invalid response size (nbytes) from
      mrq_debugfs_dumpdir() call.
      Signed-off-by: default avatarTimo Alho <talho@nvidia.com>
      Signed-off-by: default avatarJon Hunter <jonathanh@nvidia.com>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      8b08dbb1
    • Jon Hunter's avatar
      memory: tegra: Fix KCONFIG variables for Tegra186 and Tegra194 · 0454efbc
      Jon Hunter authored
      Commit a127e690 ("memory: tegra: Add support for the Tegra194 memory
      controller") and commit 4e04b886 ("memory: tegra: Only include
      support for enabled SoCs") incorrectly added the KCONFIG variables
      CONFIG_ARCH_TEGRA186_SOC and CONFIG_ARCH_TEGRA194_SOC to the Tegra EMC
      driver. These KCONFIG variables do not exist and prevent the EMC driver
      from being probed on Tegra186 and Tegra194. These KCONFIG variable
      names are simply missing one underscore and so fix this by adding the
      necessary underscore to the variable names.
      Signed-off-by: default avatarJon Hunter <jonathanh@nvidia.com>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      0454efbc
    • Arnd Bergmann's avatar
      Merge tag 'scmi-updates-5.9' of... · 409d01fb
      Arnd Bergmann authored
      Merge tag 'scmi-updates-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into arm/drivers
      
      ARM SCMI/SCPI updates for v5.9
      
      The main addition for this time is the support for platform notifications.
      SCMI protocol specification allows the platform to signal events to the
      interested agents via notification messages. We are adding support for
      the dispatch and delivery of such notifications to the interested users
      inside the kernel.
      
      Other than that, there are minor changes like checking and using the
      fast_switch capability quering the firmware instead of doing it
      unconditionally(using polling mode transfer), cosmetic trace update,
      use of HAVE_ARM_SMCCC_DISCOVERY instead of ARM_PSCI_FW and a fix in
      scmi clock registration logic for all the clocks with discrete rates.
      
      * tag 'scmi-updates-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
        firmware: arm_scmi: Remove fixed size fields from reports/scmi_event_header
        firmware: arm_scmi: Remove unneeded __packed attribute
        firmware: arm_scmi: Remove zero-length array in SCMI notifications
        firmware: arm_scmi: Provide a missing function param description
        clk: scmi: Fix min and max rate when registering clocks with discrete rates
        firmware: arm_scmi: Keep the discrete clock rates sorted
        firmware: arm_scmi: Add base notifications support
        firmware: arm_scmi: Add reset notifications support
        firmware: arm_scmi: Add sensor notifications support
        firmware: arm_scmi: Add perf notifications support
        firmware: arm_scmi: Add power notifications support
        firmware: arm_scmi: Enable notification core
        firmware: arm_scmi: Add notification dispatch and delivery
        firmware: arm_scmi: Add notification callbacks-registration
        firmware: arm_scmi: Add notification protocol-registration
        firmware: arm_scmi: Fix SCMI genpd domain probing
        firmware: arm_scmi: Use HAVE_ARM_SMCCC_DISCOVERY instead of ARM_PSCI_FW
        cpufreq: arm_scmi: Set fast_switch_possible conditionally
        firmware: arm_scmi: Add fast_switch_possible() interface
        firmware: arm_scmi: Use signed integer to report transfer status
      
      Link: https://lore.kernel.org/r/20200713161410.12324-1-sudeep.holla@arm.comSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      409d01fb
  6. 13 Jul, 2020 13 commits
  7. 10 Jul, 2020 4 commits
  8. 06 Jul, 2020 6 commits