2022-04-22 21:42:22

by Jayesh Choudhary

[permalink] [raw]
Subject: [PATCH] dmaengine: ti: k3-psil-am62: Update PSIL thread for saul.

Correct the RX PSIL thread for sa3ul.

Signed-off-by: Jayesh Choudhary <[email protected]>
---

The new updated PSIL threads have been tested on local am62x board.
Log is available here:
<https://gist.github.com/Jayesh2000/b0316190de3d9dbb8e98337106ebe24a>

drivers/dma/ti/k3-psil-am62.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/dma/ti/k3-psil-am62.c b/drivers/dma/ti/k3-psil-am62.c
index d431e2033237..2b6fd6e37c61 100644
--- a/drivers/dma/ti/k3-psil-am62.c
+++ b/drivers/dma/ti/k3-psil-am62.c
@@ -70,10 +70,10 @@
/* PSI-L source thread IDs, used for RX (DMA_DEV_TO_MEM) */
static struct psil_ep am62_src_ep_map[] = {
/* SAUL */
- PSIL_SAUL(0x7500, 20, 35, 8, 35, 0),
- PSIL_SAUL(0x7501, 21, 35, 8, 36, 0),
- PSIL_SAUL(0x7502, 22, 43, 8, 43, 0),
- PSIL_SAUL(0x7503, 23, 43, 8, 44, 0),
+ PSIL_SAUL(0x7504, 20, 35, 8, 35, 0),
+ PSIL_SAUL(0x7505, 21, 35, 8, 36, 0),
+ PSIL_SAUL(0x7506, 22, 43, 8, 43, 0),
+ PSIL_SAUL(0x7507, 23, 43, 8, 44, 0),
/* PDMA_MAIN0 - SPI0-3 */
PSIL_PDMA_XY_PKT(0x4302),
PSIL_PDMA_XY_PKT(0x4303),
--
2.17.1


2022-04-22 22:04:37

by Vignesh Raghavendra

[permalink] [raw]
Subject: Re: [PATCH] dmaengine: ti: k3-psil-am62: Update PSIL thread for saul.

Hi Jayesh,

On 21/04/22 12:23 pm, Jayesh Choudhary wrote:
> Correct the RX PSIL thread for sa3ul.
>

Commit message needs more info:
Threads are not wrong but, the first 4 threads are reserved
for secure side usage and the rest is available to be paired with main pktdma.

Also, add fixes tag:

Fixes: 5ac6bfb587772 ("dmaengine: ti: k3-psil: Add AM62x PSIL and PDMA data")


> Signed-off-by: Jayesh Choudhary <[email protected]>
> ---
>
> The new updated PSIL threads have been tested on local am62x board.
> Log is available here:
> <https://gist.github.com/Jayesh2000/b0316190de3d9dbb8e98337106ebe24a>
>
> drivers/dma/ti/k3-psil-am62.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/dma/ti/k3-psil-am62.c b/drivers/dma/ti/k3-psil-am62.c
> index d431e2033237..2b6fd6e37c61 100644
> --- a/drivers/dma/ti/k3-psil-am62.c
> +++ b/drivers/dma/ti/k3-psil-am62.c
> @@ -70,10 +70,10 @@
> /* PSI-L source thread IDs, used for RX (DMA_DEV_TO_MEM) */
> static struct psil_ep am62_src_ep_map[] = {
> /* SAUL */
> - PSIL_SAUL(0x7500, 20, 35, 8, 35, 0),
> - PSIL_SAUL(0x7501, 21, 35, 8, 36, 0),
> - PSIL_SAUL(0x7502, 22, 43, 8, 43, 0),
> - PSIL_SAUL(0x7503, 23, 43, 8, 44, 0),
> + PSIL_SAUL(0x7504, 20, 35, 8, 35, 0),
> + PSIL_SAUL(0x7505, 21, 35, 8, 36, 0),
> + PSIL_SAUL(0x7506, 22, 43, 8, 43, 0),
> + PSIL_SAUL(0x7507, 23, 43, 8, 44, 0),
> /* PDMA_MAIN0 - SPI0-3 */
> PSIL_PDMA_XY_PKT(0x4302),
> PSIL_PDMA_XY_PKT(0x4303),


Regards
Vignesh

2022-04-22 22:24:49

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH] dmaengine: ti: k3-psil-am62: Update PSIL thread for saul.

On 21-04-22, 12:23, Jayesh Choudhary wrote:
> Correct the RX PSIL thread for sa3ul.

Applied, thanks

--
~Vinod