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

2021-03-11 Thread Bjorn Andersson
On Thu 11 Mar 11:38 CST 2021, Mathieu Poirier wrote:

> On Thu, Mar 11, 2021 at 01:26:25AM +, 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@oss.nxp.com wrote:
> > > > From: Peng Fan 
> > > >
> > > > 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.
>  

Certainly, I'm just waiting for tuxbuild to get back with some build
results before I'm pushing the new branch(es).

Regards,
Bjorn

> > 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%2Fdata=04%7C01%7Cpeng.fan%40n
> > > xp.com%7
> > > >
> > > C18c2709725e14cbab54408d8e24c6492%7C686ea1d3bc2b4c6fa92cd99c5c3
> > > 01635%7
> > > >
> > > C0%7C0%7C637508165016988280%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi
> > > MC4wLjAwMD
> > > >
> > > AiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata
> > > =bwlT
> > > > uTk6iRuZke6SMhuyB2gxniStfxnX%2BKlVgm7MZuk%3Dreserved=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 <<

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

2021-03-11 Thread Mathieu Poirier
On Thu, Mar 11, 2021 at 01:26:25AM +, 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@oss.nxp.com wrote:
> > > From: Peng Fan 
> > >
> > > 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%2Fdata=04%7C01%7Cpeng.fan%40n
> > xp.com%7
> > >
> > C18c2709725e14cbab54408d8e24c6492%7C686ea1d3bc2b4c6fa92cd99c5c3
> > 01635%7
> > >
> > C0%7C0%7C637508165016988280%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi
> > MC4wLjAwMD
> > >
> > AiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata
> > =bwlT
> > > uTk6iRuZke6SMhuyB2gxniStfxnX%2BKlVgm7MZuk%3Dreserved=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%2F82data=04%7C01%7Cpeng.fan
> > %40nxp.com
> > > %7C18c2709725e14cbab54408d8e24c6492%7C686ea1d3bc2b4c6fa92cd9
> > 9c5c301635
> > > %7C0%7C0%7C637508165016988280%7CUnknown%7CTWFpbGZsb3d8eyJ
> > WIjoiMC4wLjAw
> > >
> > MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sd
> > ata=xQ
> > >
> > ReFFdUT

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

2021-03-10 Thread Peng Fan (OSS)
Mathieu,

> Subject: Re: [PATCH V13 00/10] remoteproc: imx_rproc: support iMX8MQ/M
> 
> On Sat, Mar 06, 2021 at 07:24:15PM +0800, peng@oss.nxp.com wrote:
> > From: Peng Fan 
> >
> > 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.

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%2Fdata=04%7C01%7Cpeng.fan%40n
> xp.com%7
> >
> C18c2709725e14cbab54408d8e24c6492%7C686ea1d3bc2b4c6fa92cd99c5c3
> 01635%7
> >
> C0%7C0%7C637508165016988280%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi
> MC4wLjAwMD
> >
> AiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata
> =bwlT
> > uTk6iRuZke6SMhuyB2gxniStfxnX%2BKlVgm7MZuk%3Dreserved=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%2F82data=04%7C01%7Cpeng.fan
> %40nxp.com
> > %7C18c2709725e14cbab54408d8e24c6492%7C686ea1d3bc2b4c6fa92cd9
> 9c5c301635
> > %7C0%7C0%7C637508165016988280%7CUnknown%7CTWFpbGZsb3d8eyJ
> WIjoiMC4wLjAw
> >
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sd
> ata=xQ
> >
> ReFFdUT2ZLhWyT2Vt2v0frG0xKq2psP1ExnLx%2BLXw%3Dreserved=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%2Fdata=04%7C01%7Cpeng.fan%40n
> xp.com%7
> >
> C18c2709725e14cbab54408d8e24c6492%7C686ea1d3bc2b4c6fa92cd99c5c3
> 01635%7
> >
> C0%7C0%7C637508165016988280%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi
> MC4wLjAwMD
> >
> AiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata
> =BWGP
> >
> gbVtOjOa%2Bri

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

2021-03-08 Thread Mathieu Poirier
On Sat, Mar 06, 2021 at 07:24:15PM +0800, peng@oss.nxp.com wrote:
> From: Peng Fan 
> 
> 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.

> 
> 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://patchwork.kernel.org/project/linux-remoteproc/cover/20201229033019.25899-1-peng@nxp.com/
> 
> 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://lkml.org/lkml/2020/12/4/82
> 
> V2:
>  Rebased on linux-next
>  Dropped early boot feature to make patchset simple.
>  Drop rsc-da
>  
> https://patchwork.kernel.org/project/linux-remoteproc/cover/20200927064131.24101-1-peng@nxp.com/
> 
> V1:
>  https://patchwork.kernel.org/cover/11682461/
> 
> 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 
>