lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251103-dma3_improv-v1-0-57f048bf2877@foss.st.com>
Date: Mon, 3 Nov 2025 11:15:09 +0100
From: Amelie Delaunay <amelie.delaunay@...s.st.com>
To: Vinod Koul <vkoul@...nel.org>,
        Maxime Coquelin
	<mcoquelin.stm32@...il.com>,
        Alexandre Torgue <alexandre.torgue@...s.st.com>
CC: <dmaengine@...r.kernel.org>, <linux-stm32@...md-mailman.stormreply.com>,
        <linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
        Amelie Delaunay <amelie.delaunay@...s.st.com>
Subject: [PATCH 0/4] dmaengine: stm32-dma3: improvements and helper
 functions

This series introduces improvements and helper functions for channel
and driver management.

It enables proper unloading of the stm32_dma3 module, replacing the
previous subsys_initcall() mechanism with module_plaform_driver().

It introduces helfer functions to take and release the channel semaphore,
and restores the semaphore state on resume, considering the possible
reset of CxSEMCR register during suspend.

It also adds a helper to retrieve the device pointer from the dma_device
structure contained in stm32_dma3_ddata, simplifying the code.

Signed-off-by: Amelie Delaunay <amelie.delaunay@...s.st.com>
---
Amelie Delaunay (4):
      dmaengine: stm32-dma3: use module_platform_driver
      dmaengine: stm32-dma3: introduce channel semaphore helpers
      dmaengine: stm32-dma3: restore channel semaphore status after suspend
      dmaengine: stm32-dma3: introduce ddata2dev helper

 drivers/dma/stm32/stm32-dma3.c | 166 ++++++++++++++++++++++++++++++++++-------
 1 file changed, 137 insertions(+), 29 deletions(-)
---
base-commit: 398035178503bf662281bbffb4bebce1460a4bc5
change-id: 20251103-dma3_improv-b4b36ee231e4

Best regards,
-- 
Amelie Delaunay <amelie.delaunay@...s.st.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