mbox series

[GIT,PULL] remoteproc updates for v5.13

Message ID 20210504150351.1468612-1-bjorn.andersson@linaro.org (mailing list archive)
State Not Applicable
Headers show
Series [GIT,PULL] remoteproc updates for v5.13 | expand


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


Bjorn Andersson May 4, 2021, 3:03 p.m. UTC
The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15:

  Linux 5.12-rc2 (2021-03-05 17:33:41 -0800)

are available in the Git repository at:

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

for you to fetch changes up to edf696f26855788cdff832ac83319e1f2aafcc90:

  remoteproc: stm32: add capability to detach (2021-04-14 09:59:21 -0500)

remoteproc updates for v5.13

This adds support to the remoteproc core for detaching Linux from a
running remoteproc, e.g. to reboot Linux while leaving the remoteproc
running, and it enable this support in the stm32 remoteproc driver.

It also introduces a property for memory carveouts to track if they are
iomem or system ram, to enable proper handling of the differences.

The imx_rproc received a number of fixes and improvements, in particular
support for attaching to already running remote processors and i.MX8MQ
and i.MX8MM support.

The Qualcomm wcss driver gained support for starting and stopping the
wireless subsystem on QCS404, when not using the TrustZone-based

Finally it brings a few fixes to the TI PRU and to the firmware loader
for the Qualcomm modem subsystem drivers.

Arnaud POULIQUEN (1):
      remoteproc: stm32: Move memory parsing to rproc_ops

Arnaud Pouliquen (2):
      dt-bindings: remoteproc: stm32-rproc: add new mailbox channel for detach
      remoteproc: stm32: add capability to detach

Bjorn Andersson (3):
      remoteproc: qcom_q6v5_mss: Provide errors for firmware-name parsing
      remoteproc: qcom_q6v5_mss: Validate p_filesz in ELF loader
      remoteproc: qcom: wcnss: Allow specifying firmware-name

Govind Singh (4):
      remoteproc: qcom: wcss: populate hardcoded param using driver data
      dt-bindings: remoteproc: qcom: Add Q6V5 Modem PIL binding for QCS404
      remoteproc: qcom: wcss: Add non pas wcss Q6 support for QCS404
      remoteproc: qcom: wcss: explicitly request exclusive reset control

Jindong Yue (1):
      remoteproc: core: Remove casting to rproc_handle_resource_t

Junlin Yang (1):
      remoteproc: qcom: wcss: Remove unnecessary PTR_ERR()

Manivannan Sadhasivam (2):
      dt-bindings: remoteproc: qcom: pas: Add binding for SDX55
      remoteproc: qcom: pas: Add modem support for SDX55

Mathieu Poirier (16):
      remoteproc: Remove useless check in rproc_del()
      remoteproc: Rename function rproc_actuate()
      remoteproc: Add new RPROC_ATTACHED state
      remoteproc: Properly represent the attached state
      remoteproc: Add new get_loaded_rsc_table() to rproc_ops
      remoteproc: stm32: Move resource table setup to rproc_ops
      remoteproc: Add new detach() remoteproc operation
      remoteproc: Introduce function __rproc_detach()
      remoteproc: Introduce function rproc_detach()
      remoteproc: Properly deal with the resource table when detaching
      remoteproc: Properly deal with the resource table when stopping
      remoteproc: Properly deal with a kernel panic when attached
      remoteproc: Properly deal with a start request when attached
      remoteproc: Properly deal with a stop request when attached
      remoteproc: Properly deal with a detach request when attached
      remoteproc: Refactor function rproc_cdev_release()

Peng Fan (14):
      dt-bindings: remoteproc: convert imx rproc bindings to json-schema
      dt-bindings: remoteproc: imx_rproc: add i.MX8MQ/M support
      remoteproc: introduce is_iomem to rproc_mem_entry
      remoteproc: add is_iomem to da_to_va
      remoteproc: imx_rproc: correct err message
      remoteproc: imx_rproc: use devm_ioremap
      remoteproc: imx_rproc: add i.MX specific parse fw hook
      remoteproc: imx_rproc: support i.MX8MQ/M
      remoteproc: imx_rproc: ignore mapping vdev regions
      remoteproc: imx_proc: enable virtio/mailbox
      remoteproc: imx_rproc: add missing of_node_put
      remoteproc: imx_rproc: enlarge IMX7D_RPROC_MEM_MAX
      remoteproc: imx_rproc: move memory parsing to rproc_ops
      remoteproc: imx_rproc: support remote cores booted before Linux Kernel

