From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mx.groups.io with SMTP id smtpd.web11.1781.1620751692336097158 for ; Tue, 11 May 2021 09:48:12 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bFoWR8R6; spf=pass (domain: kernel.org, ip: 198.145.29.99, mailfrom: ardb@kernel.org) Received: by mail.kernel.org (Postfix) with ESMTPSA id 5DD2C61260 for ; Tue, 11 May 2021 16:48:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620751691; bh=6Ti7lxt62/p0b0CiGA4uvDXLEvBRsEBN5itbhWHZPI0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=bFoWR8R6y3YXM8QRtFRN7H8Znx1GFD6bp67g3xyEw32ESVgYsCMf4tzauDUWTBbHu D/udTr16+pQP8yxQRb4rCGGLkio68HcsFLF6HZhJMqGnv/sKG4URJSMT5AeL8SfyLz l96XmoWk/d7iTn6JkHOksaX0UOO6qr0FEpZH8j/m+RVJq5GDSwc2D2Nv5uVuJV2/jr Kqv0u7eLdJInLTYPbnuowwheC0ZX6ukmaYNS45ONkEZ1rLY6euoxmDUVM2JGgE3IXh uPAtSUr637efKfqZFzCAwQ3RohJgzswSp5BLpznwxd4BtFtU0b9TgtuYmVKMiJLe94 SnglenfA/N6yg== Received: by mail-ot1-f46.google.com with SMTP id g15-20020a9d128f0000b02902a7d7a7bb6eso18058380otg.9 for ; Tue, 11 May 2021 09:48:11 -0700 (PDT) X-Gm-Message-State: AOAM533goOPO2DMCByHLML9v/Q3Kbe0ix2QcD0GCjYbQFGNbF/21HKcu nsVu4KmYTHqhaU4KKqR8zj1Hga/UTFW4qmX0MFk= X-Google-Smtp-Source: ABdhPJxjaPN5zlt0kYCUyDTfZ+cs+zYrWvjcYYQaghodH6NkxK2t+gkOQBnISW5RY3BPGLedXIXASBXIfiEWKbyfDNA= X-Received: by 2002:a9d:69c5:: with SMTP id v5mr26432008oto.108.1620751690570; Tue, 11 May 2021 09:48:10 -0700 (PDT) MIME-Version: 1.0 References: <20210510215308.28745-1-rebecca@nuviainc.com> <008b01d74612$2d6b2070$88416150$@byosoft.com.cn> In-Reply-To: <008b01d74612$2d6b2070$88416150$@byosoft.com.cn> From: "Ard Biesheuvel" Date: Tue, 11 May 2021 18:47:59 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: =?UTF-8?B?UmU6IFtlZGsyLWRldmVsXSDlm57lpI06IFtQQVRDSCB2MyAwLzJdIE1kZVBrZyxTZWN1cml0eVBrZzogQWRkIHN1cHBvcnQgdG8gUm5nRHhlIGFuZCBCYXNlUm5nTGliIGZvciBBQVJDSDY0IFJORFI=?= To: edk2-devel-groups-io , "Liming Gao (Byosoft address)" Cc: Rebecca Cran , Jiewen Yao , Jian J Wang , Michael D Kinney , Zhiguang Liu , Ard Biesheuvel , Sami Mujawar Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 11 May 2021 at 05:03, gaoliming wrote: > > Thanks for your update. This version patches are good to me. > > Reviewed-by: Liming Gao > Merged as #1633 Thanks all, > > -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- > > =E5=8F=91=E4=BB=B6=E4=BA=BA: Rebecca Cran > > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2021=E5=B9=B45=E6=9C=8811=E6=97= =A5 5:53 > > =E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io; Jiewen Yao ; Jian J > > Wang ; Michael D Kinney > > ; Liming Gao ; > > Zhiguang Liu ; Ard Biesheuvel > > ; Sami Mujawar > > =E6=8A=84=E9=80=81: Rebecca Cran > > =E4=B8=BB=E9=A2=98: [PATCH v3 0/2] MdePkg,SecurityPkg: Add support to = RngDxe and > > BaseRngLib for AARCH64 RNDR > > > > Update MdePkg BaseRngLib and SecurityPkg RngDxe to add support for > > the AARCH64 RNDR instruction. > > > > Changes from v2 to v3: > > > > 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. > > > > Rebecca Cran (2): > > MdePkg/BaseRngLib: Add support for ARMv8.5 RNG instructions > > SecurityPkg: Add support for RngDxe on AARCH64 > > > > 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 > > > > -- > > 2.26.2 > > > > > >=20 > >