[PATCH 0/5] Use Device Lifecycle managed functions in TI R5 Remoteproc

Beleswar Padhi posted 5 patches 1 year ago
drivers/remoteproc/ti_k3_r5_remoteproc.c | 86 ++++++++++--------------
1 file changed, 34 insertions(+), 52 deletions(-)
[PATCH 0/5] Use Device Lifecycle managed functions in TI R5 Remoteproc
Posted by Beleswar Padhi 1 year ago
This series uses various devm_ helpers to simplify device removal path in
ti_k3_r5_remoteproc driver. This is the first series in the TI K3
Remoteproc refactoring as long planned since [0].

Testing Done:
1. Tested boot of R5F remoteprocs in MCU and MAIN voltage domain in both
IPC-Only mode and Kernel remoteproc mode in all Jacinto K3 devices.
2. Tested Lockstep, Split and Single-CPU Mode configuration (wherever
applicable) of R5F remoteprocs in all Jacinto K3 devices.
3. Tested shutdown of R5F remoteprocs from Linux userspace and also by
executing `modprobe -r ti_k3_r5_remoteproc`.
4. Tested that each patch in this series generates no new warnings/errors.

[0]: https://lore.kernel.org/all/Zr4w8Vj0mVo5sBsJ@p14s/

Beleswar Padhi (5):
  remoteproc: k3-r5: Add devm action to release reserved memory
  remoteproc: k3-r5: Use devm_kcalloc() helper
  remoteproc: k3-r5: Add devm action to release tsp
  remoteproc: k3-r5: Use devm_ioremap_wc() helper
  remoteproc: k3-r5: Use devm_rproc_add() helper

 drivers/remoteproc/ti_k3_r5_remoteproc.c | 86 ++++++++++--------------
 1 file changed, 34 insertions(+), 52 deletions(-)

-- 
2.34.1
Re: [PATCH 0/5] Use Device Lifecycle managed functions in TI R5 Remoteproc
Posted by Mathieu Poirier 1 year ago
On Wed, 4 Dec 2024 at 04:11, Beleswar Padhi <b-padhi@ti.com> wrote:
>
> This series uses various devm_ helpers to simplify device removal path in
> ti_k3_r5_remoteproc driver. This is the first series in the TI K3
> Remoteproc refactoring as long planned since [0].
>
> Testing Done:
> 1. Tested boot of R5F remoteprocs in MCU and MAIN voltage domain in both
> IPC-Only mode and Kernel remoteproc mode in all Jacinto K3 devices.
> 2. Tested Lockstep, Split and Single-CPU Mode configuration (wherever
> applicable) of R5F remoteprocs in all Jacinto K3 devices.
> 3. Tested shutdown of R5F remoteprocs from Linux userspace and also by
> executing `modprobe -r ti_k3_r5_remoteproc`.
> 4. Tested that each patch in this series generates no new warnings/errors.
>
> [0]: https://lore.kernel.org/all/Zr4w8Vj0mVo5sBsJ@p14s/
>
> Beleswar Padhi (5):
>   remoteproc: k3-r5: Add devm action to release reserved memory
>   remoteproc: k3-r5: Use devm_kcalloc() helper
>   remoteproc: k3-r5: Add devm action to release tsp
>   remoteproc: k3-r5: Use devm_ioremap_wc() helper
>   remoteproc: k3-r5: Use devm_rproc_add() helper
>
>  drivers/remoteproc/ti_k3_r5_remoteproc.c | 86 ++++++++++--------------
>  1 file changed, 34 insertions(+), 52 deletions(-)
>

Please note that I am looking for an R-B and T-B tag from two
different people (for now one of each will suffice) before looking at
patches.

Thanks,
Mathieu

> --
> 2.34.1
>