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/remoteproc/linux.git tags/rproc-v6.11 for you to fetch changes up to 19cb6058620620e68f1a9aed99393be5c3629db4: remoteproc: mediatek: Increase MT8188/MT8195 SCP core0 DRAM size (2024-07-08 09:57:16 -0600) ---------------------------------------------------------------- remoteproc updates for v6.11 The maximum amount of DDR memory used by the Mediatek MT8188/MT8195 SCP is increased, to handle new use cases. Handling of optional L1TCM memory is made actually optional. An optimization is introduced to only clear the unused portion of IPI shared buffers, rather than the entire buffer before writing the message. Detection for IPC-only mode in the TI K3 DSP remoteproc driver is corrected. The loglevel of a debug print in the same is lowered from error. Support for attaching to an running remote processor is added to the Xilinx R5F. An in-kernel implementation of the Qualcomm "protected domain mapper" (aka service registry) service is introduced, to remove the dependency on a userspace implementation to detect when the battery monitor and USB Type-C port manager becomes available. This is then integrated with the Qualcomm remoteproc driver. The Qualcomm PAS remoteproc driver gains support for attempting to bust hwspinlocks held by the remote processor when it crashed/stopped. The TI OMAP remoteproc driver is transitioned to use devres helpers for various forms of allocations. Parsing of memory-regions in the i.MX remoteproc driver is improved to avoid a NULL pointer dereference if the phandle reference is empty. of_node reference counting is corrected in the same. ---------------------------------------------------------------- Aleksandr Mishin (2): remoteproc: imx_rproc: Skip over memory region when node value is NULL remoteproc: imx_rproc: Fix refcount mistake in imx_rproc_addr_init Andrew Davis (3): remoteproc: omap: Use devm_rproc_alloc() helper remoteproc: omap: Use devm action to release reserved memory remoteproc: omap: Use devm_rproc_add() helper AngeloGioacchino Del Regno (1): remoteproc: mediatek: Zero out only remaining bytes of IPI buffer Bjorn Andersson (2): Merge branch '20240529-hwspinlock-bust-v3-2-c8b924ffa5a2@xxxxxxxxxxx' into rproc-next Merge branch '20240622-qcom-pd-mapper-v9-0-a84ee3591c8e@xxxxxxxxxx' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into rproc-next Chris Lew (1): soc: qcom: smem: Add qcom_smem_bust_hwspin_lock_by_host() Dmitry Baryshkov (6): 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 remoteproc: qcom: enable in-kernel PD mapper remoteproc: qcom: select AUXILIARY_BUS Frank Li (1): dt-bindings: remoteproc: imx_rproc: Add minItems for power-domain Garrett Giordano (1): remoteproc: k3-dsp: Fix log levels where appropriate Hari Nagalla (1): dt-bindings: remoteproc: k3-dsp: Correct optional sram properties for AM62A SoCs Jason Chen (1): remoteproc: mediatek: Increase MT8188/MT8195 SCP core0 DRAM size Nícolas F. R. A. Prado (1): remoteproc: mediatek: Don't attempt to remap l1tcm memory if missing Richard Genoud (1): remoteproc: k3-r5: Fix IPC-only mode detection Richard Maina (3): hwspinlock: Introduce hwspin_lock_bust() hwspinlock: qcom: implement bust operation remoteproc: qcom_q6v5_pas: Add hwspinlock bust on stop Tanmay Shah (1): remoteproc: xlnx: Add attach detach support .../bindings/remoteproc/fsl,imx-rproc.yaml | 15 + .../bindings/remoteproc/ti,k3-dsp-rproc.yaml | 89 +-- Documentation/locking/hwspinlock.rst | 11 + drivers/hwspinlock/hwspinlock_core.c | 28 + drivers/hwspinlock/hwspinlock_internal.h | 3 + drivers/hwspinlock/qcom_hwspinlock.c | 25 + drivers/remoteproc/Kconfig | 1 + drivers/remoteproc/imx_rproc.c | 10 +- drivers/remoteproc/mtk_scp.c | 23 +- drivers/remoteproc/omap_remoteproc.c | 46 +- drivers/remoteproc/qcom_common.c | 87 +++ drivers/remoteproc/qcom_common.h | 10 + drivers/remoteproc/qcom_q6v5_adsp.c | 3 + drivers/remoteproc/qcom_q6v5_mss.c | 3 + drivers/remoteproc/qcom_q6v5_pas.c | 14 + drivers/remoteproc/qcom_q6v5_wcss.c | 3 + drivers/remoteproc/ti_k3_dsp_remoteproc.c | 2 +- drivers/remoteproc/ti_k3_r5_remoteproc.c | 13 +- drivers/remoteproc/xlnx_r5_remoteproc.c | 151 +++++ drivers/soc/qcom/Kconfig | 15 + drivers/soc/qcom/Makefile | 2 + drivers/soc/qcom/pdr_interface.c | 8 +- drivers/soc/qcom/pdr_internal.h | 318 +--------- drivers/soc/qcom/qcom_pd_mapper.c | 677 +++++++++++++++++++++ drivers/soc/qcom/qcom_pdr_msg.c | 353 +++++++++++ drivers/soc/qcom/smem.c | 26 + include/linux/hwspinlock.h | 6 + include/linux/soc/qcom/smem.h | 2 + 28 files changed, 1562 insertions(+), 382 deletions(-) create mode 100644 drivers/soc/qcom/qcom_pd_mapper.c create mode 100644 drivers/soc/qcom/qcom_pdr_msg.c