All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Kuldeep Singh" <kuldeep.singh@oss.qualcomm.com>,
	"Abel Vesa" <abelvesa@kernel.org>,
	"Bjorn Andersson" <andersson@kernel.org>,
	"Konrad Dybcio" <konradybcio@kernel.org>,
	"Manivannan Sadhasivam" <mani@kernel.org>,
	"Harshal Dev" <harshal.dev@oss.qualcomm.com>,
	"Eric Biggers" <ebiggers@google.com>,
	"Ulf Hansson" <ulfh@kernel.org>,
	"Bartosz Golaszewski" <brgl@kernel.org>,
	"Martin K. Petersen" <mkp@kernel.org>,
	"Gaurav Kashyap" <quic_gaurkash@quicinc.com>,
	"Adrian Hunter" <adrian.hunter@intel.com>,
	"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: "Konrad Dybcio" <konrad.dybcio@oss.qualcomm.com>,
	linux-crypto@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: [PATCH v3 3/6] soc: qcom: ice: Fix error path on resume failures
Date: Thu, 03 Dec 2026 12:41:03 +0000	[thread overview]
Message-ID: <sashiko-outbox-247774@kernel.org> (raw)
In-Reply-To: <20261203-qcom_ice_pm_enable-v3-3-86f79ce468b5@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] soc: qcom: ice: qcom_ice_resume() calls undefined
  qcom_ice_disable_clocks()
--

commit e8071bd70a663f6d3e50121a0fc79388cdc3f52b
Author: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>

soc: qcom: ice: Fix error path on resume failures

This commit updates qcom_ice_resume() to clear ice->hwkm_init_complete and
disable the ICE clocks when qcom_ice_wait_bist_status() returns an error.

> diff --git a/drivers/soc/qcom/ice.c b/drivers/soc/qcom/ice.c
> index 50211e428a0b3..beeaa67082062 100644
> --- a/drivers/soc/qcom/ice.c
> +++ b/drivers/soc/qcom/ice.c
> @@ -334,7 +334,15 @@ int qcom_ice_resume(struct qcom_ice *ice)
>  		return err;
>  	}
>  	qcom_ice_hwkm_init(ice);
> -	return qcom_ice_wait_bist_status(ice);
> +
> +	err = qcom_ice_wait_bist_status(ice);
> +	if (err) {
> +		ice->hwkm_init_complete = false;
> +		qcom_ice_disable_clocks(ice);
> +		return err;
> +	}

[Severity: High]
Does this fail to compile because qcom_ice_disable_clocks() is not defined
yet?

At this commit, qcom_ice_disable_clocks() is neither declared nor defined
anywhere in the tree, which breaks builds with
CONFIG_QCOM_INLINE_CRYPTO_ENGINE enabled and breaks git bisect.  The helper
is only introduced later in the series by commit "soc: qcom: ice: Add runtime
PM support".

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261203-qcom_ice_pm_enable-v3-0-86f79ce468b5@oss.qualcomm.com?part=3

  reply	other threads:[~2026-12-03 12:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 12:22 [PATCH v3 0/6] ICE: Enable runtime PM support and fixes Kuldeep Singh
2026-12-03 12:22 ` [PATCH v3 1/6] soc: qcom: ice: Fix clock unwind behaviour Kuldeep Singh
2026-12-03 12:22 ` [PATCH v3 2/6] soc: qcom: ice: Wait for HWKM BIST to complete Kuldeep Singh
2026-12-03 12:22 ` [PATCH v3 3/6] soc: qcom: ice: Fix error path on resume failures Kuldeep Singh
2026-12-03 12:41   ` sashiko-bot [this message]
2026-12-03 12:22 ` [PATCH v3 4/6] soc: qcom: ice: Add runtime PM support Kuldeep Singh
2026-12-03 12:49   ` sashiko-bot
2026-12-03 12:22 ` [PATCH v3 5/6] ice: Link storage consumers for runtime PM Kuldeep Singh
2026-12-03 12:53   ` sashiko-bot
2026-12-03 12:22 ` [PATCH v3 6/6] soc: qcom: ice: Drop exported resume and suspend APIs Kuldeep Singh
2026-12-03 12:53   ` sashiko-bot

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=sashiko-outbox-247774@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=abelvesa@kernel.org \
    --cc=adrian.hunter@intel.com \
    --cc=andersson@kernel.org \
    --cc=brgl@kernel.org \
    --cc=ebiggers@google.com \
    --cc=harshal.dev@oss.qualcomm.com \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=kuldeep.singh@oss.qualcomm.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mani@kernel.org \
    --cc=mkp@kernel.org \
    --cc=quic_gaurkash@quicinc.com \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=ulfh@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.