From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 0E0FC740040 for ; Fri, 24 May 2024 03:02:30 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=nIMirMht1p4TGDz9m9T7kWuvXmJPiuYeqpqTD6pKCF4=; c=relaxed/simple; d=groups.io; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Thread-Index:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding:Content-Language; s=20240206; t=1716519748; v=1; b=CX1WSSbIMWiP/8GknPOYi7DqfWWdBcE+/x4tsv3veYAZGZbVrJ5y2nxF8+EWbceY5+nptlTy OL+uThIprcBHV9vIvTN1Pf5xmA5FfWC5AZeDDLjpqsIoKyQjPJm8sW4PFbn/1TlM36BxuwmyKRk ggoQtixGZ8B+YI8Xh0EHYINz3WqeliKjWKKgT6x0pepZjgesDPYE+RbDiNaUnOXzWFmcpGTdBn9 p0/p5WkrHTC1yNrh5wQdqYLJH4IU2PEcRLRphs1+YMCZG2EGMWwq6o0PfBInqfUgnDrlo1WGLD4 laYusTVPCTnnGKPWBVQArAyItZpoy/eMt5qss9oqB/1Hw== X-Received: by 127.0.0.2 with SMTP id HkVjYY7687511xuASrD3i3bx; Thu, 23 May 2024 20:02:28 -0700 X-Received: from zrleap.intel-email.com (zrleap.intel-email.com [114.80.218.36]) by mx.groups.io with SMTP id smtpd.web10.7551.1716519742582940072 for ; Thu, 23 May 2024 20:02:23 -0700 X-Received: from zrleap.intel-email.com (localhost [127.0.0.1]) by zrleap.intel-email.com (Postfix) with ESMTP id 9D628A32E03B for ; Fri, 24 May 2024 11:02:19 +0800 (CST) X-Received: from localhost (localhost [127.0.0.1]) by zrleap.intel-email.com (Postfix) with ESMTP id 0F215A32DFDD for ; Fri, 24 May 2024 11:02:18 +0800 (CST) X-Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by zrleap.intel-email.com (Postfix) with SMTP id AA4FCA32E15B for ; Fri, 24 May 2024 11:02:15 +0800 (CST) X-Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP(SSL) for ; Fri, 24 May 2024 11:02:11 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming via groups.io" To: , , Cc: "'Doug Flick'" , "'Jiewen Yao'" References: <10155.1715916473037445818@groups.io> In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0g5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIHYyIDAzLzEzXSBPdm1mUGtnOlBsYXRmb3JtQ0k6IFN1cHBvcnQgdmlydGlvLXJuZy1wY2k=?= Date: Fri, 24 May 2024 11:02:14 +0800 Message-ID: <018001daad86$c7a1e5f0$56e5b1d0$@byosoft.com.cn> MIME-Version: 1.0 Thread-Index: AQFMRiF27P1PpS1yAm5CTWkkHVdxOAIVOxBrAaik+N4BtPTHmbKW6S1w Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Thu, 23 May 2024 20:02:23 -0700 Resent-From: gaoliming@byosoft.com.cn Reply-To: devel@edk2.groups.io,gaoliming@byosoft.com.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: ahRdhbZupeqJrHcc1TweRw3fx7686176AA= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=CX1WSSbI; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Doug: Have you any update for this patch set? Thanks Liming > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io =B4=FA=B1= =ED Gerd Hoffmann > =B7=A2=CB=CD=CA=B1=BC=E4: 2024=C4=EA5=D4=C217=C8=D5 17:48 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io; ardb@kernel.org > =B3=AD=CB=CD: Doug Flick ; Jiewen Yao > ; Liming Gao (Byosoft address) > > =D6=F7=CC=E2: Re: [edk2-devel] =BB=D8=B8=B4: [edk2-devel] [PATCH v2 03/13= ] > OvmfPkg:PlatformCI: Support virtio-rng-pci >=20 > On Fri, May 17, 2024 at 09:27:53AM GMT, Ard Biesheuvel wrote: > > On Fri, 17 May 2024 at 05:27, Doug Flick via groups.io > > wrote: > > > > > > On ARM, we can actually do better than this: I have taken Doug's v2 and > applied some changes on top to make it work with ArmVirtQemu. > > > > > > https://github.com/ardbiesheuvel/edk2/tree/doug-v2 > > > > > > Ard, would you be comfortable with this patch series if I take the commits > you're suggesting? I'm being asked to see what it would take to get these commits > in for this release. > > > > I won't object to that, but I'd like Gerd's take as well, given that a > > similar concern appears to apply to OVMF/x86 IIUC. >=20 > I think including RngDxe in OvmfPkg is not an option. That would > be a silent regression on the random number quality delivered by > EFI_RNG_PROTOCOL because OvmfPkg uses BaseRngLibTimerLib. >=20 > Switching to BaseRngLib is an easy way out for physical platforms > with a sufficient recent processor. OVMF can not assume the rdrand > instruction is available, so that is not possible. >=20 > So short-term (i.e. 2024-05 stable tag) the only option I see is > depending on virtio-rng. Which is a regression too (network booting > without '-device virtio-rng-pci' breaks), but it is an obvious failure > with an easy fix. Not an ideal solution, but much better than a > regression which can easily go unnoticed. >=20 > Longer term it probably makes sense to have a EFI_RNG_PROTOCOL driver > using the rdrand instruction and runtime detection whenever the > instruction is available or not. Either by adapting RngDxe accordingly, > or by having an OVMF-specific driver handling the runtime detection. >=20 > take care, > Gerd >=20 >=20 >=20 >=20 >=20 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119180): https://edk2.groups.io/g/devel/message/119180 Mute This Topic: https://groups.io/mt/106275345/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-