Skip to contentSkip to conversation

dmaengine: ti: k3-udma-glue: Fix parameters for rx ring pair request

PATCH In review Peter Ujfalusi 4 participants 4 messages Aug 5, 2020 – Aug 6, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dmaengine: ti: k3-udma-glue: Fix parameters for rx ring pair request

The original commit mixed up the forward and completion ring IDs for the rx flow configuration.

Fixes 4927b1ab2047 ("dmaengine: ti: k3-udma: Switch to k3_ringacc_request_rings_pair")

---
Hi Santosh, Vinod,

the offending patch was queued via ti SoC tree.
Santosh, can you pick up this fix also?

Regards,
Peter

 drivers/dma/ti/k3-udma-glue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dma/ti/k3-udma-glue.c +1 -1
index 3a5d33ea5ebe..12da38a92218 100644
@@ -579,8 +579,8 @@ static int k3_udma_glue_cfg_rx_flow(struct k3_udma_glue_rx_channel *rx_chn,
 
 	/* request and cfg rings */
 	ret =  k3_ringacc_request_rings_pair(rx_chn->common.ringacc,
-					     flow_cfg->ring_rxq_id,
 					     flow_cfg->ring_rxfdq0_id,
+					     flow_cfg->ring_rxq_id,
 					     &flow->ringrxfdq,
 					     &flow->ringrx);
 	if (ret) {
Signature · 10 lines
Peter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Peter Ujfalusi

The original commit mixed up the forward and completion ring IDs for the rx flow configuration.

Quoted 34 lines
Fixes 4927b1ab2047 ("dmaengine: ti: k3-udma: Switch to k3_ringacc_request_rings_pair")

---
Hi Santosh, Vinod,

the offending patch was queued via ti SoC tree.
Santosh, can you pick up this fix also?

Regards,
Peter

 drivers/dma/ti/k3-udma-glue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dma/ti/k3-udma-glue.c +1 -1
index 3a5d33ea5ebe..12da38a92218 100644
@@ -579,8 +579,8 @@ static int k3_udma_glue_cfg_rx_flow(struct k3_udma_glue_rx_channel *rx_chn,
 
 	/* request and cfg rings */
 	ret =  k3_ringacc_request_rings_pair(rx_chn->common.ringacc,
-					     flow_cfg->ring_rxq_id,
 					     flow_cfg->ring_rxfdq0_id,
+					     flow_cfg->ring_rxq_id,
 					     &flow->ringrxfdq,
 					     &flow->ringrx);
 	if (ret) {
Signature · 4 lines
Peter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Signature · 6 lines
~Vinod

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Reviewed-by
#2 lore raw
Quoted 14 lines · Vinod Koul
Quoted 2 lines · Peter Ujfalusi

The original commit mixed up the forward and completion ring IDs for the rx flow configuration.

Quoted 8 lines
Fixes 4927b1ab2047 ("dmaengine: ti: k3-udma: Switch to k3_ringacc_request_rings_pair")

---
Hi Santosh, Vinod,

the offending patch was queued via ti SoC tree.
Santosh, can you pick up this fix also?

Thank you Peter for catching this - it's valid issue.
but I'd like to note that issue was discovered with private code and nothing is broken in Master.

Signature · 7 lines
Best regards,
grygorii

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#3 lore raw
Quoted 15 lines · Grygorii Strashko
Quoted 12 lines · Vinod Koul
Quoted 2 lines · Peter Ujfalusi

The original commit mixed up the forward and completion ring IDs for the rx flow configuration.

Quoted 6 lines
Fixes 4927b1ab2047 ("dmaengine: ti: k3-udma: Switch to k3_ringacc_request_rings_pair")

---
Hi Santosh, Vinod,

Quoted 9 lines
Quoted 2 lines
Quoted 2 lines

the offending patch was queued via ti SoC tree.
Santosh, can you pick up this fix also?

Thank you Peter for catching this - it's valid issue.
but I'd like to note that issue was discovered with private code and nothing is broken in Master.

Will queue this up for next merge window.

regards,
Santosh