Raghavendra Rao Ananta (1):
      remoteproc: sysfs: Use sysfs_emit instead of sprintf

Suman Anna (3):
      remoteproc: pru: Fixup interrupt-parent logic for fw events
      remoteproc: pru: Fix wrong success return value for fw events
      remoteproc: pru: Fix and cleanup firmware interrupt mapping logic

Wei Yongjun (4):
      remoteproc: imx_rproc: fix return value check in imx_rproc_addr_init()
      remoteproc: qcom: wcss: Fix return value check in q6v5_wcss_init_mmio()
      remoteproc: qcom: wcss: Fix wrong pointer passed to PTR_ERR()
      remoteproc: imx_rproc: fix build error without CONFIG_MAILBOX

Yang Li (1):

 .../bindings/remoteproc/fsl,imx-rproc.yaml         |  90 ++++
 .../devicetree/bindings/remoteproc/imx-rproc.txt   |  33 --
 .../devicetree/bindings/remoteproc/qcom,adsp.txt   |   4 +
 .../devicetree/bindings/remoteproc/qcom,q6v5.txt   |  15 +
 .../bindings/remoteproc/qcom,wcnss-pil.txt         |   6 +
 .../bindings/remoteproc/st,stm32-rproc.yaml        |  11 +-
 drivers/remoteproc/Kconfig                         |   7 +-
 drivers/remoteproc/imx_rproc.c                     | 322 ++++++++++-
 drivers/remoteproc/ingenic_rproc.c                 |   2 +-
 drivers/remoteproc/keystone_remoteproc.c           |   2 +-
 drivers/remoteproc/mtk_scp.c                       |   6 +-
 drivers/remoteproc/omap_remoteproc.c               |   2 +-
 drivers/remoteproc/pru_rproc.c                     |  47 +-
 drivers/remoteproc/qcom_q6v5_adsp.c                |   2 +-
 drivers/remoteproc/qcom_q6v5_mss.c                 |  26 +-
 drivers/remoteproc/qcom_q6v5_pas.c                 |  19 +-
 drivers/remoteproc/qcom_q6v5_wcss.c                | 599 +++++++++++++++++++--
 drivers/remoteproc/qcom_wcnss.c                    |  10 +-
 drivers/remoteproc/remoteproc_cdev.c               |  21 +-
 drivers/remoteproc/remoteproc_core.c               | 337 ++++++++++--
 drivers/remoteproc/remoteproc_coredump.c           |   8 +-
 drivers/remoteproc/remoteproc_debugfs.c            |   2 +-
 drivers/remoteproc/remoteproc_elf_loader.c         |  21 +-
 drivers/remoteproc/remoteproc_internal.h           |  12 +-
 drivers/remoteproc/remoteproc_sysfs.c              |  21 +-
 drivers/remoteproc/st_slim_rproc.c                 |   2 +-
 drivers/remoteproc/stm32_rproc.c                   | 205 +++----
 drivers/remoteproc/ti_k3_dsp_remoteproc.c          |   2 +-
 drivers/remoteproc/ti_k3_r5_remoteproc.c           |   2 +-
 drivers/remoteproc/wkup_m3_rproc.c                 |   2 +-
 include/linux/remoteproc.h                         |  25 +-
 31 files changed, 1569 insertions(+), 294 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml
 delete mode 100644 Documentation/devicetree/bindings/remoteproc/imx-rproc.txt


Linus Torvalds May 4, 2021, 6:22 p.m. UTC | #1
On Tue, May 4, 2021 at 8:03 AM Bjorn Andersson
<bjorn.andersson@linaro.org> wrote:
> This adds support to the remoteproc core for detaching Linux from a
> running remoteproc, e.g. to reboot Linux while leaving the remoteproc
> running, and it enable this support in the stm32 remoteproc driver.

Honestly, when explaining new functionality like this, it would be
lovely to also give an example of the _why_, not just the what.

Ie, some concrete example of "this is useful to have the remoteproc
continue scanning wireless networks" or whatever.

I'm sure there's some actual use-case for this all, but neither the
pull request nor the individual commits seem to actually explain that
"why", only the "what".

I've pulled this, but hope that these kinds of issues can be explained
better.. I think a lot of people care more about "why" than some
implementation detail "what" cases.

pr-tracker-bot@kernel.org May 4, 2021, 6:30 p.m. UTC | #2
The pull request you sent on Tue,  4 May 2021 10:03:51 -0500:

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

has been merged into torvalds/linux.git:

Thank you!