1. 20 Oct, 2021 5 commits
  2. 18 Oct, 2021 2 commits
    • Jens Wiklander's avatar
      optee: add FF-A support · 4615e5a3
      Jens Wiklander authored
      Adds support for using FF-A [1] as transport to the OP-TEE driver.
      
      Introduces struct optee_msg_param_fmem which carries all information
      needed when OP-TEE is calling FFA_MEM_RETRIEVE_REQ to get the shared
      memory reference mapped by the hypervisor in S-EL2. Register usage is
      also updated to include the information needed.
      
      The FF-A part of this driver is enabled if CONFIG_ARM_FFA_TRANSPORT is
      enabled.
      
      [1] https://developer.arm.com/documentation/den0077/latestAcked-by: default avatarSumit Garg <sumit.garg@linaro.org>
      Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
      4615e5a3
    • Jens Wiklander's avatar
      optee: isolate smc abi · c51a564a
      Jens Wiklander authored
      Isolate the ABI based on raw SMCs. Code specific to the raw SMC ABI is
      moved into smc_abi.c. This makes room for other ABIs with a clear
      separation.
      
      The driver changes to use module_init()/module_exit() instead of
      module_platform_driver(). The platform_driver_register() and
      platform_driver_unregister() functions called directly to keep the same
      behavior. This is needed because module_platform_driver() is based on
      module_driver() which can only be used once in a module.
      
      A function optee_rpc_cmd() is factored out from the function
      handle_rpc_func_cmd() to handle the ABI independent part of RPC
      processing.
      
      This patch is not supposed to change the driver behavior, it's only a
      matter of reorganizing the code.
      Reviewed-by: default avatarSumit Garg <sumit.garg@linaro.org>
      Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
      c51a564a
  3. 15 Oct, 2021 4 commits
  4. 13 Oct, 2021 3 commits
    • Arnd Bergmann's avatar
      Merge tag 'arm-soc/for-5.16/drivers' of https://github.com/Broadcom/stblinux into arm/drivers · 790f42a6
      Arnd Bergmann authored
      This pull request contains Broadcom ARM/ARM64 SoC drivers changes for
      5.16, please pull the following:
      
      - Cai updates the bcm-pmb and bcm63xx-power drivers to use the
        devm_platform_ioremap_resource() helper
      
      - Florian updates the Bus Interface Unit code to tune the 72116 and
        72113 chips according to their existing counterparts. The GISB driver is
        updated to be built as a non-removable module
      
      * tag 'arm-soc/for-5.16/drivers' of https://github.com/Broadcom/stblinux:
        bus: brcmstb_gisb: Allow building as module
        soc: bcm: brcmstb: biuctrl: Tune MCP settings for 72116
        soc: bcm: brcmstb: biuctrl: Tune MCP settings for 72113
        soc: bcm63xx-power: Make use of the helper function devm_platform_ioremap_resource()
        soc: bcm: bcm-pmb: Make use of the helper function devm_platform_ioremap_resource()
      
      Link: https://lore.kernel.org/r/20211013174016.831348-3-f.fainelli@gmail.comSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      790f42a6
    • Arnd Bergmann's avatar
      Merge tag 'qcom-drivers-for-5.16' of... · 936fc53f
      Arnd Bergmann authored
      Merge tag 'qcom-drivers-for-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into arm/drivers
      
      Qualcomm driver updates for v5.16
      
      This drops the use of power-domains for exposing the load_state from the
      QMP driver to clients, to avoid issues related to system suspend.
      
      SMP2P becomes wakeup capable, to allow dying remoteprocs to wake up
      Linux from suspend to perform recovery.
      
      It adds RPM power-domain support for SM6350 and MSM8953 and base RPM
      support for MSM8953 and QCM2290.
      
      It adds support for MSM8996, SDM630 and SDM660 in the SPM driver, which
      will enable the introduction of proper voltage scaling of the CPU
      subsystem.
      
      Support for releasing secondary CPUs on MSM8226 is introduced.
      
      The Asynchronous Packet Router (APR) driver is extended to support the
      new Generic Packet Router (GPR) variant, which is used to communicate
      with the firmware in the new AudioReach audio driver.
      
      Lastly it transitions a number of drivers to safer string functions, as
      well as switching things to use devm_platform_ioremap_resource().
      
      * tag 'qcom-drivers-for-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: (40 commits)
        soc: qcom: apr: Add GPR support
        soc: dt-bindings: qcom: add gpr bindings
        soc: qcom: apr: make code more reuseable
        soc: dt-bindings: qcom: apr: deprecate qcom,apr-domain property
        soc: dt-bindings: qcom: apr: convert to yaml
        dt-bindings: soc: qcom: aoss: Delete unused power-domain definitions
        dt-bindings: msm/dp: Remove aoss-qmp header
        soc: qcom: aoss: Drop power domain support
        dt-bindings: soc: qcom: aoss: Drop the load state power-domain
        soc: qcom: smp2p: Add wakeup capability to SMP2P IRQ
        dt-bindings: power: rpmpd: Add SM6350 to rpmpd binding
        dt-bindings: soc: qcom: aoss: Add SM6350 compatible
        soc: qcom: llcc: Disable MMUHWT retention
        soc: qcom: smd-rpm: Add QCM2290 compatible
        dt-bindings: soc: qcom: smd-rpm: Add QCM2290 compatible
        firmware: qcom_scm: Add compatible for MSM8953 SoC
        dt-bindings: firmware: qcom-scm: Document msm8953 bindings
        soc: qcom: pdr: Prefer strscpy over strcpy
        soc: qcom: rpmh-rsc: Make use of the helper function devm_platform_ioremap_resource_byname()
        soc: qcom: gsbi: Make use of the helper function devm_platform_ioremap_resource()
        ...
      
      Link: https://lore.kernel.org/r/20211012173442.1017010-1-bjorn.andersson@linaro.orgSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      936fc53f
    • Jernej Skrabec's avatar
      bus: sun50i-de2: Adjust printing error message · 50ac48ae
      Jernej Skrabec authored
      SRAM driver often returns -EPROBE_DEFER and thus this bus driver often
      prints error message, even if it probes successfully later. This is
      confusing for users and they often think that something is wrong.
      
      Use dev_err_probe() helper for printing error message. It handles
      -EPROBE_DEFER automatically.
      Signed-off-by: default avatarJernej Skrabec <jernej.skrabec@gmail.com>
      Reviewed-by: default avatarAndre Przywara <andre.przywara@arm.com>
      Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
      Link: https://lore.kernel.org/r/20211010071812.145178-1-jernej.skrabec@gmail.com
      50ac48ae
  5. 12 Oct, 2021 1 commit
  6. 11 Oct, 2021 9 commits
  7. 10 Oct, 2021 1 commit
  8. 08 Oct, 2021 5 commits
  9. 07 Oct, 2021 7 commits
  10. 06 Oct, 2021 3 commits