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/andersson/remoteproc.git tags/rproc-v5.8 for you to fetch changes up to 7dcef3988eedbfb40e7e95a821966a029a5a465b: remoteproc: Fix an error code in devm_rproc_alloc() (2020-05-20 12:12:07 -0700) ---------------------------------------------------------------- remoteproc updates for v5.8 This introduces device managed versions of functions used to register remoteproc devices, add support for remoteproc driver specific resource control, enables remoteproc drivers to specify ELF class and machine for coredumps. It integrates pm_runtime in the core for keeping resources active while the remote is booted and holds a wake source while recoverying a remote processor after a firmware crash. It refactors the remoteproc device's allocation path to simplify the logic, fix a few cleanup bugs and to not clone const strings onto the heap. Debugfs code is simplifies using the DEFINE_SHOW_ATTRIBUTE and a zero-length array is replaced with flexible-array. A new remoteproc driver for the JZ47xx VPU is introduced, the Qualcomm SM8250 gains support for audio, compute and sensor remoteprocs and the Qualcomm SC7180 modem support is cleaned up and improved. The Qualcomm glink subsystem-restart driver is merged into the main glink driver, the Qualcomm sysmon driver is extended to properly notify remote processors about all other remote processors' state transitions. ---------------------------------------------------------------- Alex Elder (1): remoteproc: Fix IDR initialisation in rproc_alloc() Bjorn Andersson (6): remoteproc: qcom: Pass ssr_name to glink subdevice soc: qcom: glink_ssr: Internalize ssr_notifiers rpmsg: glink: Integrate glink_ssr in qcom_glink dt-bindings: remoteproc: qcom: pas: Add SM8250 remoteprocs remoteproc: qcom: pas: Add SM8250 PAS remoteprocs remoteproc: wcss: Fix arguments passed to qcom_add_glink_subdev() Christophe JAILLET (1): remoteproc: Add missing '\n' in log messages Clement Leger (3): remoteproc: add rproc_coredump_set_elf_info remoteproc: use rproc_coredump_set_elf_info in drivers remoteproc: remove rproc_elf32_sanity_check Dan Carpenter (1): remoteproc: Fix an error code in devm_rproc_alloc() Gustavo A. R. Silva (1): remoteproc: Replace zero-length array with flexible-array Loic Pallardy (1): remoteproc: Add prepare and unprepare ops Mathieu Poirier (6): remoteproc: Split firmware name allocation from rproc_alloc() remoteproc: Simplify default name allocation remoteproc: Use kstrdup_const() rather than kstrdup() remoteproc: Restructure firmware name allocation remoteproc: Split rproc_ops allocation from rproc_alloc() remoteproc: Get rid of tedious error path Paul Cercueil (5): remoteproc: Add device-managed variants of rproc_alloc/rproc_add dt-bindings: Document JZ47xx VPU auxiliary processor remoteproc: Add support for runtime PM remoteproc: ingenic: Added remoteproc driver MAINTAINERS: Add myself as reviewer for Ingenic rproc driver Rishabh Bhatnagar (1): remoteproc: core: Prevent system suspend during remoteproc recovery Sibi Sankar (8): dt-bindings: remoteproc: qcom: Add SC7180 MPSS support remoteproc: qcom: pas: Add SC7180 Modem support dt-bindings: remoteproc: qcom: Use memory-region to reference memory remoteproc: qcom_q6v5_mss: Extract mba/mpss from memory-region dt-bindings: remoteproc: qcom: Replace halt-nav with spare-regs remoteproc: qcom_q6v5_mss: Drop accesses to MPSS PERPH register space remoteproc: qcom_q6v5_mss: map/unmap mpss segments before/after use remoteproc: qcom_q6v5_mss: Remove unused q6v5_da_to_va function Siddharth Gupta (3): remoteproc: sysmon: Add ability to send type of notification remoteproc: sysmon: Add notifications for events remoteproc: sysmon: Inform current rproc about all active rprocs Sivaprakash Murugesan (1): remoteproc: wcss: add support for rpmsg communication Suman Anna (2): remoteproc: Use a local copy for the name field remoteproc: Fix and restore the parenting hierarchy for vdev Tero Kristo (1): remoteproc: Fall back to using parent memory pool if no dedicated available Wei Yongjun (1): remoteproc/mediatek: fix invalid use of sizeof in scp_ipi_init() Yangtao Li (1): remoteproc: convert to DEFINE_SHOW_ATTRIBUTE .../bindings/remoteproc/ingenic,vpu.yaml | 77 ++++++ .../devicetree/bindings/remoteproc/qcom,adsp.txt | 12 + .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 22 +- MAINTAINERS | 1 + drivers/remoteproc/Kconfig | 9 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/ingenic_rproc.c | 280 +++++++++++++++++++++ drivers/remoteproc/mtk_scp.c | 4 +- drivers/remoteproc/qcom_common.c | 17 +- drivers/remoteproc/qcom_common.h | 5 +- drivers/remoteproc/qcom_q6v5_adsp.c | 3 +- drivers/remoteproc/qcom_q6v5_mss.c | 173 +++++-------- drivers/remoteproc/qcom_q6v5_pas.c | 68 ++++- drivers/remoteproc/qcom_q6v5_wcss.c | 6 + drivers/remoteproc/qcom_sysmon.c | 116 +++++++-- drivers/remoteproc/qcom_wcnss.c | 1 + drivers/remoteproc/remoteproc_core.c | 243 ++++++++++++++---- drivers/remoteproc/remoteproc_debugfs.c | 28 +-- drivers/remoteproc/remoteproc_elf_loader.c | 24 -- drivers/remoteproc/remoteproc_internal.h | 17 +- drivers/remoteproc/remoteproc_virtio.c | 15 +- drivers/remoteproc/st_remoteproc.c | 2 +- drivers/remoteproc/st_slim_rproc.c | 2 +- drivers/remoteproc/stm32_rproc.c | 3 +- drivers/rpmsg/Kconfig | 6 +- drivers/rpmsg/Makefile | 3 +- .../qcom/glink_ssr.c => rpmsg/qcom_glink_ssr.c} | 28 ++- drivers/soc/qcom/Kconfig | 9 - drivers/soc/qcom/Makefile | 1 - include/linux/remoteproc.h | 19 +- include/linux/rpmsg/qcom_glink.h | 3 +- 31 files changed, 921 insertions(+), 277 deletions(-) create mode 100644 Documentation/devicetree/bindings/remoteproc/ingenic,vpu.yaml create mode 100644 drivers/remoteproc/ingenic_rproc.c rename drivers/{soc/qcom/glink_ssr.c => rpmsg/qcom_glink_ssr.c} (83%)