mbox series

[GIT,PULL] Qualcomm driver updates for v5.8

Message ID 20200519052533.1250024-1-bjorn.andersson@linaro.org (mailing list archive)
State Mainlined, archived
Commit 1f7a3eb785e4a4e196729cd3d5ec97bd5f9f2940
Headers show
Series [GIT,PULL] Qualcomm driver updates for v5.8 | expand

Pull-request

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

Message

Bjorn Andersson May 19, 2020, 5:25 a.m. UTC
The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136:

  Linux 5.7-rc1 (2020-04-12 12:35:55 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 1f7a3eb785e4a4e196729cd3d5ec97bd5f9f2940:

  Revert "soc: qcom: rpmh: Allow RPMH driver to be loaded as a module" (2020-05-17 23:13:00 -0700)

----------------------------------------------------------------
Qualcomm driver updates for v5.8

This contains a large set of cleanups, bug fixes, general improvements
and documentation fixes for the RPMH driver. It adds a debugfs mechanism
for inspecting Command DB. Socinfo got the "soc_id" attribute defines
and definitions for a various variants of MSM8939.

RPMH, RPMPD and RPMHPD where made possible to build as modules, but RPMH
had to be reverted due to a compilation issue when tracing is enabled.

RPMHPD gained power-domains for the SM8250 voltage corners.

The SCM driver gained fixes for two build warnings and the SMP2P had an
unnecessary error print removed.

----------------------------------------------------------------
Bjorn Andersson (3):
      soc: qcom: rpmhpd: Add SM8250 power domains
      soc: qcom: aoss: Add SM8250 compatible
      Revert "soc: qcom: rpmh: Allow RPMH driver to be loaded as a module"

Christoph Hellwig (1):
      firmware: qcom_scm: fix bogous abuse of dma-direct internals

Douglas Anderson (18):
      soc: qcom: rpmh-rsc: Clean code reading/writing TCS regs/cmds
      soc: qcom: rpmh-rsc: Document the register layout better
      soc: qcom: rpmh-rsc: Fold tcs_ctrl_write() into its single caller
      soc: qcom: rpmh-rsc: Remove get_tcs_of_type() abstraction
      soc: qcom: rpmh-rsc: Kill cmd_cache and find_match() with fire
      soc: qcom: rpmh-rsc: A lot of comments
      soc: qcom: rpmh-rsc: tcs_is_free() can just check tcs_in_use
      soc: qcom: rpmh-rsc: Don't double-check rpmh payload
      soc: qcom: rpmh-rsc: Caller handles tcs_invalidate() exclusivity
      soc: qcom: rpmh-rsc: read_tcs_reg()/write_tcs_reg() are not for IRQ
      soc: qcom: rpmh: Dirt can only make you dirtier, not cleaner
      soc: qcom: rpmh-rsc: Factor "tcs_reg_addr" and "tcs_cmd_addr" calculation
      soc: qcom: rpmh-rsc: Timeout after 1 second in write_tcs_reg_sync()
      soc: qcom: rpmh-rsc: Correctly ignore CPU_CLUSTER_PM notifications
      soc: qcom: rpmh-rsc: We aren't notified of our own failure w/ NOTIFY_BAD
      kernel/cpu_pm: Fix uninitted local in cpu_pm
      soc: qcom: rpmh-rsc: Simplify locking by eliminating the per-TCS lock
      soc: qcom: rpmh-rsc: Remove the pm_lock

Gustavo A. R. Silva (1):
      firmware: qcom_scm-legacy: Replace zero-length array with flexible-array

Jason Yan (1):
      firmware: qcom_scm: Remove unneeded conversion to bool

John Stultz (3):
      soc: qcom: rpmh: Allow RPMH driver to be loaded as a module
      soc: qcom: rpmhpd: Allow RPMHPD driver to be loaded as a module
      soc: qcom: rpmpd: Allow RPMPD driver to be loaded as a module

Markus Elfring (1):
      soc: qcom: smp2p: Delete an error message in qcom_smp2p_probe()

Maulik Shah (4):
      soc: qcom: rpmh: Update dirty flag only when data changes
      soc: qcom: rpmh: Invalidate SLEEP and WAKE TCSes before flushing new data
      soc: qcom: rpmh: Invoke rpmh_flush() for dirty caches
      soc: qcom: rpmh-rsc: Allow using free WAKE TCS for active request

Raju P.L.S.S.S.N (1):
      soc: qcom: rpmh-rsc: Clear active mode configuration for wake TCS

Sibi Sankar (2):
      soc: qcom: cmd-db: Fix compilation error when CMD_DB is disabled
      soc: qcom: pdr: Remove impossible error condition

Srinivas Kandagatla (1):
      soc: qcom: socinfo: add missing soc_id sysfs entry

Stephan Gerhold (1):
      dt-bindings: soc: qcom: apr: Use generic node names for APR services

Stephen Boyd (4):
      soc: qcom: cmd-db: Add debugfs dumping file
      soc: qcom: cmd-db: Cast sizeof() to int to silence field width warning
      soc: qcom: cmd-db: Use 5 digits for printing address
      soc: qcom: cmd-db: Properly endian swap the slv_id for debugfs

Vincent Knecht (1):
      soc: qcom: socinfo: add msm8936/39 and apq8036/39 soc ids

 .../devicetree/bindings/power/qcom,rpmpd.yaml      |   1 +
 .../devicetree/bindings/soc/qcom/qcom,aoss-qmp.txt |   1 +
 .../devicetree/bindings/soc/qcom/qcom,apr.txt      |  20 +-
 drivers/firmware/qcom_scm-legacy.c                 |   2 +-
 drivers/firmware/qcom_scm.c                        |  11 +-
 drivers/soc/qcom/Kconfig                           |   6 +-
 drivers/soc/qcom/cmd-db.c                          |  78 ++-
 drivers/soc/qcom/pdr_interface.c                   |   4 -
 drivers/soc/qcom/qcom_aoss.c                       |   1 +
 drivers/soc/qcom/rpmh-internal.h                   |  59 +-
 drivers/soc/qcom/rpmh-rsc.c                        | 746 +++++++++++++++------
 drivers/soc/qcom/rpmh.c                            |  97 ++-
 drivers/soc/qcom/rpmhpd.c                          |  24 +
 drivers/soc/qcom/rpmpd.c                           |   5 +
 drivers/soc/qcom/smp2p.c                           |   4 +-
 drivers/soc/qcom/socinfo.c                         |   6 +
 include/dt-bindings/power/qcom-rpmpd.h             |  12 +
 include/soc/qcom/cmd-db.h                          |   1 +
 kernel/cpu_pm.c                                    |   4 +-
 19 files changed, 775 insertions(+), 307 deletions(-)