linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] arm64: defconfig: Enable Qualcomm pseudo rng
@ 2019-10-19 19:58 Bjorn Andersson
  2019-10-20 13:34 ` Vinod Koul
  0 siblings, 1 reply; 2+ messages in thread
From: Bjorn Andersson @ 2019-10-19 19:58 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Shawn Guo, Bjorn Andersson,
	Olof Johansson, Maxime Ripard, Arnd Bergmann, Anson Huang,
	Jagan Teki, Leonard Crestez, Dinh Nguyen, Marcin Juszkiewicz
  Cc: linux-arm-kernel, linux-kernel, linux-arm-msm, Vinod Koul

Most Qualcomm platforms contain a pseudo random number generator
hardware block. Enable the driver for this block and also enable the
interface for exposing this to userspace.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 6baf90875263..4591bf1303da 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -860,6 +860,8 @@ CONFIG_NLS_ISO8859_1=y
 CONFIG_SECURITY=y
 CONFIG_CRYPTO_ECHAINIV=y
 CONFIG_CRYPTO_ANSI_CPRNG=y
+CONFIG_CRYPTO_USER_API_RNG=m
+CONFIG_CRYPTO_DEV_QCOM_RNG=m
 CONFIG_DMA_CMA=y
 CONFIG_CMA_SIZE_MBYTES=32
 CONFIG_PRINTK_TIME=y
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] arm64: defconfig: Enable Qualcomm pseudo rng
  2019-10-19 19:58 [PATCH v2] arm64: defconfig: Enable Qualcomm pseudo rng Bjorn Andersson
@ 2019-10-20 13:34 ` Vinod Koul
  0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2019-10-20 13:34 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Catalin Marinas, Will Deacon, Shawn Guo, Olof Johansson,
	Maxime Ripard, Arnd Bergmann, Anson Huang, Jagan Teki,
	Leonard Crestez, Dinh Nguyen, Marcin Juszkiewicz,
	linux-arm-kernel, linux-kernel, linux-arm-msm

On 19-10-19, 12:58, Bjorn Andersson wrote:
> Most Qualcomm platforms contain a pseudo random number generator
> hardware block. Enable the driver for this block and also enable the
> interface for exposing this to userspace.

Reviewed-by: Vinod Koul <vkoul@kernel.org>
Tested-by: Vinod Koul <vkoul@kernel.org>

> 
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---
>  arch/arm64/configs/defconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 6baf90875263..4591bf1303da 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -860,6 +860,8 @@ CONFIG_NLS_ISO8859_1=y
>  CONFIG_SECURITY=y
>  CONFIG_CRYPTO_ECHAINIV=y
>  CONFIG_CRYPTO_ANSI_CPRNG=y
> +CONFIG_CRYPTO_USER_API_RNG=m
> +CONFIG_CRYPTO_DEV_QCOM_RNG=m
>  CONFIG_DMA_CMA=y
>  CONFIG_CMA_SIZE_MBYTES=32
>  CONFIG_PRINTK_TIME=y
> -- 
> 2.23.0

-- 
~Vinod

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-20 13:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-19 19:58 [PATCH v2] arm64: defconfig: Enable Qualcomm pseudo rng Bjorn Andersson
2019-10-20 13:34 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).