[edk2-devel] [PATCH] CryptoPkg/OpensslLib: Upgrade OpenSSL to 1.1.1u

2023-07-17 Thread Sheng Wei
Cc: Jian J Wang Cc: Jiewen Yao Cc: Xiaoyu Lu Cc: Guomin Jiang Signed-off-by: Sheng Wei --- CryptoPkg/Library/OpensslLib/OpensslLib.inf | 1 - CryptoPkg/Library/OpensslLib/OpensslLibAccel.inf | 1 - CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf| 1 - CryptoPkg/Library/Open

Re: [edk2-devel] [PATCH 00/14] Implement Dynamic Memory Protections

2023-07-17 Thread Ni, Ray
> -Original Message- > From: Ard Biesheuvel > Sent: Tuesday, July 18, 2023 12:26 AM > To: Pedro Falcato > Cc: devel@edk2.groups.io; t...@taylorbeebe.com; Wang, Jian J > ; Gao, Liming ; Bi, > Dandan ; Ard Biesheuvel > ; Yao, Jiewen ; Justen, > Jordan L ; Gerd Hoffmann ; > Leif Lindholm ;

Re: [edk2-devel] [PATCH v1 1/1] CryptoPkg/BaseCryptoLib: Remove unnecessary key generation.

2023-07-17 Thread Li, Yi
Hi, This function has a special use case: when the input PublicKey array is NULL and size is 0, the function will generate EC keypair and update context, and fill PublicKeySize with non-zero keysize to indicate success. (CryptEc.c L492) if ((PublicKey == NULL) && (*PublicKeySize != 0)) {

Re: [edk2-devel] [PATCH 1/1] OvmfPkg/RiscVVirt: Avoid printing hard coded timeout value

2023-07-17 Thread Sunil V L
On Mon, Jul 17, 2023 at 08:47:55PM +, Andrei Warkentin wrote: > Looks good to me. > > Minor nit: is that really a %d (signed) and not a %u? > Thanks!, Andrei. Yes, let me fix it while merging. Thanks, Sunil -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this grou

Re: [edk2-devel] [PATCH 1/1] OvmfPkg/RiscVVirt: Check "no-map" and mark EfiReservedMemoryType

2023-07-17 Thread Sunil V L
On Mon, Jul 17, 2023 at 07:03:28PM +0100, Pedro Falcato wrote: > On Mon, Jul 17, 2023 at 5:59 PM Sunil V L wrote: > > > > OpenSBI now marks PMP regions with "no-map" attribute. > > So, remove the workaround and add the ReservedMemory only > > when no-map is set so that it follows DT spec. > > Isn

Re: [edk2-devel] [PATCH 00/14] Implement Dynamic Memory Protections

2023-07-17 Thread Taylor Beebe
On 7/17/23 9:49 AM, Pedro Falcato wrote: On Mon, Jul 17, 2023 at 5:26 PM Ard Biesheuvel wrote: On Mon, 17 Jul 2023 at 18:15, Pedro Falcato wrote: On Wed, Jul 12, 2023 at 12:53 AM Taylor Beebe wrote: In the past, memory protection settings were configured via FixedAtBuild PCDs, which r

[edk2-devel] Event: TianoCore Bug Triage - APAC / NAMO - Tuesday, July 18, 2023 #cal-reminder

2023-07-17 Thread Group Notification
*Reminder: TianoCore Bug Triage - APAC / NAMO* *When:* Tuesday, July 18, 2023 6:30pm to 7:30pm (UTC-07:00) America/Los Angeles *Where:* https://teams.microsoft.com/l/meetup-join/19%3ameeting_OTk1YzJhN2UtOGQwNi00NjY4LWEwMTktY2JiODRlYTY1NmY0%40thread.v2/0?context=%7b%22Tid%22%3a%2246c98d88-e344-4ed

[edk2-devel] Now: Tools, CI, Code base construction meeting series - Monday, July 17, 2023 #cal-notice

2023-07-17 Thread Group Notification
*Tools, CI, Code base construction meeting series* *When:* Monday, July 17, 2023 4:30pm to 5:30pm (UTC-07:00) America/Los Angeles *Where:* https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZDI2ZDg4NmMtMjI1My00MzI5LWFmYjAtMGQyNjUzNTBjZGYw%40thread.v2/0?context=%7b%22Tid%22%3a%2272f988bf-86f1-

[edk2-devel] Event: Tools, CI, Code base construction meeting series - Monday, July 17, 2023 #cal-reminder

2023-07-17 Thread Group Notification
*Reminder: Tools, CI, Code base construction meeting series* *When:* Monday, July 17, 2023 4:30pm to 5:30pm (UTC-07:00) America/Los Angeles *Where:* https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZDI2ZDg4NmMtMjI1My00MzI5LWFmYjAtMGQyNjUzNTBjZGYw%40thread.v2/0?context=%7b%22Tid%22%3a%2272f9

Re: [edk2-devel] [PATCH 1/1] OvmfPkg/RiscVVirt: Avoid printing hard coded timeout value

2023-07-17 Thread Andrei Warkentin
Looks good to me. Minor nit: is that really a %d (signed) and not a %u? Reviewed-by: Andrei Warkentin > -Original Message- > From: Sunil V L > Sent: Monday, July 17, 2023 11:59 AM > To: devel@edk2.groups.io > Cc: Sunil V L ; Ard Biesheuvel > ; Yao, Jiewen ; Justen, > Jordan L ; Gerd Ho

Re: [edk2-devel] [PATCH V1] OvmfPkg/PeilessStartupLib: Updated with PcdSecureBootSupported

2023-07-17 Thread Erdem Aktas via groups.io
Reviewed-by: Erdem Aktas On Sun, Jul 16, 2023 at 6:55 PM Yao, Jiewen wrote: > > Reviewed-by: Jiewen Yao > > > -Original Message- > > From: devel@edk2.groups.io On Behalf Of Gerd > > Hoffmann > > Sent: Monday, July 10, 2023 6:36 PM > > To: devel@edk2.groups.io; Sun, CepingX > > Cc: Ak

Re: [edk2-devel] [PATCH 1/1] OvmfPkg/RiscVVirt: Check "no-map" and mark EfiReservedMemoryType

2023-07-17 Thread Pedro Falcato
On Mon, Jul 17, 2023 at 5:59 PM Sunil V L wrote: > > OpenSBI now marks PMP regions with "no-map" attribute. > So, remove the workaround and add the ReservedMemory only > when no-map is set so that it follows DT spec. Isn't there a concern for supporting older OpenSBI versions? Is there no guarant

[edk2-devel] [PATCH 1/1] OvmfPkg/RiscVVirt: Check "no-map" and mark EfiReservedMemoryType

2023-07-17 Thread Sunil V L
OpenSBI now marks PMP regions with "no-map" attribute. So, remove the workaround and add the ReservedMemory only when no-map is set so that it follows DT spec. Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Andrei Warkentin Signed-off-by: Sunil V L --- OvmfPkg/Ri

[edk2-devel] [PATCH 1/1] OvmfPkg/RiscVVirt: Avoid printing hard coded timeout value

2023-07-17 Thread Sunil V L
Print the timeout value set in the PCD variable instead of hard coded 10 seconds. Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Andrei Warkentin Signed-off-by: Sunil V L --- OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBm.c | 2 +- 1 file changed, 1

Re: [edk2-devel] [PATCH 00/14] Implement Dynamic Memory Protections

2023-07-17 Thread Pedro Falcato
On Mon, Jul 17, 2023 at 5:26 PM Ard Biesheuvel wrote: > > On Mon, 17 Jul 2023 at 18:15, Pedro Falcato wrote: > > > > On Wed, Jul 12, 2023 at 12:53 AM Taylor Beebe wrote: > > > > > > In the past, memory protection settings were configured via FixedAtBuild > > > PCDs, > > > which resulted in a bu

Re: [edk2-devel] [PATCH 00/14] Implement Dynamic Memory Protections

2023-07-17 Thread Ard Biesheuvel
On Mon, 17 Jul 2023 at 18:15, Pedro Falcato wrote: > > On Wed, Jul 12, 2023 at 12:53 AM Taylor Beebe wrote: > > > > In the past, memory protection settings were configured via FixedAtBuild > > PCDs, > > which resulted in a build-time configuration of memory mitigations. This > > approach limited

Re: [edk2-devel] [PATCH 00/14] Implement Dynamic Memory Protections

2023-07-17 Thread Pedro Falcato
On Wed, Jul 12, 2023 at 12:53 AM Taylor Beebe wrote: > > In the past, memory protection settings were configured via FixedAtBuild PCDs, > which resulted in a build-time configuration of memory mitigations. This > approach limited the flexibility of applying mitigations to the > system and made it

Re: [edk2-devel] [PATCH 1/1] OvmfPkg:Fix Hii form name mismatch with EFI variable

2023-07-17 Thread Gerd Hoffmann
On Fri, Jul 14, 2023 at 04:59:48PM +0800, Wang, Yin wrote: > Onemore need change beside fixs:16acacf24c ("OvmfPkg: fix PlatformConfig") > Find by sct case:ExtractConfigConformance fail. > > Signed-off-by: Yin Wang > --- > OvmfPkg/PlatformDxe/Platform.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [edk2-devel] [PATCH 00/14] Implement Dynamic Memory Protections

2023-07-17 Thread Gerd Hoffmann
Hi, > > Can we have both? > > > > Being able to adjust settings at runtime is great. But being able to > > set them at compile time on the command line (via build --pcd), without > > patching code, is very useful too. > > > > I'd suggest to keep the PCDs, create a profile from PCD settings an

[edk2-devel] [PATCH v1 1/1] CryptoPkg/BaseCryptoLib: Remove unnecessary key generation.

2023-07-17 Thread levi.yun
When EcGenerateKey() is called with PublicKeySize set to zero or less than the required size, it returns the size of the required buffer with failure. However, EcGenerateKey() generates a key and then checks if the buffer size is insufficient. This can be optimised by moving the public key size che

Re: [edk2-devel] 回复: [PATCH v2 0/4] OvmfPkg/RiscVVirt: Add CLANGDWARF toolchain support

2023-07-17 Thread Ard Biesheuvel
On Mon, 17 Jul 2023 at 03:51, gaoliming via groups.io wrote: > > Sunil: > Do you use which CLANG version is used to verify this change? > For the series, Tested-by: Ard Biesheuvel # Debian clang version 14.0.6 > > -邮件原件- > > 发件人: Sunil V L > > 发送时间: 2023年7月11日 23:44 > > 收件人: devel@

Re: [edk2-devel] ArmVirtPkg: non-executable EFI_LOADER_DATA breaks GRUB on Ubuntu 22.04

2023-07-17 Thread Gerd Hoffmann
Hi, > > The idea is: Improve page fault handler to (a) print a big'n'fat > > warning, and (b) loosening up memory permissions for the faulting > > page address. > > > > No patch for that emerged (yet?). > > Ack. I can work on that. FYI: There was a patch series on the list last week to move va

Re: [edk2-devel] [PATCH v1 1/1] UefiCpuPkg: Uses gMmst in MmSaveStateLib

2023-07-17 Thread Ni, Ray
Reviewed-by: Ray Ni > -Original Message- > From: Abdul Lateef Attar > Sent: Wednesday, July 12, 2023 2:24 PM > To: devel@edk2.groups.io > Cc: Abdul Lateef Attar ; Dong, Eric > ; Ni, Ray ; Kumar, Rahul R > ; Gerd Hoffmann ; Abner Chang > > Subject: [PATCH v1 1/1] UefiCpuPkg: Uses gMmst i

[edk2-devel] 回复: [PATCH v4 0/8] SecurityPkg/MdePkg: Update RngLib GUID identification

2023-07-17 Thread gaoliming via groups.io
Pierre: Now, BaseRngLibTimerLib in MdePkg is used in many platforms. I think we need to reserve enough time for the platform owner to update their DSC files. So, I suggest to keep current BaseRngLibTimerLib in MdePkg for compatibility, and add new BaseRngLibTimerLib in MdeModulePkg for this s

[edk2-devel] [PATCH v2 1/1] ShellPkg: Acpiview/GTDT: Print timer flags information.

2023-07-17 Thread levi.yun
Currently, GTDT only prints the value of timer flags in hex. This change prints the detail information about Timer flags in GTDT. before: Shell> acpiview -s GTDT ... Non-Secure EL1 timer FLAGS : 0x2 Virtual timer GSIV : 0x1B Virtual timer FLAGS