Re: [PATCH v6 3/4] remoteproc: k3: Split out functions common with M4 driver

From: Krzysztof Kozlowski
Date: Wed Sep 13 2023 - 07:37:16 EST


On 13/09/2023 13:16, Hari Nagalla wrote:
> From: Martyn Welch <martyn.welch@xxxxxxxxxxxxx>
>
> In the next commit we will be adding the M4F driver which shares a lot of
> commonality with the DSP driver. Split this shared functionality out so
> that it can be used by both drivers.
>
> Signed-off-by: Martyn Welch <martyn.welch@xxxxxxxxxxxxx>
> Signed-off-by: Hari Nagalla <hnagalla@xxxxxx>
> ---
> Changes since v2:
> - New patch (reordered refactored from v2)
>
> Changes since v3:
> - Removed "ipc_only" element from k3_rproc structure
> - Refactored to bring 3 more common functions
>
> Changes since v4:
> - None
>
> Changes since v5:
> - Rearranged the functions order to match with the functions in
> ti_k3_dsp_remoteproc.c to ease review.
>
> drivers/remoteproc/Makefile | 2 +-
> drivers/remoteproc/ti_k3_common.c | 513 +++++++++++++++++++
> drivers/remoteproc/ti_k3_dsp_remoteproc.c | 598 ++--------------------

Generate your patch correctly with -M/-B/-C so the move will be detected.

Best regards,
Krzysztof