mbox series

[v6,00/11] remoteproc: stm32: Add support for attaching to M4

Message ID 20200714200445.1427257-1-mathieu.poirier@linaro.org (mailing list archive)
Headers show
Series remoteproc: stm32: Add support for attaching to M4 | expand

Message

Mathieu Poirier July 14, 2020, 8:04 p.m. UTC
This set applies on top of [1] and refactors the STM32 platform code in
order to attach to the M4 remote processor when it has been started by the
boot loader.

New to V6:
1) Removed extra newline in patch 06. 
2) Re-worked title and changelog of patch 08 to better reflect
   what is done by the patch.

Tested on ST's mp157c development board.

Thanks,
Mathieu

[1].https://patchwork.kernel.org/project/linux-remoteproc/list/?series=318275 

Mathieu Poirier (11):
  remoteproc: stm32: Decouple rproc from memory translation
  remoteproc: stm32: Request IRQ with platform device
  remoteproc: stm32: Decouple rproc from DT parsing
  remoteproc: stm32: Remove memory translation from DT parsing
  remoteproc: stm32: Parse syscon that will manage M4 synchronisation
  remoteproc: stm32: Properly set co-processor state when attaching
  remoteproc: Make function rproc_resource_cleanup() public
  remoteproc: stm32: Parse memory regions when attaching to M4
  remoteproc: stm32: Properly handle the resource table when attaching
  remoteproc: stm32: Introduce new attach() operation
  remoteproc: stm32: Update M4 state in stm32_rproc_stop()

 drivers/remoteproc/remoteproc_core.c |   3 +-
 drivers/remoteproc/stm32_rproc.c     | 214 ++++++++++++++++++++++++---
 include/linux/remoteproc.h           |   1 +
 3 files changed, 198 insertions(+), 20 deletions(-)

Comments

Arnaud POULIQUEN July 15, 2020, 6:51 a.m. UTC | #1
Hi Mathieu

> -----Original Message-----
> From: Mathieu Poirier <mathieu.poirier@linaro.org>
> Sent: mardi 14 juillet 2020 22:05
> To: ohad@wizery.com; bjorn.andersson@linaro.org; Loic PALLARDY
> <loic.pallardy@st.com>; Arnaud POULIQUEN <arnaud.pouliquen@st.com>;
> mcoquelin.stm32@gmail.com; Alexandre TORGUE
> <alexandre.torgue@st.com>
> Cc: linux-remoteproc@vger.kernel.org; linux-kernel@vger.kernel.org; linux-
> stm32@st-md-mailman.stormreply.com
> Subject: [PATCH v6 00/11] remoteproc: stm32: Add support for attaching to
> M4
> 
> This set applies on top of [1] and refactors the STM32 platform code in order
> to attach to the M4 remote processor when it has been started by the boot
> loader.
> 
> New to V6:
> 1) Removed extra newline in patch 06.
> 2) Re-worked title and changelog of patch 08 to better reflect
>    what is done by the patch.
> 
> Tested on ST's mp157c development board.

I don' t know if you don't see  it on last  version or if you prefer that I review your update first... so for the series

Acked-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>

Thanks,
Arnaud

> 
> Thanks,
> Mathieu
> 
> [1].https://patchwork.kernel.org/project/linux-
> remoteproc/list/?series=318275
> 
> Mathieu Poirier (11):
>   remoteproc: stm32: Decouple rproc from memory translation
>   remoteproc: stm32: Request IRQ with platform device
>   remoteproc: stm32: Decouple rproc from DT parsing
>   remoteproc: stm32: Remove memory translation from DT parsing
>   remoteproc: stm32: Parse syscon that will manage M4 synchronisation
>   remoteproc: stm32: Properly set co-processor state when attaching
>   remoteproc: Make function rproc_resource_cleanup() public
>   remoteproc: stm32: Parse memory regions when attaching to M4
>   remoteproc: stm32: Properly handle the resource table when attaching
>   remoteproc: stm32: Introduce new attach() operation
>   remoteproc: stm32: Update M4 state in stm32_rproc_stop()
> 
>  drivers/remoteproc/remoteproc_core.c |   3 +-
>  drivers/remoteproc/stm32_rproc.c     | 214 ++++++++++++++++++++++++--
> -
>  include/linux/remoteproc.h           |   1 +
>  3 files changed, 198 insertions(+), 20 deletions(-)
> 
> --
> 2.25.1
Mathieu Poirier July 15, 2020, 3:32 p.m. UTC | #2
On Wed, 15 Jul 2020 at 00:51, Arnaud POULIQUEN <arnaud.pouliquen@st.com> wrote:
>
> Hi Mathieu
>
> > -----Original Message-----
> > From: Mathieu Poirier <mathieu.poirier@linaro.org>
> > Sent: mardi 14 juillet 2020 22:05
> > To: ohad@wizery.com; bjorn.andersson@linaro.org; Loic PALLARDY
> > <loic.pallardy@st.com>; Arnaud POULIQUEN <arnaud.pouliquen@st.com>;
> > mcoquelin.stm32@gmail.com; Alexandre TORGUE
> > <alexandre.torgue@st.com>
> > Cc: linux-remoteproc@vger.kernel.org; linux-kernel@vger.kernel.org; linux-
> > stm32@st-md-mailman.stormreply.com
> > Subject: [PATCH v6 00/11] remoteproc: stm32: Add support for attaching to
> > M4
> >
> > This set applies on top of [1] and refactors the STM32 platform code in order
> > to attach to the M4 remote processor when it has been started by the boot
> > loader.
> >
> > New to V6:
> > 1) Removed extra newline in patch 06.
> > 2) Re-worked title and changelog of patch 08 to better reflect
> >    what is done by the patch.
> >
> > Tested on ST's mp157c development board.
>
> I don' t know if you don't see  it on last  version or if you prefer that I review your update first... so for the series

