linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Ryan Roberts <ryan.roberts@arm.com>
To: Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>
Cc: Bjorn Andersson <andersson@kernel.org>,
	Arnd Bergmann <arnd@arndb.de>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v1] arm64: defconfig: Enable Virtio RNG driver as built in
Date: Thu, 23 Mar 2023 12:51:17 +0000	[thread overview]
Message-ID: <fd67d4aa-fb01-711a-8f89-b85dc4265899@arm.com> (raw)
In-Reply-To: <20230213101633.2085161-1-ryan.roberts@arm.com>

Hi Catalin, Will, all,

Just a polite nudge: Is there any reason it would be problematic to merge this?

Thanks,
Ryan


On 13/02/2023 10:16, Ryan Roberts wrote:
> Modern versions of FVP_Base_RevC-2xAEMvA contain a Virtio RNG device,
> use of which can dramatically speed up the time taken for Linux to
> initialize its CRNG, from 10s of seconds in some cases, to instant. This
> improves the debug cycle significantly.
> 
> However, there are 2 barriers to getting people to use it. The first is
> that the defconfig doesn't have the required driver. The second is that
> the device is disabled in the device tree (for back-compat since older
> versions of the FVP don't have the device). Here we solve the first
> issue.
> 
> Signed-off-by: Ryan Roberts <ryan.roberts@arm.com>
> ---
>  arch/arm64/configs/defconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 851e8f9be06d..e2dad45e87a7 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -464,6 +464,8 @@ CONFIG_VIRTIO_CONSOLE=y
>  CONFIG_IPMI_HANDLER=m
>  CONFIG_IPMI_DEVICE_INTERFACE=m
>  CONFIG_IPMI_SI=m
> +CONFIG_HW_RANDOM=y
> +CONFIG_HW_RANDOM_VIRTIO=y
>  CONFIG_TCG_TPM=y
>  CONFIG_TCG_TIS=m
>  CONFIG_TCG_TIS_SPI=m
> --
> 2.25.1
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2023-03-23 12:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-13 10:16 [PATCH v1] arm64: defconfig: Enable Virtio RNG driver as built in Ryan Roberts
2023-03-23 12:51 ` Ryan Roberts [this message]
2023-03-23 17:37   ` Catalin Marinas
2023-03-24 17:49     ` Arnd Bergmann
2023-03-24 19:08       ` Ryan Roberts

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=fd67d4aa-fb01-711a-8f89-b85dc4265899@arm.com \
    --to=ryan.roberts@arm.com \
    --cc=andersson@kernel.org \
    --cc=arnd@arndb.de \
    --cc=catalin.marinas@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=will@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;
as well as URLs for NNTP newsgroup(s).