* [PATCH v1] hwrng: Kconfig - Do not enable by default CN10K driver
@ 2024-06-25 19:57 Francesco Dolcini
2024-07-06 0:10 ` Herbert Xu
2024-07-12 23:55 ` Herbert Xu
0 siblings, 2 replies; 6+ messages in thread
From: Francesco Dolcini @ 2024-06-25 19:57 UTC (permalink / raw)
To: Olivia Mackall, Herbert Xu; +Cc: Francesco Dolcini, linux-crypto, linux-kernel
From: Francesco Dolcini <francesco.dolcini@toradex.com>
Do not enable by default the CN10K HW random generator driver.
CN10K Random Number Generator is available only on some specific
Marvell SoCs, however the driver is in practice enabled by default on
all arm64 configs.
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
---
as an alternative I could propose
default HW_RANDOM if ARCH_THUNDER=y
---
drivers/char/hw_random/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 442c40efb200..01e2e1ef82cf 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -555,7 +555,6 @@ config HW_RANDOM_ARM_SMCCC_TRNG
config HW_RANDOM_CN10K
tristate "Marvell CN10K Random Number Generator support"
depends on HW_RANDOM && PCI && (ARM64 || (64BIT && COMPILE_TEST))
- default HW_RANDOM
help
This driver provides support for the True Random Number
generator available in Marvell CN10K SoCs.
--
2.39.2
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH v1] hwrng: Kconfig - Do not enable by default CN10K driver
2024-06-25 19:57 [PATCH v1] hwrng: Kconfig - Do not enable by default CN10K driver Francesco Dolcini
@ 2024-07-06 0:10 ` Herbert Xu
2024-07-18 10:10 ` [EXTERNAL] " Bharat Bhushan
2024-07-12 23:55 ` Herbert Xu
1 sibling, 1 reply; 6+ messages in thread
From: Herbert Xu @ 2024-07-06 0:10 UTC (permalink / raw)
To: Francesco Dolcini, Bharat Bhushan
Cc: Olivia Mackall, Francesco Dolcini, linux-crypto, linux-kernel
On Tue, Jun 25, 2024 at 09:57:46PM +0200, Francesco Dolcini wrote:
> From: Francesco Dolcini <francesco.dolcini@toradex.com>
>
> Do not enable by default the CN10K HW random generator driver.
>
> CN10K Random Number Generator is available only on some specific
> Marvell SoCs, however the driver is in practice enabled by default on
> all arm64 configs.
>
> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
> ---
> as an alternative I could propose
>
> default HW_RANDOM if ARCH_THUNDER=y
Adding marvell Cc.
Cheers,
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [EXTERNAL] Re: [PATCH v1] hwrng: Kconfig - Do not enable by default CN10K driver
2024-07-06 0:10 ` Herbert Xu
@ 2024-07-18 10:10 ` Bharat Bhushan
2024-07-22 6:55 ` Francesco Dolcini
0 siblings, 1 reply; 6+ messages in thread
From: Bharat Bhushan @ 2024-07-18 10:10 UTC (permalink / raw)
To: Herbert Xu, Francesco Dolcini
Cc: Olivia Mackall, Francesco Dolcini, linux-crypto, linux-kernel
> From: Herbert Xu <herbert@gondor.apana.org.au>
> Sent: Saturday, July 6, 2024 5:41 AM
> To: Francesco Dolcini <francesco@dolcini.it>; Bharat Bhushan <bbhushan2@marvell.com>
> Cc: Olivia Mackall <olivia@selenic.com>; Francesco Dolcini <francesco.dolcini@toradex.com>; linux-crypto@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: [EXTERNAL] Re: [PATCH v1] hwrng: Kconfig - Do not enable by default CN10K driver
>
> On Tue, Jun 25, 2024 at 09: 57: 46PM +0200, Francesco Dolcini wrote: > From: Francesco Dolcini <francesco. dolcini@ toradex. com> > > Do not enable by default the CN10K HW random generator driver. > > CN10K Random Number Generator
> On Tue, Jun 25, 2024 at 09:57:46PM +0200, Francesco Dolcini wrote:
>> From: Francesco Dolcini <mailto:francesco.dolcini@toradex.com>
>>
>> Do not enable by default the CN10K HW random generator driver.
>>
>> CN10K Random Number Generator is available only on some specific
>> Marvell SoCs, however the driver is in practice enabled by default on
>> all arm64 configs.
>>
>> Signed-off-by: Francesco Dolcini <mailto:francesco.dolcini@toradex.com>
>> ---
>> as an alternative I could propose
>>
>> default HW_RANDOM if ARCH_THUNDER=y
Yes, make default if ARCH_THUNDER is true
Thanks
-Bharat
>Adding marvell Cc.
>Cheers,
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [EXTERNAL] Re: [PATCH v1] hwrng: Kconfig - Do not enable by default CN10K driver
2024-07-18 10:10 ` [EXTERNAL] " Bharat Bhushan
@ 2024-07-22 6:55 ` Francesco Dolcini
2024-07-24 3:13 ` Herbert Xu
0 siblings, 1 reply; 6+ messages in thread
From: Francesco Dolcini @ 2024-07-22 6:55 UTC (permalink / raw)
To: Herbert Xu, Bharat Bhushan
Cc: Francesco Dolcini, Olivia Mackall, Francesco Dolcini,
linux-crypto, linux-kernel
Hello Herbert, Bharat
On Thu, Jul 18, 2024 at 10:10:31AM +0000, Bharat Bhushan wrote:
> > On Tue, Jun 25, 2024 at 09:57:46PM +0200, Francesco Dolcini wrote:
> >> From: Francesco Dolcini <mailto:francesco.dolcini@toradex.com>
> >>
> >> Do not enable by default the CN10K HW random generator driver.
> >>
> >> CN10K Random Number Generator is available only on some specific
> >> Marvell SoCs, however the driver is in practice enabled by default on
> >> all arm64 configs.
> >>
> >> Signed-off-by: Francesco Dolcini <mailto:francesco.dolcini@toradex.com>
> >> ---
> >> as an alternative I could propose
> >>
> >> default HW_RANDOM if ARCH_THUNDER=y
>
> Yes, make default if ARCH_THUNDER is true
Herbert, this patch was merged, do you want a follow-up patch as Bharat wrote
or you are good with the current status?
Francesco
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [EXTERNAL] Re: [PATCH v1] hwrng: Kconfig - Do not enable by default CN10K driver
2024-07-22 6:55 ` Francesco Dolcini
@ 2024-07-24 3:13 ` Herbert Xu
0 siblings, 0 replies; 6+ messages in thread
From: Herbert Xu @ 2024-07-24 3:13 UTC (permalink / raw)
To: Francesco Dolcini
Cc: Bharat Bhushan, Olivia Mackall, Francesco Dolcini, linux-crypto,
linux-kernel
On Mon, Jul 22, 2024 at 08:55:40AM +0200, Francesco Dolcini wrote:
>
> > Yes, make default if ARCH_THUNDER is true
>
> Herbert, this patch was merged, do you want a follow-up patch as Bharat wrote
> or you are good with the current status?
Please send me a follow-up patch. Thanks!
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v1] hwrng: Kconfig - Do not enable by default CN10K driver
2024-06-25 19:57 [PATCH v1] hwrng: Kconfig - Do not enable by default CN10K driver Francesco Dolcini
2024-07-06 0:10 ` Herbert Xu
@ 2024-07-12 23:55 ` Herbert Xu
1 sibling, 0 replies; 6+ messages in thread
From: Herbert Xu @ 2024-07-12 23:55 UTC (permalink / raw)
To: Francesco Dolcini
Cc: Olivia Mackall, Francesco Dolcini, linux-crypto, linux-kernel,
Bharat Bhushan
On Tue, Jun 25, 2024 at 09:57:46PM +0200, Francesco Dolcini wrote:
> From: Francesco Dolcini <francesco.dolcini@toradex.com>
>
> Do not enable by default the CN10K HW random generator driver.
>
> CN10K Random Number Generator is available only on some specific
> Marvell SoCs, however the driver is in practice enabled by default on
> all arm64 configs.
>
> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
> ---
> as an alternative I could propose
>
> default HW_RANDOM if ARCH_THUNDER=y
>
> ---
> drivers/char/hw_random/Kconfig | 1 -
> 1 file changed, 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-07-24 3:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-25 19:57 [PATCH v1] hwrng: Kconfig - Do not enable by default CN10K driver Francesco Dolcini
2024-07-06 0:10 ` Herbert Xu
2024-07-18 10:10 ` [EXTERNAL] " Bharat Bhushan
2024-07-22 6:55 ` Francesco Dolcini
2024-07-24 3:13 ` Herbert Xu
2024-07-12 23:55 ` Herbert Xu
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®