Re: [PATCH v4 0/4] firmware: qcom: scm: simplify code by using classes
From: Bjorn Andersson
Date: Wed Dec 02 2026 - 22:04:03 EST
On Mon, 02 Nov 2026 11:18:51 +0100, Bartosz Golaszewski wrote:
> There's a pattern of enabling the clocks and/or setting the bandwith
> limits before performing an SCM call and reverting the above after it's
> node. In all places it's done unconditionally and can be simplified by
> providing appropriate classes. There are also a few places where we can
> use __free() for tzmem pointers.
>
>
> [...]
Applied, thanks!
[1/4] firmware: qcom: tzmem: guard against IS_ERR() in the cleanup handler
commit: ee7f232bd892dfaba6e234a0a20e6e3eedbcc2a4
[2/4] firmware: qcom: scm: use __free(qcom_tzmem) to simplify cleanup
commit: 30b5119e513f382e46863d5fd295f4164b681103
[3/4] firmware: qcom: scm: introduce qcom_scm_clk class for clock management
commit: 4c57ebf81101154c61215cc8427e14d9f396acbf
[4/4] firmware: qcom: scm: introduce qcom_scm_bw class for bandwidth management
commit: ea48f27942e0605e0a451b1164e2d60c1870245f
Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>