dmaengine.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dmaengine: ti: k3-psil-am62: Update PSIL thread for saul.
@ 2022-04-21  6:53 Jayesh Choudhary
  2022-04-21 15:15 ` Vignesh Raghavendra
  2022-04-22  6:01 ` Vinod Koul
  0 siblings, 2 replies; 3+ messages in thread
From: Jayesh Choudhary @ 2022-04-21  6:53 UTC (permalink / raw)
  To: dmaengine; +Cc: peter.ujfalusi, vkoul, linux-kernel, j-choudhary

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

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dmaengine: ti: k3-psil-am62: Update PSIL thread for saul.
  2022-04-21  6:53 [PATCH] dmaengine: ti: k3-psil-am62: Update PSIL thread for saul Jayesh Choudhary
@ 2022-04-21 15:15 ` Vignesh Raghavendra
  2022-04-22  6:01 ` Vinod Koul
  1 sibling, 0 replies; 3+ messages in thread
From: Vignesh Raghavendra @ 2022-04-21 15:15 UTC (permalink / raw)
  To: Jayesh Choudhary, dmaengine; +Cc: peter.ujfalusi, vkoul, linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dmaengine: ti: k3-psil-am62: Update PSIL thread for saul.
  2022-04-21  6:53 [PATCH] dmaengine: ti: k3-psil-am62: Update PSIL thread for saul Jayesh Choudhary
  2022-04-21 15:15 ` Vignesh Raghavendra
@ 2022-04-22  6:01 ` Vinod Koul
  1 sibling, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2022-04-22  6:01 UTC (permalink / raw)
  To: Jayesh Choudhary; +Cc: dmaengine, peter.ujfalusi, linux-kernel

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

Applied, thanks

-- 
~Vinod

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-04-22  6:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-21  6:53 [PATCH] dmaengine: ti: k3-psil-am62: Update PSIL thread for saul Jayesh Choudhary
2022-04-21 15:15 ` Vignesh Raghavendra
2022-04-22  6:01 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).