From: Qunqin Zhao <zhaoqunqin@loongson.cn>
To: Eric Biggers <ebiggers@kernel.org>, Huacai Chen <chenhuacai@kernel.org>
Cc: linux-crypto@vger.kernel.org,
Herbert Xu <herbert@gondor.apana.org.au>,
linux-kernel@vger.kernel.org, loongarch@lists.linux.dev,
Yinggang Gu <guyinggang@loongson.cn>, Lee Jones <lee@kernel.org>,
kernel test robot <lkp@intel.com>,
stable@vger.kernel.org
Subject: Re: [PATCH] crypto: loongson - Select CRYPTO_RNG
Date: Fri, 22 May 2026 11:41:15 +0800 [thread overview]
Message-ID: <d71adfa1-8895-e741-b72f-c5e99d5fb9e6@loongson.cn> (raw)
In-Reply-To: <20260522025722.GD5937@quark>
在 2026/5/22 上午10:57, Eric Biggers 写道:
> On Fri, May 22, 2026 at 10:52:42AM +0800, Huacai Chen wrote:
>> On Fri, May 22, 2026 at 10:26 AM Eric Biggers <ebiggers@kernel.org> wrote:
>>> This driver registers a rng_alg, so it requires CRYPTO_RNG.
>>>
>>> Fixes: 766b2d724c8d ("crypto: loongson - add Loongson RNG driver support")
>>> Reported-by: kernel test robot <lkp@intel.com>
>>> Closes: https://lore.kernel.org/oe-kbuild-all/202605201622.qWOiiZTV-lkp@intel.com/
>>> Cc: stable@vger.kernel.org
>>> Signed-off-by: Eric Biggers <ebiggers@kernel.org>
>> Reviewed-by: Huacai Chen <chenhuacai@loongson.cn>
>>> ---
>>> drivers/crypto/loongson/Kconfig | 1 +
>>> 1 file changed, 1 insertion(+)
>>>
> By the way, do any of the loongson people have any comment on what they
> think the point of this driver is? It's not registered with the actual
To provide an AF_ALG-based random number generation interface for other
modules and user-space programs.
Thanks,
Qunqin
> hwrng subsystem, but rather the pointless crypto_rng system which no one
> uses. So if it was intended to provide entropy for /dev/urandom etc.,
> that isn't what it's doing.
>
> Can we just delete this driver?
>
> - Eric
next prev parent reply other threads:[~2026-05-22 3:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-22 2:25 Eric Biggers
2026-05-22 2:52 ` Huacai Chen
2026-05-22 2:57 ` Eric Biggers
2026-05-22 3:41 ` Qunqin Zhao [this message]
2026-05-22 4:03 ` Eric Biggers
2026-05-22 6:40 ` Qunqin Zhao
2026-05-22 17:48 ` Eric Biggers
2026-05-25 2:45 ` Qunqin Zhao
2026-05-25 3:20 ` Eric Biggers
2026-05-25 8:17 ` Qunqin Zhao
2026-05-25 14:59 ` Eric Biggers
2026-05-29 6:08 ` Herbert Xu
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=d71adfa1-8895-e741-b72f-c5e99d5fb9e6@loongson.cn \
--to=zhaoqunqin@loongson.cn \
--cc=chenhuacai@kernel.org \
--cc=ebiggers@kernel.org \
--cc=guyinggang@loongson.cn \
--cc=herbert@gondor.apana.org.au \
--cc=lee@kernel.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=loongarch@lists.linux.dev \
--cc=stable@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®