Ah yes, my apologies on that - I misread the comment you left me in
00/11 of the V5 set.

>
> Acked-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
>
> Thanks,
> Arnaud
>
> >
> > Thanks,
> > Mathieu
> >
> > [1].https://patchwork.kernel.org/project/linux-
> > remoteproc/list/?series=318275
> >
> > Mathieu Poirier (11):
> >   remoteproc: stm32: Decouple rproc from memory translation
> >   remoteproc: stm32: Request IRQ with platform device
> >   remoteproc: stm32: Decouple rproc from DT parsing
> >   remoteproc: stm32: Remove memory translation from DT parsing
> >   remoteproc: stm32: Parse syscon that will manage M4 synchronisation
> >   remoteproc: stm32: Properly set co-processor state when attaching
> >   remoteproc: Make function rproc_resource_cleanup() public
> >   remoteproc: stm32: Parse memory regions when attaching to M4
> >   remoteproc: stm32: Properly handle the resource table when attaching
> >   remoteproc: stm32: Introduce new attach() operation
> >   remoteproc: stm32: Update M4 state in stm32_rproc_stop()
> >
> >  drivers/remoteproc/remoteproc_core.c |   3 +-
> >  drivers/remoteproc/stm32_rproc.c     | 214 ++++++++++++++++++++++++--
> > -
> >  include/linux/remoteproc.h           |   1 +
> >  3 files changed, 198 insertions(+), 20 deletions(-)
> >
> > --
> > 2.25.1
>
patchwork-bot+linux-remoteproc@kernel.org July 22, 2020, midnight UTC | #3
Hello:

This series was applied to andersson/remoteproc.git (refs/heads/for-next).

On Tue, 14 Jul 2020 14:04:34 -0600 you wrote:
> This set applies on top of [1] and refactors the STM32 platform code in
> order to attach to the M4 remote processor when it has been started by the
> boot loader.
> 
> New to V6:
> 1) Removed extra newline in patch 06.
> 2) Re-worked title and changelog of patch 08 to better reflect
>    what is done by the patch.
> 
> [...]


Here is a summary with links:
  - [v6,01/11] remoteproc: stm32: Decouple rproc from memory translation
    https://git.kernel.org/andersson/remoteproc/c/7b9f18ca933ae35b90add6fe1787056bbc789a8a
  - [v6,02/11] remoteproc: stm32: Request IRQ with platform device
    https://git.kernel.org/andersson/remoteproc/c/b8631ab137c78f58afacd7e7f822cd3fc296f589
  - [v6,03/11] remoteproc: stm32: Decouple rproc from DT parsing
    https://git.kernel.org/andersson/remoteproc/c/8210fc873d2f1a550ad41093d21a7c18217f75fb
  - [v6,04/11] remoteproc: stm32: Remove memory translation from DT parsing
    https://git.kernel.org/andersson/remoteproc/c/95e32f868aa67cb0d581ca8ced456dc2fac5edf7
  - [v6,05/11] remoteproc: stm32: Parse syscon that will manage M4 synchronisation
    https://git.kernel.org/andersson/remoteproc/c/9276536f455b38b965ea16958a01f77bfae385f3
  - [v6,06/11] remoteproc: stm32: Properly set co-processor state when attaching
    https://git.kernel.org/andersson/remoteproc/c/376ffdc044568fcd9982a89d57eed67874566f85
  - [v6,07/11] remoteproc: Make function rproc_resource_cleanup() public
    https://git.kernel.org/andersson/remoteproc/c/d9473cbfb0c5cbb279dfdeaec780934729537d27
  - [v6,08/11] remoteproc: stm32: Parse memory regions when attaching to M4
    https://git.kernel.org/andersson/remoteproc/c/dadbdb9c304c51038465e0735585538a78e8578b
  - [v6,09/11] remoteproc: stm32: Properly handle the resource table when attaching
    https://git.kernel.org/andersson/remoteproc/c/11a7aaa72cc5539591bd34c637ab12e55cb79e1e
  - [v6,10/11] remoteproc: stm32: Introduce new attach() operation
    https://git.kernel.org/andersson/remoteproc/c/bee04d4672e0e8f6b82b62b092763b88a395da22
  - [v6,11/11] remoteproc: stm32: Update M4 state in stm32_rproc_stop()
    https://git.kernel.org/andersson/remoteproc/c/efd8626213f6897b416e573e87f4582810086b93

You are awesome, thank you!