Re: [PATCH] net: wwan: t7xx: Add AP CLDMA

From: Simon Horman
Date: Wed Jul 12 2023 - 15:51:38 EST


+ maintainers and MLs as advised by get_maintainers.pl

On Tue, Jul 11, 2023 at 08:28:13AM +0200, Jose Ignacio Tornos Martinez wrote:
> At this moment with the current status, t7xx is not functional due to
> problems like this after connection, if there is no activity:
> [ 57.370534] mtk_t7xx 0000:72:00.0: [PM] SAP suspend error: -110
> [ 57.370581] mtk_t7xx 0000:72:00.0: can't suspend
> (t7xx_pci_pm_runtime_suspend [mtk_t7xx] returned -110)
> because after this, the traffic no longer works.
>
> The complete series 'net: wwan: t7xx: fw flashing & coredump support'
> was reverted because of issues with the pci implementation.
> In order to have at least the modem working, it would be enough if just
> the first commit of the series is re-applied:
> d20ef656f994 net: wwan: t7xx: Add AP CLDMA
> With that, the Application Processor would be controlled, correctly
> suspended and the commented problems would be fixed (I am testing here
> like this with no related issue).
>
> This commit is independent of the others and not related to the
> commented pci implementation for the new features: fw flashing and
> coredump collection.
>
> Use v2 patch version of d20ef656f994 as JinJian Song suggests
> (https://patchwork.kernel.org/project/netdevbpf/patch/20230105154215.198828-1-m.chetan.kumar@xxxxxxxxxxxxxxx/).
>
> Original text from the commit that would be re-applied:
>
> d20ef656f994 net: wwan: t7xx: Add AP CLDMA
> Author: Haijun Liu <haijun.liu@xxxxxxxxxxxx>
> Date: Tue Aug 16 09:53:28 2022 +0530
>
> The t7xx device contains two Cross Layer DMA (CLDMA) interfaces to
> communicate with AP and Modem processors respectively. So far only
> MD-CLDMA was being used, this patch enables AP-CLDMA.
>
> Rename small Application Processor (sAP) to AP.
>
> Signed-off-by: Haijun Liu <haijun.liu@xxxxxxxxxxxx>
> Co-developed-by: Madhusmita Sahu <madhusmita.sahu@xxxxxxxxx>
> Signed-off-by: Madhusmita Sahu <madhusmita.sahu@xxxxxxxxx>
> Signed-off-by: Moises Veleta <moises.veleta@xxxxxxxxxxxxxxx>
> Signed-off-by: Devegowda Chandrashekar <chandrashekar.devegowda@xxxxxxxxx>
> Signed-off-by: M Chetan Kumar <m.chetan.kumar@xxxxxxxxxxxxxxx>
> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
> Reviewed-by: Sergey Ryazanov <ryazanov.s.a@xxxxxxxxx>
> Reviewed-by: Jesse Brandeburg <jesse.brandeburg@xxxxxxxxx>
>
> Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@xxxxxxxxxx>

Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>