[GIT PULL] remoteproc updates for v5.20

From: Bjorn Andersson
Date: Mon Aug 08 2022 - 15:01:10 EST


The following changes since commit b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3:

Linux 5.19-rc2 (2022-06-12 16:11:37 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git tags/rproc-v5.20

for you to fetch changes up to 8447d0e75099eb54eea9306c2d43ecfc956d09ed:

remoteproc: qcom_q6v5_pas: Do not fail if regulators are not found (2022-08-08 10:32:17 -0500)

----------------------------------------------------------------
remoteproc updates for v5.20

This introduces support for the remoteproc on Mediatek MT8188, and
enables caches for MT8186 SCP. It adds support for PRU cores found on
the TI K3 AM62x SoCs.

It moves the recovery work after a firmware crash to an unbound
workqueue, to allow recovery to happen in parallel.

A new DMA API is introduced to release dma_mem for a device.

It adds support a panic handler for the Qualcomm modem remoteproc, with
the goal of having caches flushed in memory dumps for post-mortem
debugging and it introduces a mechanism to wait for the modem firmware
on SM8450 to decrypt part of its memory for post-mortem debugging.

Qualcomm sysmon is restricted to only inform remote processors about
peers that are actually running, to avoid a race where Linux tries to
notify a recovering remote processor about its peers new state. A
mechanism for waiting for the sysmon connection to be established is also
introduced, to avoid out-of-sync updates for rapidly restarting remote
processors.

A number of Devicetree binding cleanups and conversions to YAML are
introduced, to facilitate Devicetree validation. Lastly it introduces a
number of smaller fixes and cleanups in the core and a few different
drivers.

----------------------------------------------------------------
Abel Vesa (1):
remoteproc: qcom_q6v5_pas: Deal silently with optional px and cx regulators

Allen-KH Cheng (1):
remoteproc: mediatek: Enable cache for mt8186 SCP

Dmitry Baryshkov (1):
remoteproc: qcom: q6v5-mss: add powerdomains to MSM8996 config

Kishon Vijay Abraham I (3):
dt-bindings: remoteproc: pru: Re-arrange "compatible" in alphabetic order
dt-bindings: remoteproc: pru: Update bindings for K3 AM62x SoCs
remoteproc: pru: Add support for various PRU cores on K3 AM62x SoCs

Krzysztof Kozlowski (8):
dt-bindings: remoteproc: remove unneeded ref for names
dt-bindings: remoteproc: qcom,adsp: add interconnects
dt-bindings: remoteproc: qcom,adsp: simplify interrupts
dt-bindings: remoteproc: qcom,adsp: simplify SM8150 power domains
dt-bindings: remoteproc: qcom,adsp: use GIC_SPI defines in example
dt-bindings: remoteproc: qcom,glink-edge: define re-usable schema for glink-edge
dt-bindings: remoteproc: qcom,smd-edge: define re-usable schema for smd-edge
remoteproc: qcom: correct kerneldoc

Luca Weiss (1):
dt-bindings: remoteproc: qcom: q6v5: fix example

Manivannan Sadhasivam (1):
remoteproc: qcom_q6v5_pas: Do not fail if regulators are not found

Mark-PK Tsai (2):
dma-mapping: Add dma_release_coherent_memory to DMA API
remoteproc: Fix dma_mem leak after rproc_shutdown

Miaoqian Lin (2):
remoteproc: k3-r5: Fix refcount leak in k3_r5_cluster_of_init
remoteproc: imx_rproc: Fix refcount leak in imx_rproc_addr_init

Minghao Chi (1):
remoteproc: using pm_runtime_resume_and_get instead of pm_runtime_get_sync

Mukesh Ojha (1):
remoteproc: Use unbounded workqueue for recovery work

Ren Zhijie (1):
dma-mapping: Fix build error unused-value

Sibi Sankar (7):
dt-bindings: remoteproc: qcom: Convert SC7280 MSS bindings to YAML
dt-bindings: remoteproc: qcom: Convert SC7180 MSS bindings to YAML
remoteproc: qcom_q6v5_mss: map/unmap metadata region before/after use
remoteproc: qcom_q6v5_mss: Update MBA log info
remoteproc: qcom_q6v5: Introduce panic handler for MSS
remoteproc: qcom: pas: Add decrypt shutdown support for modem
remoteproc: sysmon: Wait for SSCTL service to come up

Siddharth Gupta (5):
remoteproc: qcom: pas: Mark va as io memory
remoteproc: qcom: pas: Mark devices as wakeup capable
remoteproc: qcom: pas: Check if coredump is enabled
remoteproc: qcom: q6v5: Set q6 state to offline on receiving wdog irq
remoteproc: sysmon: Send sysmon state only for running rprocs

Sireesh Kodali (1):
remoteproc: qcom: wcnss: Fix handling of IRQs

Tinghan Shen (2):
dt-bindings: remoteproc: mediatek: Add binding for mt8188 scp
remoteproc: mediatek: Support MT8188 SCP

Xiang wangx (1):
remoteproc: omap_remoteproc: Fix typo in comment

keliu (1):
remoteproc: Directly use ida_alloc()/free()

ran jianping (1):
remoteproc: qcom: using pm_runtime_resume_and_get to simplify the code

wangjianli (1):
drivers/remoteproc: fix repeated words in comments

.../devicetree/bindings/remoteproc/mtk,scp.yaml | 2 +
.../devicetree/bindings/remoteproc/qcom,adsp.yaml | 74 +++---
.../bindings/remoteproc/qcom,glink-edge.yaml | 72 ++++++
.../devicetree/bindings/remoteproc/qcom,q6v5.txt | 88 ++-----
.../bindings/remoteproc/qcom,qcs404-cdsp-pil.yaml | 1 -
.../bindings/remoteproc/qcom,sc7180-mss-pil.yaml | 245 +++++++++++++++++++
.../bindings/remoteproc/qcom,sc7280-mss-pil.yaml | 266 +++++++++++++++++++++
.../bindings/remoteproc/qcom,sc7280-wpss-pil.yaml | 21 +-
.../bindings/remoteproc/qcom,sdm845-adsp-pil.yaml | 1 -
.../bindings/remoteproc/qcom,smd-edge.yaml | 85 +++++++
.../bindings/remoteproc/ti,pru-rproc.yaml | 5 +-
.../devicetree/bindings/soc/qcom/qcom,smd.yaml | 50 +---
drivers/remoteproc/imx_rproc.c | 7 +-
drivers/remoteproc/keystone_remoteproc.c | 3 +-
drivers/remoteproc/mtk_scp.c | 23 +-
drivers/remoteproc/omap_remoteproc.c | 6 +-
drivers/remoteproc/pru_rproc.c | 1 +
drivers/remoteproc/qcom_common.c | 4 +-
drivers/remoteproc/qcom_q6v5.c | 4 +
drivers/remoteproc/qcom_q6v5_adsp.c | 3 +-
drivers/remoteproc/qcom_q6v5_mss.c | 54 ++++-
drivers/remoteproc/qcom_q6v5_pas.c | 105 ++++++--
drivers/remoteproc/qcom_sysmon.c | 16 +-
drivers/remoteproc/qcom_wcnss.c | 10 +-
drivers/remoteproc/remoteproc_core.c | 24 +-
drivers/remoteproc/ti_k3_r5_remoteproc.c | 2 +
include/linux/dma-map-ops.h | 3 +
kernel/dma/coherent.c | 10 +-
28 files changed, 958 insertions(+), 227 deletions(-)
create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml
create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sc7180-mss-pil.yaml
create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sc7280-mss-pil.yaml
create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,smd-edge.yaml