mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net v6 0/3] net: wwan: qcom_bam_dmux: fix DMA channel and power-control lifetimes
@ 2026-11-15 11:47 Hongyan Xu
  2026-11-15 11:47 ` [PATCH net v6 1/3] dmaengine: qcom: bam_dma: synchronize outstanding callbacks Hongyan Xu
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Hongyan Xu @ 2026-11-15 11:47 UTC (permalink / raw)
  To: Stephan Gerhold, Loic Poulain, Sergey Ryazanov, Jakub Kicinski,
	Paolo Abeni, David S. Miller, Eric Dumazet, Andrew Lunn
  Cc: Vinod Koul, Frank Li, Johannes Berg, linux-arm-msm, linux-kernel, stable

The original report described a TX DMA channel use-after-free during
runtime power transitions.  This revision splits the work as requested:
the DMA provider now offers device_synchronize(), the client serializes
power-control and DMA lifetimes, and removal stops the state publishers
before tearing the interfaces down.


Hongyan Xu (3):
  dmaengine: qcom: bam_dma: synchronize outstanding callbacks
  net: wwan: qcom_bam_dmux: serialize power and DMA lifetimes
  net: wwan: qcom_bam_dmux: stop state publishers before remove

 drivers/dma/qcom/bam_dma.c       |   6 +
 drivers/net/wwan/qcom_bam_dmux.c | 317 +++++++++++++++++++++++++------
 2 files changed, 266 insertions(+), 57 deletions(-)

-- 
2.50.1.windows.1

Discovery: found by the author's in-house static analysis tool.

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

end of thread, other threads:[~2026-11-16  9:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-15 11:47 [PATCH net v6 0/3] net: wwan: qcom_bam_dmux: fix DMA channel and power-control lifetimes Hongyan Xu
2026-11-15 11:47 ` [PATCH net v6 1/3] dmaengine: qcom: bam_dma: synchronize outstanding callbacks Hongyan Xu
2026-11-15 11:48 ` [PATCH net v6 2/3] net: wwan: qcom_bam_dmux: serialize power and DMA lifetimes Hongyan Xu
2026-11-15 11:48 ` [PATCH net v6 3/3] net: wwan: qcom_bam_dmux: stop state publishers before remove Hongyan Xu
2026-11-16  9:00 ` [PATCH net v6 0/3] net: wwan: qcom_bam_dmux: fix DMA channel and power-control lifetimes Paolo Abeni

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

all inboxes | Powered by JetHome®