Re: [PATCH V13 00/10] remoteproc: imx_rproc: support iMX8MQ/M

From: Mathieu Poirier
Date: Thu Mar 11 2021 - 12:39:15 EST


On Thu, Mar 11, 2021 at 01:26:25AM +0000, Peng Fan (OSS) wrote:
> Mathieu,
>
> > Subject: Re: [PATCH V13 00/10] remoteproc: imx_rproc: support iMX8MQ/M
> >
> > On Sat, Mar 06, 2021 at 07:24:15PM +0800, peng.fan@xxxxxxxxxxx wrote:
> > > From: Peng Fan <peng.fan@xxxxxxx>
> > >
> > > V13:
> > > Add R-b tag from Rob for patch 1.
> > > Drop the reserved memory node from patch 2 per Rob's comment.
> > > Mathieu, Bjorn
> > > Only patch 2 not have R-b/A-b tag, but since Rob's only has a minor
> > comment, and
> > > addressed in this version, is it ok for you take into remoteproc next
> > branch?
> > > Thanks.
> >
> > As much as I want to, there is no way to move forward without an
> > acknowledgement from Rob.
>
> Rob has gave his R-b tag for patch 2/13, please help pick up this patchset.
> I really wanna this feature in which has been for a long time. Then
> I will move on to add new stuff.
>

This set looks good to me - Bjorn will likely pick it up shortly.

