[GIT PULL] remoteproc updates for v5.11

From: Bjorn Andersson
Date: Tue Dec 15 2020 - 13:09:12 EST


The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec:

Linux 5.10-rc1 (2020-10-25 15:14:11 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 3efa0ea743b77d1611501f7d8b4f320d032d73ae:

remoteproc/mediatek: read IPI buffer offset from FW (2020-12-10 13:32:10 -0600)

----------------------------------------------------------------
remoteproc updates for v5.11

This introduces support for controlling the TI PRU, adds hooks for
remoteproc drivers to override the default ELF based coredump format,
introduces a library function for coredumps using named sections (aka
the Qualcomm "minidump" format). It fixes a problem with inconsistent
notifications sent by the Qualcomm sysmon driver to the remote
processors and it migrates the Qualcomm MSS driver to use power-domains
for resources that aren't actually regulators. Lastly it contains a
number of fixes for minor bugs and build warnings throughout the
drivers.

----------------------------------------------------------------
Alexandre Courbot (1):
remoteproc/mtk_scp: surround DT device IDs with CONFIG_OF

Arnaud Pouliquen (3):
dt-bindings: arm: stm32: Add compatible for syscon tamp node
dt-bindings: remoteproc: stm32_rproc: update for firmware synchronization
dt-bindings: remoteproc: stm32_rproc: update syscon descriptions

Arnd Bergmann (2):
remoteproc: ti_k3: fix -Wcast-function-type warning
remoteproc: sysmon: fix shutdown_acked state

Bjorn Andersson (4):
remoteproc: sysmon: Ensure remote notification ordering
remoteproc: sysmon: Expose the shutdown result
remoteproc: qcom: q6v5: Query sysmon before graceful shutdown
remoteproc: sysmon: Improve error messages

Colin Ian King (1):
remoteproc: fix spelling mistake "Peripherial" -> "Peripherial" in Kconfig

Grzegorz Jaszczyk (1):
remoteproc: pru: Add support for PRU specific interrupt configuration

Rikard Falkeborn (3):
remoteproc: ingenic: Constify ingenic_rproc_ops
remoteproc: stm32: Constify st_rproc_ops
remoteproc: qcom_sysmon: Constify qmi_indication_handler

Sibi Sankar (2):
remoteproc: qcom_q6v5_mss: Replace ioremap with memremap
remoteproc: qcom_q6v5_mss: map/unmap MBA region before/after use

Siddharth Gupta (4):
remoteproc: core: Add ops to enable custom coredump functionality
remoteproc: coredump: Add minidump functionality
remoteproc: qcom: Add capability to collect minidumps
remoteproc: qcom: Add minidump id for sm8150 modem

Souptick Joarder (1):
remoteproc/mediatek: Fix kernel test robot warning

Stephan Gerhold (4):
dt-bindings: remoteproc: qcom: Deprecate regulators for Q6V5 PDs
remoteproc: qcom_q6v5_mss: Allow replacing regulators with power domains
dt-bindings: remoteproc: qcom,wcnss: Deprecate regulators for PDs
remoteproc: qcom_wcnss: Allow replacing regulators with power domains

Suman Anna (9):
remoteproc: Add a rproc_set_firmware() API
dt-bindings: remoteproc: k3-r5f: Update bindings for J7200 SoCs
remoteproc: k3-r5: Extend support to R5F clusters on J7200 SoCs
remoteproc: k3-r5: Adjust TCM sizes in Split-mode on J7200 SoCs
dt-bindings: remoteproc: Add binding doc for PRU cores in the PRU-ICSS
remoteproc: pru: Add a PRU remoteproc driver
remoteproc: pru: Add pru-specific debugfs support
remoteproc: pru: Add support for various PRU cores on K3 AM65x SoCs
remoteproc: pru: Add support for various PRU cores on K3 J721E SoCs

Tzung-Bi Shih (7):
remoteproc/mediatek: fix sparse errors on sram power on and off
remoteproc/mediatek: fix sparse errors on dma_alloc and dma_free
remoteproc/mediatek: fix boundary check
remoteproc/mediatek: skip if filesz is 0
remoteproc/mediatek: change MT8192 CFG register base
remoteproc/mediatek: unprepare clk if scp_before_load fails
remoteproc/mediatek: read IPI buffer offset from FW

YueHaibing (1):
remoteproc: k3-dsp: Fix return value check in k3_dsp_rproc_of_get_memories()

Zhang Changzhong (1):
remoteproc: qcom: Fix potential NULL dereference in adsp_init_mmio()

Zhang Qilong (3):
remoteproc: q6v5-mss: fix error handling in q6v5_pds_enable
remoteproc: qcom: fix reference leak in adsp_start
remoteproc: qcom: pas: fix error handling in adsp_pds_enable

.../bindings/arm/stm32/st,stm32-syscon.yaml | 1 +
.../devicetree/bindings/remoteproc/qcom,q6v5.txt | 12 +-
.../bindings/remoteproc/qcom,wcnss-pil.txt | 20 +-
.../bindings/remoteproc/st,stm32-rproc.yaml | 21 +-
.../bindings/remoteproc/ti,k3-r5f-rproc.yaml | 2 +
.../bindings/remoteproc/ti,pru-rproc.yaml | 214 +++++
drivers/remoteproc/Kconfig | 14 +-
drivers/remoteproc/Makefile | 1 +
drivers/remoteproc/ingenic_rproc.c | 2 +-
drivers/remoteproc/mtk_common.h | 30 +-
drivers/remoteproc/mtk_scp.c | 116 ++-
drivers/remoteproc/pru_rproc.c | 875 +++++++++++++++++++++
drivers/remoteproc/pru_rproc.h | 46 ++
drivers/remoteproc/qcom_common.c | 146 ++++
drivers/remoteproc/qcom_common.h | 8 +
drivers/remoteproc/qcom_q6v5.c | 8 +-
drivers/remoteproc/qcom_q6v5.h | 3 +-
drivers/remoteproc/qcom_q6v5_adsp.c | 15 +-
drivers/remoteproc/qcom_q6v5_mss.c | 124 ++-
drivers/remoteproc/qcom_q6v5_pas.c | 35 +-
drivers/remoteproc/qcom_q6v5_wcss.c | 2 +-
drivers/remoteproc/qcom_sysmon.c | 118 ++-
drivers/remoteproc/qcom_wcnss.c | 109 ++-
drivers/remoteproc/remoteproc_core.c | 69 +-
drivers/remoteproc/remoteproc_coredump.c | 140 ++++
drivers/remoteproc/remoteproc_elf_helpers.h | 26 +
drivers/remoteproc/remoteproc_sysfs.c | 33 +-
drivers/remoteproc/stm32_rproc.c | 2 +-
drivers/remoteproc/ti_k3_dsp_remoteproc.c | 4 +-
drivers/remoteproc/ti_k3_r5_remoteproc.c | 113 ++-
include/linux/remoteproc.h | 4 +
31 files changed, 2101 insertions(+), 212 deletions(-)
create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml
create mode 100644 drivers/remoteproc/pru_rproc.c
create mode 100644 drivers/remoteproc/pru_rproc.h