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-prev] [day] [month] [year] [list]
Message-ID: <176896744341.4027.4548470924295153506@lazor>
Date: Tue, 20 Jan 2026 20:50:43 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Suraj Gupta <suraj.gupta2@....com>, andrew+netdev@...n.ch, davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, michal.simek@....com, mturquette@...libre.com, pabeni@...hat.com, radhey.shyam.pandey@....com
Cc: sean.anderson@...ux.dev, linux@...linux.org.uk, linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org, netdev@...r.kernel.org, linux-arm-kernel@...ts.infradead.org, bmasney@...hat.com
Subject: Re: [PATCH V3 1/2] clk: Add devm_clk_bulk_get_optional_enable() helper

Quoting Suraj Gupta (2026-01-16 12:27:23)
> Add a new managed clock framework helper function that combines getting
> optional bulk clocks and enabling them in a single operation.
> 
> The devm_clk_bulk_get_optional_enable() function simplifies the common
> pattern where drivers need to get optional bulk clocks, prepare and enable
> them, and have them automatically disabled/unprepared and freed when the
> device is unbound.
> 
> This new API follows the established pattern of
> devm_clk_bulk_get_all_enabled() and reduces boilerplate code in drivers
> that manage multiple optional clocks.
> 
> Suggested-by: Andrew Lunn <andrew@...n.ch>
> Signed-off-by: Suraj Gupta <suraj.gupta2@....com>
> Reviewed-by: Brian Masney <bmasney@...hat.com>
> ---

Acked-by: Stephen Boyd <sboyd@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