> Thanks,
> Peng.
>
>
> >
> > >
> > > V12:
> > > Add maxItems to avoid dt_bindings_check fail Rebased on top of
> > > linux-next
> > >
> > > V11:
> > > Per Rob's comments, fix memory-region in patch 1/10 Rebased on top
> > > of Linux-next
> > >
> > > V10:
> > > Per Rob's comments, fix patch 1/10
> > >
> > > V9:
> > > Per Mathieu's comments,
> > > update the tile of yaml in patch 2/10
> > > update the Kconfig and MODULE_DESCRIPTION, I merge this change in
> > patch 8/10,
> > > since this is a minor change, I still keep Mathieu's R-b tag. If any
> > objection, I could remove.
> > > Add R-b tag in Patch 10/10
> > >
> > > Rob, please help review patch 1/10 and 2/10
> > >
> > > V8:
> > > Address sparse warning in patch 4/10 reported by kernel test robot
> > >
> > > V7:
> > > Add R-b tag from Mathieu
> > > vdevbuffer->vdev0buffer in patch 1/10, 7/10 correct err msg and
> > > shutdown seq per Mathieu's comments in patch 10/10 Hope this version
> > > is ok to be merged.
> > >
> > > V6:
> > > Add R-b tag from Mathieu
> > > Convert imx-rproc.txt to yaml and add dt-bindings support for
> > > i.MX8MQ/M, patch 1/10 2/10 No other changes.
> > >
> > > V5:
> > > Apply on Linux next
> > > Add V5 subject prefix
> > > Add R-b tag from Bjorn for 1/8, 2/8, 3/8
> > >
> > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatc
> > >
> > hwork.kernel.org%2Fproject%2Flinux-remoteproc%2Fcover%2F20201229033
> > 019
> > > .25899-1-peng.fan%40nxp.com%2F&amp;data=04%7C01%7Cpeng.fan%40n
> > xp.com%7
> > >
> > C18c2709725e14cbab54408d8e24c6492%7C686ea1d3bc2b4c6fa92cd99c5c3
> > 01635%7
> > >
> > C0%7C0%7C637508165016988280%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi
> > MC4wLjAwMD
> > >
> > AiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata
> > =bwlT
> > > uTk6iRuZke6SMhuyB2gxniStfxnX%2BKlVgm7MZuk%3D&amp;reserved=0
> > >
> > > V4:
> > > According to Bjorn's comments, add is_iomem for da to va usage 1/8,
> > > 2/8 is new patch 3/8, follow Bjorn's comments to correct/update the
> > > err msg.
> > > 6/8, new patch
> > > 8/8, use dev_err_probe to simplify code, use queue_work instead
> > > schedule_delayed_work
> > >
> > > V3:
> > > Since I was quite busy in the past days, V3 is late Rebased on
> > > Linux-next Add R-b tags
> > > 1/7: Add R-b tag of Mathieu, add comments
> > > 4/7: Typo fix
> > > 5/7: Add R-b tag of Mathieu, drop index Per Mathieu's comments
> > > 6/7: Add R-b tag of Mathieu
> > > 7/7: Add comment for vqid << 16, drop unneeded timeout settings of
> > mailbox
> > > Use queue_work instead of schedule_delayed_work
> > > free mbox channels when remove
> > >
> > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flkml
> > > .org%2Flkml%2F2020%2F12%2F4%2F82&amp;data=04%7C01%7Cpeng.fan
> > %40nxp.com
> > > %7C18c2709725e14cbab54408d8e24c6492%7C686ea1d3bc2b4c6fa92cd9
> > 9c5c301635
> > > %7C0%7C0%7C637508165016988280%7CUnknown%7CTWFpbGZsb3d8eyJ
> > WIjoiMC4wLjAw
> > >
> > MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sd
> > ata=xQ
> > >
> > ReFFdUT2ZLhWyT2Vt2v0frG0xKq2psP1ExnLx%2BLXw%3D&amp;reserved=0
> > >
> > > V2:
> > > Rebased on linux-next
> > > Dropped early boot feature to make patchset simple.
> > > Drop rsc-da
> > >
> > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatc
> > >
> > hwork.kernel.org%2Fproject%2Flinux-remoteproc%2Fcover%2F20200927064
> > 131
> > > .24101-1-peng.fan%40nxp.com%2F&amp;data=04%7C01%7Cpeng.fan%40n
> > xp.com%7
> > >
> > C18c2709725e14cbab54408d8e24c6492%7C686ea1d3bc2b4c6fa92cd99c5c3
> > 01635%7
> > >
> > C0%7C0%7C637508165016988280%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi
> > MC4wLjAwMD
> > >
> > AiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata
> > =BWGP
> > >
> > gbVtOjOa%2BriGryGp9sh2CSY%2BhMESdGD%2F7LvPJ6w%3D&amp;reserved
> > =0
> > >
> > > V1:
> > >
> > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatc
> > >
> > hwork.kernel.org%2Fcover%2F11682461%2F&amp;data=04%7C01%7Cpeng.f
> > an%40n
> > >
> > xp.com%7C18c2709725e14cbab54408d8e24c6492%7C686ea1d3bc2b4c6fa9
> > 2cd99c5c
> > >
> > 301635%7C0%7C0%7C637508165016988280%7CUnknown%7CTWFpbGZsb3
> > d8eyJWIjoiMC
> > >
> > 4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&
> > amp;sd
> > >
> > ata=XkGYIxBgrHLwV7R3bro87N6fL7777Wa5rOAZdVjCoZs%3D&amp;reserved
> > =0
> > >
> > > This patchset is to support i.MX8MQ/M coproc.
> > > The early boot feature was dropped to make the patchset small in V2.
> > >
> > > Since i.MX specific TCM memory requirement, add elf platform hook.
> > > Several patches have got reviewed by Oleksij and Mathieu in v1.
> > >
> > >
> > > Peng Fan (10):
> > > 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
> > >
> > > .../bindings/remoteproc/fsl,imx-rproc.yaml | 90 ++++++
> > > .../bindings/remoteproc/imx-rproc.txt | 33 ---
> > > drivers/remoteproc/Kconfig | 6 +-
> > > drivers/remoteproc/imx_rproc.c | 262
> > +++++++++++++++++-
> > > 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 | 2 +-
> > > drivers/remoteproc/qcom_q6v5_adsp.c | 2 +-
> > > drivers/remoteproc/qcom_q6v5_pas.c | 2 +-
> > > drivers/remoteproc/qcom_q6v5_wcss.c | 2 +-
> > > drivers/remoteproc/qcom_wcnss.c | 2 +-
> > > drivers/remoteproc/remoteproc_core.c | 7 +-
> > > drivers/remoteproc/remoteproc_coredump.c | 8 +-
> > > drivers/remoteproc/remoteproc_debugfs.c | 2 +-
> > > drivers/remoteproc/remoteproc_elf_loader.c | 21 +-
> > > drivers/remoteproc/remoteproc_internal.h | 2 +-
> > > drivers/remoteproc/st_slim_rproc.c | 2 +-
> > > 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 | 4 +-
> > > 23 files changed, 393 insertions(+), 72 deletions(-) create mode
> > > 100644 Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml
> > > delete mode 100644
> > > Documentation/devicetree/bindings/remoteproc/imx-rproc.txt
> > >
> > > --
> > > 2.30.0
> > >