From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web09.7718.1620702197583596946 for ; Mon, 10 May 2021 20:03:18 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Tue, 11 May 2021 11:03: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" To: "'Rebecca Cran'" , , "'Jiewen Yao'" , "'Jian J Wang'" , "'Michael D Kinney'" , "'Zhiguang Liu'" , "'Ard Biesheuvel'" , "'Sami Mujawar'" References: <20210510215308.28745-1-rebecca@nuviainc.com> In-Reply-To: <20210510215308.28745-1-rebecca@nuviainc.com> Subject: =?UTF-8?B?5Zue5aSNOiBbUEFUQ0ggdjMgMC8yXSBNZGVQa2csU2VjdXJpdHlQa2c6IEFkZCBzdXBwb3J0IHRvIFJuZ0R4ZSBhbmQgQmFzZVJuZ0xpYiBmb3IgQUFSQ0g2NCBSTkRS?= Date: Tue, 11 May 2021 11:03:11 +0800 Message-ID: <008b01d74612$2d6b2070$88416150$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQESC3XA47+pgLurJnrprr8HrGERAKxoDUnw Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Thanks for your update. This version patches are good to me.=20 Reviewed-by: Liming Gao > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: Rebecca Cran > =B7=A2=CB=CD=CA=B1=BC=E4: 2021=C4=EA5=D4=C211=C8=D5 5:53 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io; Jiewen Yao = ; Jian J > Wang ; Michael D Kinney > ; Liming Gao ; > Zhiguang Liu ; Ard Biesheuvel > ; Sami Mujawar > =B3=AD=CB=CD: Rebecca Cran > =D6=F7=CC=E2: [PATCH v3 0/2] MdePkg,SecurityPkg: Add support to RngDxe = and > BaseRngLib for AARCH64 RNDR >=20 > Update MdePkg BaseRngLib and SecurityPkg RngDxe to add support for > the AARCH64 RNDR instruction. >=20 > Changes from v2 to v3: >=20 > o Fixed the default value of > gEfiSecurityPkgTokenSpaceGuid.PcdCpuRngSupportedAlgorithm > to be an empty GUID. > o Removed RNDRRS since it wasn't being used. > o Fixed the commit message to remove mention of BaseLib. >=20 > Rebecca Cran (2): > MdePkg/BaseRngLib: Add support for ARMv8.5 RNG instructions > SecurityPkg: Add support for RngDxe on AARCH64 >=20 > MdePkg/MdePkg.dec > | 9 +- > SecurityPkg/SecurityPkg.dec | > 2 + > MdePkg/MdePkg.dsc > | 4 +- > SecurityPkg/SecurityPkg.dsc | > 11 +- > MdePkg/Library/BaseRngLib/BaseRngLib.inf | > 23 ++- > SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf | > 24 ++- > MdePkg/Library/BaseRngLib/AArch64/ArmRng.h | > 43 +++++ > MdePkg/Library/BaseRngLib/BaseRngLibInternals.h | > 78 +++++++++ > SecurityPkg/RandomNumberGenerator/RngDxe/{ =3D> Rand}/AesCore.h | > 0 > SecurityPkg/RandomNumberGenerator/RngDxe/{ =3D> Rand}/RdRand.h | > 17 -- > SecurityPkg/RandomNumberGenerator/RngDxe/RngDxeInternals.h | > 117 ++++++++++++++ > MdePkg/Library/BaseRngLib/AArch64/Rndr.c | > 139 ++++++++++++++++ > MdePkg/Library/BaseRngLib/BaseRng.c | > 87 +++++----- > MdePkg/Library/BaseRngLib/Rand/RdRand.c | > 131 +++++++++++++++ > SecurityPkg/RandomNumberGenerator/RngDxe/AArch64/RngDxe.c | > 127 +++++++++++++++ > SecurityPkg/RandomNumberGenerator/RngDxe/{ =3D> Rand}/AesCore.c | > 0 > SecurityPkg/RandomNumberGenerator/RngDxe/{ =3D> Rand}/RdRand.c | > 45 +----- > SecurityPkg/RandomNumberGenerator/RngDxe/Rand/RngDxe.c | > 146 +++++++++++++++++ > SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.c | > 170 ++++++++------------ > MdePkg/Library/BaseRngLib/AArch64/ArmReadIdIsar0.S | > 31 ++++ > MdePkg/Library/BaseRngLib/AArch64/ArmReadIdIsar0.asm | > 30 ++++ > MdePkg/Library/BaseRngLib/AArch64/ArmRng.S | > 37 +++++ > MdePkg/Library/BaseRngLib/AArch64/ArmRng.asm | > 39 +++++ > MdePkg/Library/BaseRngLib/BaseRngLib.uni | > 6 +- > 24 files changed, 1086 insertions(+), 230 deletions(-) > create mode 100644 MdePkg/Library/BaseRngLib/AArch64/ArmRng.h > create mode 100644 MdePkg/Library/BaseRngLib/BaseRngLibInternals.h > rename SecurityPkg/RandomNumberGenerator/RngDxe/{ =3D> > Rand}/AesCore.h (100%) > rename SecurityPkg/RandomNumberGenerator/RngDxe/{ =3D> > Rand}/RdRand.h (72%) > create mode 100644 > SecurityPkg/RandomNumberGenerator/RngDxe/RngDxeInternals.h > create mode 100644 MdePkg/Library/BaseRngLib/AArch64/Rndr.c > create mode 100644 MdePkg/Library/BaseRngLib/Rand/RdRand.c > create mode 100644 > SecurityPkg/RandomNumberGenerator/RngDxe/AArch64/RngDxe.c > rename SecurityPkg/RandomNumberGenerator/RngDxe/{ =3D> > Rand}/AesCore.c (100%) > rename SecurityPkg/RandomNumberGenerator/RngDxe/{ =3D> > Rand}/RdRand.c (71%) > create mode 100644 > SecurityPkg/RandomNumberGenerator/RngDxe/Rand/RngDxe.c > create mode 100644 > MdePkg/Library/BaseRngLib/AArch64/ArmReadIdIsar0.S > create mode 100644 > MdePkg/Library/BaseRngLib/AArch64/ArmReadIdIsar0.asm > create mode 100644 MdePkg/Library/BaseRngLib/AArch64/ArmRng.S > create mode 100644 MdePkg/Library/BaseRngLib/AArch64/ArmRng.asm >=20 > -- > 2.26.2