Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3F5F2C6FD1C for ; Thu, 23 Mar 2023 12:52:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=o4ml5cmZX4GDFtJ8SaX/ZUd3vMVtoNVPprIE/+AHtV0=; b=vchvYdZfcIiHpi eDNEYevTwULUzmXev8aMAkXx8oWeSibX6Xk9SbSCkL46ennAbyp0SvxvpkPIaflgVYFfVHWdg0rlz fUf+/yutPeN/XpR2lDC2PM5YJut6o5rE2oclBoq4dnbHkeXtko9W9woRbK8RDmIKJ7W/AAYNChdXA NE6sDY1CI2U5xxfiVYOm/8hgRA6NyE67LFcGuFWQRmzVOw6PSaseGvg7TpTWF6ceV0ZZXgq6oGCtY 4j6gzhkzZwI4h/M3TZC7TEOSycXJr0fhoSw6UAZ2xDoMwzO5Msq/FXUe4tGeqNPmSLDhq4CqR5UxH Q/BYk3npXm4J0NBaPOFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pfKPc-001z5j-30; Thu, 23 Mar 2023 12:51:24 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pfKPa-001z5G-09 for linux-arm-kernel@lists.infradead.org; Thu, 23 Mar 2023 12:51:23 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id ADFCE4B3; Thu, 23 Mar 2023 05:52:03 -0700 (PDT) Received: from [10.57.64.178] (unknown [10.57.64.178]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D100B3F71E; Thu, 23 Mar 2023 05:51:18 -0700 (PDT) Message-ID: Date: Thu, 23 Mar 2023 12:51:17 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v1] arm64: defconfig: Enable Virtio RNG driver as built in Content-Language: en-US To: Catalin Marinas , Will Deacon Cc: Bjorn Andersson , Arnd Bergmann , linux-arm-kernel@lists.infradead.org References: <20230213101633.2085161-1-ryan.roberts@arm.com> From: Ryan Roberts In-Reply-To: <20230213101633.2085161-1-ryan.roberts@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230323_055122_128316_17C53316 X-CRM114-Status: GOOD ( 20.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 > --- > 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