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: <20250826103017.1891990-1-a.shimko@yadro.com>
Date: Tue, 26 Aug 2025 13:30:14 +0300
From: Artem Shimko <artyom.shimko@...il.com>
To: dmaengine@...r.kernel.org
Cc: Artem Shimko <artyom.shimko@...il.com>,
	linux-kernel@...r.kernel.org,
	vkoul@...nel.org,
	eugeniy.paltsev@...opsys.com
Subject: [PATCH 0/1] drivers: dma: change pm registration for dw-axi-dmac-platform's suspend

From: Artem Shimko <artyom.shimko@...il.com>

The SET_RUNTIME_PM_OPS macro has been deprecated in favor of
DEFINE_RUNTIME_DEV_PM_OPS which provides equivalent functionality
while also supporting system suspend mode.

This change modernizes the power management implementation by:
1. Replacing SET_RUNTIME_PM_OPS with DEFINE_RUNTIME_DEV_PM_OPS
2. Removing wrapper runtime suspend/resume functions
3. Adding __maybe_unused attribute to PM functions
4. Converting direct chip access to device-based access in PM functions
5. Using pm_ptr() for PM ops pointer registration

The refactoring maintains all existing functionality while improving
code maintainability and following current kernel best practices.

Artem Shimko (1):
  drivers: dma: change pm registration for dw-axi-dmac-platform's
    suspend

 .../dma/dw-axi-dmac/dw-axi-dmac-platform.c    | 31 ++++++-------------
 1 file changed, 9 insertions(+), 22 deletions(-)

-- 
2.43.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