Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 2a5c08caaf26568bc8e03cb4195c231af70da35c
      
https://github.com/tianocore/edk2/commit/2a5c08caaf26568bc8e03cb4195c231af70da35c
  Author: duntan <[email protected]>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M UefiCpuPkg/Include/Library/MpInitLib.h
    M UefiCpuPkg/Library/MpInitLib/MpLib.c
    M UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.c
    M UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf

  Log Message:
  -----------
  UefiCpuPkg: set EXTENDED_PROCESSOR_INFORMATION to 0

Set EXTENDED_PROCESSOR_INFORMATION to 0 in API
MpInitLibGetProcessorInfo() of MpInitLibUp. This
commit use ZeroMem() to set all fileds in output
EFI_PROCESSOR_INFORMATION to 0 before StatusFlag
field is reassigned.

Previously EXTENDED_PROCESSOR_INFORMATION in the API
MpInitLibGetProcessorInfo() of MpInitLibUp is ignored.
In PEI/DXE MpInitLib, EXTENDED_PROCESSOR_INFORMATION
will be retrived when BIT24 of input ProcessorNumber
is set. This commit can avoid garbage in the output
structure in MpInitLibGetProcessorInfo() of MpInitLibUp.

Signed-off-by: Dun Tan <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Laszlo Ersek <[email protected]>
Cc: Rahul Kumar <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: Min Xu <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Reviewed-by: Ray Ni <[email protected]>


  Commit: 08a6528bac384a7a8baa7e77075dea3291ac36fc
      
https://github.com/tianocore/edk2/commit/08a6528bac384a7a8baa7e77075dea3291ac36fc
  Author: duntan <[email protected]>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.c

  Log Message:
  -----------
  UefiCpuPkg: Check lower 24 bits of ProcessorNumber

Check lower 24 bits of ProcessorNumber instead of
the value of ProcessorNumber in the API
MpInitLibGetProcessorInfo() of MpInitLibUp instance.
Lower 24 bits of ProcessorNumber contains the actual
processor number.
The BIT24 of input ProcessorNumber might be set to
indicate if the EXTENDED_PROCESSOR_INFORMATION will
be retrived.

Signed-off-by: Dun Tan <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Laszlo Ersek <[email protected]>
Cc: Rahul Kumar <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: Min Xu <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Reviewed-by: Ray Ni <[email protected]>


  Commit: 3b1ddbddeee64cee5aba4f0170fbf5e4781d4879
      
https://github.com/tianocore/edk2/commit/3b1ddbddeee64cee5aba4f0170fbf5e4781d4879
  Author: Gerd Hoffmann <[email protected]>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M OvmfPkg/RiscVVirt/VarStore.fdf.inc

  Log Message:
  -----------
  OvmfPkg/RiscVVirt: use gEfiAuthenticatedVariableGuid unconditionally

ArmVirt and OVMF are doing the same.

See commit d92eaabefbe0 ("OvmfPkg: simplify VARIABLE_STORE_HEADER
generation") for details.

Suggested-by: László Érsek <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Sunil V L <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Message-Id: <[email protected]>


  Commit: ae22b2f136bcbd27135a5f4dd76d3a68a172d00e
      
https://github.com/tianocore/edk2/commit/ae22b2f136bcbd27135a5f4dd76d3a68a172d00e
  Author: Gerd Hoffmann <[email protected]>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M OvmfPkg/VirtNorFlashDxe/VirtNorFlashFvb.c

  Log Message:
  -----------
  OvmfPkg/VirtNorFlashDxe: stop accepting gEfiVariableGuid

Only accept gEfiAuthenticatedVariableGuid when checking the variable
store header in ValidateFvHeader().

The edk2 code base has been switched to use the authenticated varstore
format unconditionally (even in case secure boot is not used or
supported) a few years ago.

Suggested-by: László Érsek <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Message-Id: <[email protected]>


  Commit: 4a443f73fd67ca8caaf0a3e1a01f8231b330d2e0
      
https://github.com/tianocore/edk2/commit/4a443f73fd67ca8caaf0a3e1a01f8231b330d2e0
  Author: Gerd Hoffmann <[email protected]>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M OvmfPkg/VirtNorFlashDxe/VirtNorFlashDxe.inf
    M OvmfPkg/VirtNorFlashDxe/VirtNorFlashFvb.c

  Log Message:
  -----------
  OvmfPkg/VirtNorFlashDxe: sanity-check variables

Extend the ValidateFvHeader function, additionally to the header checks
walk over the list of variables and sanity check them.

In case we find inconsistencies indicating variable store corruption
return EFI_NOT_FOUND so the variable store will be re-initialized.

Signed-off-by: Gerd Hoffmann <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
[[email protected]: fix StartId initialization/assignment coding style]


Compare: https://github.com/tianocore/edk2/compare/f2b074398ca0...4a443f73fd67


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to