diff mbox series

dmaengine: ti: k3-psil-am62: Update PSIL thread for saul.

Message ID 20220421065323.16378-1-j-choudhary@ti.com (mailing list archive)
State Accepted
Commit b21fe492a3a9831c315eb456cf5480c9490eaeef
Headers show
Series dmaengine: ti: k3-psil-am62: Update PSIL thread for saul. | expand

Commit Message

Jayesh Choudhary April 21, 2022, 6:53 a.m. UTC
Correct the RX PSIL thread for sa3ul.

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
---

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(-)

Comments

Vignesh Raghavendra April 21, 2022, 3:15 p.m. UTC | #1
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 <j-choudhary@ti.com>
> ---
> 
> 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
Vinod Koul April 22, 2022, 6:01 a.m. UTC | #2
On 21-04-22, 12:23, Jayesh Choudhary wrote:
> Correct the RX PSIL thread for sa3ul.

Applied, thanks
diff mbox series

Patch

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),