mbox series

[GIT,PULL] Qualcomm driver updates for v6.11

Message ID 20240705034410.13968-1-andersson@kernel.org
State New
Headers show
Series [GIT,PULL] Qualcomm driver updates for v6.11 | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git tags/qcom-drivers-for-6.11

Message

Bjorn Andersson July 5, 2024, 3:44 a.m. UTC
The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0:

  Linux 6.10-rc1 (2024-05-26 15:20:12 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git tags/qcom-drivers-for-6.11

for you to fetch changes up to e49380c155940cb47e291a4b3fcb7fdffee6aa4d:

  soc: qcom: smp2p: Use devname for interrupt descriptions (2024-07-01 22:31:14 -0500)

----------------------------------------------------------------
Qualcomm driver updates for v6.11

Support for Shared Memory (shm) Bridge is added, which provides a
stricter interface for handling of buffers passed to TrustZone.

The X1Elite platform is added to uefisecapp allow list, to instantiate
the efivars implementation.

A new in-kernel implementation of the pd-mapper (or servreg) service is
introduced, to replace the userspace dependency for USB Type-C and
battery management.

Support for sharing interrupts across multiple bwmon instances is added,
and a refcount imbalance issue is corrected.

The LLCC support for recent platforms is corrected, and SA8775P support
is added.

A new interface is added to SMEM, to expose "feature codes". One example
of the usecase for this is to indicate to the GPU driver which
frequencies are available on the given device.

The interrupt consumer and provider side of SMP2P is updated to provide
more useful names in interrupt stats.

Support for using the mailbox binding and driver for outgoing IPC
interrupt in the SMSM driver is introduced.

socinfo driver learns about SDM670 and IPQ5321, as well as get some
updates to the X1E PMICs.

pmic_glink is bumped to now support managing 3 USB Type-C ports.

----------------------------------------------------------------
Abel Vesa (1):
      soc: qcom: pmic_glink: Increase max ports to 3

Bartosz Golaszewski (14):
      dt-bindings: firmware: qcom,scm: add memory-region for sa8775p
      firmware: qcom: add a dedicated TrustZone buffer allocator
      firmware: qcom: scm: enable the TZ mem allocator
      firmware: qcom: scm: smc: switch to using the SCM allocator
      firmware: qcom: scm: make qcom_scm_assign_mem() use the TZ allocator
      firmware: qcom: scm: make qcom_scm_ice_set_key() use the TZ allocator
      firmware: qcom: scm: make qcom_scm_lmh_dcvsh() use the TZ allocator
      firmware: qcom: scm: make qcom_scm_qseecom_app_get_id() use the TZ allocator
      firmware: qcom: qseecom: convert to using the TZ allocator
      firmware: qcom: scm: add support for SHM bridge operations
      firmware: qcom: tzmem: enable SHM Bridge support
      firmware: qcom: scm: add support for SHM bridge memory carveout
      firmware: qcom: scm: clarify the comment in qcom_scm_pas_init_image()
      firmware: qcom: tzmem: export devm_qcom_tzmem_pool_new()

Bjorn Andersson (3):
      firmware: qcom: uefisecapp: Allow on X1E devices
      Merge branch '20240430-a750-raytracing-v3-2-7f57c5ac082d@gmail.com' into drivers-for-6.11
      Merge branch '20240622-qcom-pd-mapper-v9-0-a84ee3591c8e@linaro.org' into drivers-for-6.11

Chen Ni (1):
      soc: qcom: pmic_glink: Handle the return value of pmic_glink_init

Chris Lew (1):
      soc: qcom: smp2p: Use devname for interrupt descriptions

Connor Abbott (1):
      firmware: qcom: scm: Add gpu_init_regs call

Dmitry Baryshkov (5):
      soc: qcom: pdr: protect locator_addr with the main mutex
      soc: qcom: pdr: fix parsing of domains lists
      soc: qcom: pdr: extract PDR message marshalling data
      soc: qcom: add pd-mapper implementation
      soc: qcom: add missing pd-mapper dependencies

Jeff Johnson (1):
      soc: qcom: spm: add missing MODULE_DESCRIPTION()

Kathiravan Thirumoorthy (3):
      dt-bindings: arm: qcom,ids: Add SoC ID for IPQ5321
      soc: qcom: socinfo: Add SoC ID for IPQ5321
      cpufreq: qcom-nvmem: add support for IPQ5321

Konrad Dybcio (3):
      soc: qcom: socinfo: Update X1E PMICs
      soc: qcom: Move some socinfo defines to the header
      soc: qcom: smem: Add a feature code getter

Luca Weiss (4):
      dt-bindings: soc: qcom,smp2p: Mark qcom,ipc as deprecated
      dt-bindings: soc: qcom,smsm: Allow specifying mboxes instead of qcom,ipc
      soc: qcom: smsm: Support using mailbox interface
      soc: qcom: smsm: Add missing mailbox dependency to Kconfig

Richard Acayan (2):
      dt-bindings: arm: qcom,ids: Add SoC ID for SDM670
      soc: qcom: socinfo: Add SDM670 SoC ID table entry

Rohit Agarwal (1):
      dt-bindings: soc: qcom,aoss-qmp: Document the SDX75 AOSS channel

Sibi Sankar (4):
      soc: qcom: icc-bwmon: Fix refcount imbalance seen during bwmon_remove
      dt-bindings: interconnect: qcom,msm8998-bwmon: Remove opp-table from the required list
      dt-bindings: interconnect: qcom,msm8998-bwmon: Add X1E80100 BWMON instances
      soc: qcom: icc-bwmon: Allow for interrupts to be shared across instances

Stephen Boyd (1):
      soc: qcom: rpmh-rsc: Ensure irqs aren't disabled by rpmh_rsc_send_data() callers

Tengfei Fan (2):
      dt-bindings: cache: qcom,llcc: Add SA8775p description
      soc: qcom: llcc: Add llcc configuration support for the SA8775p platform

Unnathi Chalicheemala (3):
      firmware: qcom-scm: Remove QCOM_SMC_WAITQ_FLAG_WAKE_ALL
      dt-bindings: arm: msm: Add llcc Broadcast_AND register
      soc: qcom: llcc: Add regmap for Broadcast_AND region

 .../devicetree/bindings/cache/qcom,llcc.yaml       |  55 +-
 .../devicetree/bindings/firmware/qcom,scm.yaml     |  15 +
 .../bindings/interconnect/qcom,msm8998-bwmon.yaml  |   3 +-
 .../bindings/soc/qcom/qcom,aoss-qmp.yaml           |   1 +
 .../devicetree/bindings/soc/qcom/qcom,smp2p.yaml   |   3 +-
 .../devicetree/bindings/soc/qcom/qcom,smsm.yaml    |  30 +-
 MAINTAINERS                                        |   8 +
 drivers/cpufreq/qcom-cpufreq-nvmem.c               |   1 +
 drivers/firmware/qcom/Kconfig                      |  31 +
 drivers/firmware/qcom/Makefile                     |   1 +
 drivers/firmware/qcom/qcom_qseecom_uefisecapp.c    | 256 +++-----
 drivers/firmware/qcom/qcom_scm-smc.c               |  30 +-
 drivers/firmware/qcom/qcom_scm.c                   | 197 ++++--
 drivers/firmware/qcom/qcom_scm.h                   |   9 +
 drivers/firmware/qcom/qcom_tzmem.c                 | 467 ++++++++++++++
 drivers/firmware/qcom/qcom_tzmem.h                 |  13 +
 drivers/soc/qcom/Kconfig                           |  18 +
 drivers/soc/qcom/Makefile                          |   2 +
 drivers/soc/qcom/icc-bwmon.c                       |  16 +-
 drivers/soc/qcom/llcc-qcom.c                       |  51 +-
 drivers/soc/qcom/pdr_interface.c                   |   8 +-
 drivers/soc/qcom/pdr_internal.h                    | 318 +---------
 drivers/soc/qcom/pmic_glink.c                      |  13 +-
 drivers/soc/qcom/pmic_glink_altmode.c              |   2 +-
 drivers/soc/qcom/qcom_pd_mapper.c                  | 677 +++++++++++++++++++++
 drivers/soc/qcom/qcom_pdr_msg.c                    | 353 +++++++++++
 drivers/soc/qcom/rpmh-rsc.c                        |   7 +-
 drivers/soc/qcom/rpmh.c                            |   1 -
 drivers/soc/qcom/smem.c                            |  33 +
 drivers/soc/qcom/smp2p.c                           |  11 +-
 drivers/soc/qcom/smsm.c                            |  51 +-
 drivers/soc/qcom/socinfo.c                         |  13 +-
 drivers/soc/qcom/spm.c                             |   1 +
 include/dt-bindings/arm/qcom,ids.h                 |   2 +
 include/linux/firmware/qcom/qcom_qseecom.h         |   8 +-
 include/linux/firmware/qcom/qcom_scm.h             |  37 +-
 include/linux/firmware/qcom/qcom_tzmem.h           |  56 ++
 include/linux/soc/qcom/llcc-qcom.h                 |   4 +-
 include/linux/soc/qcom/smem.h                      |   1 +
 include/linux/soc/qcom/socinfo.h                   |  34 ++
 40 files changed, 2266 insertions(+), 571 deletions(-)
 create mode 100644 drivers/firmware/qcom/qcom_tzmem.c
 create mode 100644 drivers/firmware/qcom/qcom_tzmem.h
 create mode 100644 drivers/soc/qcom/qcom_pd_mapper.c
 create mode 100644 drivers/soc/qcom/qcom_pdr_msg.c
 create mode 100644 include/linux/firmware/qcom/qcom_tzmem.h