DMA Engine development
 help / color / mirror / Atom feed
* [PATCH v3 0/2] dmaengine: ti: k3-udma: Fix NULL pointer dereference error
@ 2021-10-29 15:12 Kishon Vijay Abraham I
  2021-10-29 15:12 ` [PATCH v3 1/2] dmaengine: ti: k3-udma: Set bchan to NULL if a channel request fail Kishon Vijay Abraham I
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Kishon Vijay Abraham I @ 2021-10-29 15:12 UTC (permalink / raw)
  To: Peter Ujfalusi, Vinod Koul
  Cc: dmaengine, linux-kernel, Vignesh Raghavendra,
	Kishon Vijay Abraham I

NULL pointer de-reference error was observed when all the PCIe endpoint
functions (22 function in J721E) request a DMA channel. The issue was
specfically observed when using mem-to-mem copy.

Changes from v2:
1) Fix commit subject and commit log to mention bchan/rchan/tchan to NULL
   suggested by Peter.

Changes from v1:
1) Split the patch for BCDMA and PKTDMA separately
2) Fixed the return value of udma_get_rflow() to 0.
3) Removed the fixes tag as the patches does not directly apply to the
commits.

v1 => https://lore.kernel.org/r/20210209090036.30832-1-kishon@ti.com
v2 => https://lore.kernel.org/r/20211027055625.11150-1-kishon@ti.com

Kishon Vijay Abraham I (2):
  dmaengine: ti: k3-udma: Set bchan to NULL if a channel request fail
  dmaengine: ti: k3-udma: Set rchan/tchan to NULL if a channel request
    fail

 drivers/dma/ti/k3-udma.c | 32 ++++++++++++++++++++++++++------
 1 file changed, 26 insertions(+), 6 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2021-10-31  3:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-29 15:12 [PATCH v3 0/2] dmaengine: ti: k3-udma: Fix NULL pointer dereference error Kishon Vijay Abraham I
2021-10-29 15:12 ` [PATCH v3 1/2] dmaengine: ti: k3-udma: Set bchan to NULL if a channel request fail Kishon Vijay Abraham I
2021-10-29 15:12 ` [PATCH v3 2/2] dmaengine: ti: k3-udma: Set rchan/tchan " Kishon Vijay Abraham I
2021-10-30  6:45 ` [PATCH v3 0/2] dmaengine: ti: k3-udma: Fix NULL pointer dereference error Péter Ujfalusi
2021-10-31  3:10   ` Kishon Vijay Abraham I

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox