From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796301665; b=TaYt216hKuQQp2lrifD4dSORQML4POPCBjtdhd27uS7MZweB8BF3vg7MHXiBfv0sbNkL LP16nqx0FfguYywgPv54TFA0ud3t+howEEOOaGw3aikICmmGGZpwZRWYqqSKIpAlPtg+l 2zEHDbdqRIMOkTxQiYWpgns5uZivyfMHqeYf0XoKv18B0zjEOaq6pwkju+jwwRxhWyhhm 1WcsS/B116jWAGGmjRFFBH0nJCO2lT7/7nQlQENiSF0LazoX9YBNWwzODWuo4vin1yOWD qkiP61SNkWby0YueJN9OsxqZhz7WZuyJdWzdzsQn7+5vc0/9tIozhEukNGafzbWKI/Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796301665; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=ZL73mrBtoTpXsRGVJo7hYtmeIZfmHZhPwVEXiVTcfr0=; b=H4paonSSe9s225BMAjx95/2gQSYfvxSPCru1TF1KoD5IwLpnbPdSBbd8eqcSF0nuHH+u rbNb/Ce6HW0qdGPJHpU8ArSbQHa7a7gsvZUwMH9ldgxPPeuHqx1hierL67XOnmAY0EEbA 5FVqXoF0j1OuYyEGmNFeNS2s86T4Ho9DRkwPri7IiG+M2XsTA51iYvDLmSXb6I4w6noRx tbT9VcJDM1Z5N1EBaMrlFzkQSoG9yq1TLDmWoH4GuzPro0W7NR4i38lp+pefPnhXOLjb+ tsqGKTHPEsI3vAG5Gd0YLoOzqlQ8mtayA++LPI07pqJRkWOHQZ65QNqUfY5KeIB6aSg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JzsoNtvW; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4CB15606A32F; Thu, 3 Dec 2026 12:41:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JzsoNtvW Received: by smtp.kernel.org (Postfix) with ESMTPSA id 58E661F00898; Thu, 3 Dec 2026 12:41:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796301664; bh=ZL73mrBtoTpXsRGVJo7hYtmeIZfmHZhPwVEXiVTcfr0=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=JzsoNtvWHRCI3fGTjb9cXDuEQvSHxgA5SKBwnSXTJLgEIAb3AsOZjuBws+yUHcAcH i9NuP3dkSqvGDFw0d66SFdmctImjmJ1TdxJXVKZoL9N0PAAPz/vZHmLuviNvZFslXS OSN69nvfv8B2otwTNVuL7DwTPfbb1BmklQ9ZASV2j9JGoOLOLM3Z3g5FlNN9WSSkJk GvhfxBBvgFRNUbbYrWkLaG9xFlUTCDu2bE7/xhClNUrhgYPORUMnGfstyvZJBk8bqM ck5pqcsgCILWeephp6jOJ6RoZnCeU7Ap118wNGsdB5SLriZh28UkyVtXP8BXGtxiXw /tu7nzWTIIxtA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v3 3/6] soc: qcom: ice: Fix error path on resume failures Reply-To: sashiko-reviews@lists.linux.dev To: "Kuldeep Singh" , "Abel Vesa" , "Bjorn Andersson" , "Konrad Dybcio" , "Manivannan Sadhasivam" , "Harshal Dev" , "Eric Biggers" , "Ulf Hansson" , "Bartosz Golaszewski" , "Martin K. Petersen" , "Gaurav Kashyap" , "Adrian Hunter" , "James E.J. Bottomley" Cc: "Konrad Dybcio" , linux-crypto@vger.kernel.org, linux-scsi@vger.kernel.org In-Reply-To: <20261203-qcom_ice_pm_enable-v3-3-86f79ce468b5@oss.qualcomm.com> References: <20261203-qcom_ice_pm_enable-v3-0-86f79ce468b5@oss.qualcomm.com> <20261203-qcom_ice_pm_enable-v3-3-86f79ce468b5@oss.qualcomm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 12:41:03 +0000 X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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 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 =3D qcom_ice_wait_bist_status(ice); > + if (err) { > + ice->hwkm_init_complete =3D 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 runti= me PM support". --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203-qcom_ice_p= m_enable-v3-0-86f79ce468b5@oss.qualcomm.com?part=3D3