Linux cryptographic layer development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Bartosz Golaszewski" <bartosz.golaszewski@oss.qualcomm.com>,
	"Thara Gopinath" <thara.gopinath@gmail.com>,
	"Herbert Xu" <herbert@gondor.apana.org.au>,
	"David S. Miller" <davem@davemloft.net>,
	"Stanimir Varbanov" <svarbanov@mm-sol.com>,
	"Eneas U de Queiroz" <cotequeiroz@gmail.com>,
	"Kuldeep Singh" <kuldeep.singh@oss.qualcomm.com>,
	"Eric Biggers" <ebiggers@kernel.org>,
	"Demi Marie Obenour" <demiobenour@gmail.com>,
	"Bjorn Andersson" <andersson@kernel.org>,
	"Konrad Dybcio" <konradybcio@kernel.org>,
	"Russell King" <linux@armlinux.org.uk>,
	"Abel Vesa" <abelvesa@kernel.org>,
	"Udit Tiwari" <udit.tiwari@oss.qualcomm.com>
Cc: linux-crypto@vger.kernel.org, brgl@kernel.org,
	"Jesse Casco" <jesse.casco@gmail.com>,
	"Pankaj Patil" <pankaj.patil@oss.qualcomm.com>
Subject: Re: [PATCH v14 2/2] crypto: qce - split the crypto driver into core and crypto parts
Date: Tue, 01 Dec 2026 16:27:06 +0000	[thread overview]
Message-ID: <sashiko-outbox-243705@kernel.org> (raw)
In-Reply-To: <20261201-qce-fix-self-tests-v14-2-7323f051aa50@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] crypto: qce: missing QCOM_CRYPTO_CORE dependency and stale
  Kconfig help
--

commit b37984a6ef85715b408c0ae31d1de0c37570e2ec
Author: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>

crypto: qce - split the crypto driver into core and crypto parts

This commit splits the Qualcomm Crypto Engine driver into a core platform
driver in drivers/soc/qcom/qce-core.c that manages interconnect bandwidth
voting via runtime PM and creates the "qce.crypto" auxiliary device, and
converts drivers/crypto/qce to an auxiliary driver.

> diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
> index f6b083ed284e5..e2bbdc60ee7a5 100644
> --- a/drivers/crypto/Kconfig
> +++ b/drivers/crypto/Kconfig
> @@ -513,6 +513,8 @@ config CRYPTO_DEV_QCE
>  	tristate "Qualcomm crypto engine offloader"
>  	depends on ARCH_QCOM || COMPILE_TEST
>  	depends on HAS_IOMEM
> +	depends on PM
> +	select AUXILIARY_BUS
>  	help
>  	  This driver supports Qualcomm crypto engine offloader hardware. To
>  	  compile this driver as a module, choose M here. The module will be

[Severity: Low]
Should CRYPTO_DEV_QCE depend on QCOM_CRYPTO_CORE (or QCOM_CRYPTO_CORE ||
COMPILE_TEST)?  Without QCOM_CRYPTO_CORE enabled, nothing binds to the QCE
devicetree node or creates the "qce.crypto" auxiliary device, so qcrypto
loads but can never bind to any device.

Also, the help text below still says that by default qcrypto will "scale
down the interconnect bandwidth", which is now handled by qce-core.c
instead.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261201-qce-fix-self-tests-v14-0-7323f051aa50@oss.qualcomm.com?part=2

      reply	other threads:[~2026-12-01 16:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 16:06 [PATCH v14 0/2] crypto: qce - Split the crypto driver into core and crypto parts Bartosz Golaszewski
2026-12-01 16:06 ` [PATCH v14 1/2] crypto: qce - keep the device resumed until the request completes Bartosz Golaszewski
2026-12-01 16:06 ` [PATCH v14 2/2] crypto: qce - split the crypto driver into core and crypto parts Bartosz Golaszewski
2026-12-01 16:27   ` sashiko-bot [this message]

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-243705@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=bartosz.golaszewski@oss.qualcomm.com \
    --cc=brgl@kernel.org \
    --cc=cotequeiroz@gmail.com \
    --cc=davem@davemloft.net \
    --cc=demiobenour@gmail.com \
    --cc=ebiggers@kernel.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=jesse.casco@gmail.com \
    --cc=konradybcio@kernel.org \
    --cc=kuldeep.singh@oss.qualcomm.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=pankaj.patil@oss.qualcomm.com \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=svarbanov@mm-sol.com \
    --cc=thara.gopinath@gmail.com \
    --cc=udit.tiwari@oss.qualcomm.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