Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Erikas Bitovtas" <xerikasxx@gmail.com>
Cc: krzk+dt@kernel.org, robh@kernel.org, devicetree@vger.kernel.org,
	conor+dt@kernel.org
Subject: Re: [PATCH v7 5/8] clk: qcom: gcc-msm8939: mark Venus core GDSCs as hardware controlled
Date: Thu, 14 May 2026 12:30:05 +0000	[thread overview]
Message-ID: <20260514123006.0E96CC2BCB3@smtp.kernel.org> (raw)
In-Reply-To: <20260514-msm8939-venus-rfc-v7-5-33c6c6fb9285@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The commit message fails to mention and explain the addition of `.halt_check = BRANCH_HALT_SKIP` to `gcc_venus0_core0_vcodec0_clk` and `gcc_venus0_core1_vcodec0_clk`.
--

commit 4d497cce125abb4eb5e06f88b3056c8f33e326e0
Author: Erikas Bitovtas <xerikasxx@gmail.com>

clk: qcom: gcc-msm8939: mark Venus core GDSCs as hardware controlled

This commit adds the HW_CTRL_TRIGGER flag to VENUS_CORE0_GDSC and
VENUS_CORE1_GDSC to indicate their control can be passed to hardware,
based on downstream device tree properties.

> diff --git a/drivers/clk/qcom/gcc-msm8939.c b/drivers/clk/qcom/gcc-msm8939.c
> index 45193b3d714ba..243d31a32e924 100644
> --- a/drivers/clk/qcom/gcc-msm8939.c
> +++ b/drivers/clk/qcom/gcc-msm8939.c
> @@ -3664,6 +3664,7 @@ static struct clk_branch gcc_venus0_vcodec0_clk = {
>  
>  static struct clk_branch gcc_venus0_core0_vcodec0_clk = {
>  	.halt_reg = 0x4c02c,
> +	.halt_check = BRANCH_HALT_SKIP,

This isn't a bug, but the commit message explains the addition of the
HW_CTRL_TRIGGER flag to the GDSCs without mentioning the modifications to the
associated clock branches.

While skipping the halt check is the correct approach for branch clocks tied
to hardware-triggered GDSCs (as software polling would time out while the
hardware keeps the clock gated), could the commit message be updated to also
document this change to .halt_check?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260514-msm8939-venus-rfc-v7-0-33c6c6fb9285@gmail.com?part=5

  reply	other threads:[~2026-05-14 12:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-13 21:24 [PATCH v7 0/8] media: qcom: venus: add MSM8939 support Erikas Bitovtas
2026-05-13 21:24 ` [PATCH v7 1/8] media: dt-bindings: venus: Add qcom,msm8939 schema Erikas Bitovtas
2026-05-14  6:33   ` Krzysztof Kozlowski
2026-05-13 21:24 ` [PATCH v7 2/8] arm64: dts: qcom: msm8939: Add venus node Erikas Bitovtas
2026-05-13 21:24 ` [PATCH v7 3/8] arm64: dts: qcom: msm8939-longcheer-l9100: Enable " Erikas Bitovtas
2026-05-13 21:24 ` [PATCH v7 4/8] arm64: dts: qcom: msm8939-asus-z00t: add Venus Erikas Bitovtas
2026-05-13 21:24 ` [PATCH v7 5/8] clk: qcom: gcc-msm8939: mark Venus core GDSCs as hardware controlled Erikas Bitovtas
2026-05-14 12:30   ` sashiko-bot [this message]
2026-05-13 21:24 ` [PATCH v7 6/8] media: qcom: venus: add power domain enable logic for Venus cores Erikas Bitovtas
2026-05-14 12:56   ` sashiko-bot
2026-05-13 21:24 ` [PATCH v7 7/8] media: qcom: venus: add codec blacklist mechanism Erikas Bitovtas
2026-05-13 21:24 ` [PATCH v7 8/8] media: qcom: venus: Add msm8939 resource struct Erikas Bitovtas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260514123006.0E96CC2BCB3@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=xerikasxx@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox