Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 26b37a16703b5977727fa1299e5098efa4064d09
      
https://github.com/tianocore/edk2/commit/26b37a16703b5977727fa1299e5098efa4064d09
  Author: Aaron Young <aaron.yo...@oracle.com>
  Date:   2025-06-13 (Fri, 13 Jun 2025)

  Changed paths:
    M OvmfPkg/OvmfPkg.dec

  Log Message:
  -----------
  OvmfPkg: Add OVMF Memory Debug Logging GUIDs and PCDs

The OVMF Memory Debug Logging feature logs DEBUG() messages
to a memory buffer allowing for extraction of debug messages
directly from a qemu process or core file.

Add the GUIDs and PCDs definitions required for the
OVMF Memory Debug Logging feature.

Cc: Gerd Hoffmann <kra...@redhat.com>
Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org>
Cc: Jiewen Yao <jiewen....@intel.com>
Signed-off-by: Aaron Young <aaron.yo...@oracle.com>


  Commit: ba05ea83b7383ea126fbeac812503a9a027f506a
      
https://github.com/tianocore/edk2/commit/ba05ea83b7383ea126fbeac812503a9a027f506a
  Author: Aaron Young <aaron.yo...@oracle.com>
  Date:   2025-06-13 (Fri, 13 Jun 2025)

  Changed paths:
    A OvmfPkg/Include/Library/MemDebugLogLib.h
    A OvmfPkg/Library/MemDebugLogLib/MemDebugLogCommon.c
    A OvmfPkg/Library/MemDebugLogLib/MemDebugLogDxe.c
    A OvmfPkg/Library/MemDebugLogLib/MemDebugLogDxeLib.inf
    A OvmfPkg/Library/MemDebugLogLib/MemDebugLogLibNull.inf
    A OvmfPkg/Library/MemDebugLogLib/MemDebugLogNull.c
    A OvmfPkg/Library/MemDebugLogLib/MemDebugLogPei.c
    A OvmfPkg/Library/MemDebugLogLib/MemDebugLogPeiCore.c
    A OvmfPkg/Library/MemDebugLogLib/MemDebugLogPeiCoreLib.inf
    A OvmfPkg/Library/MemDebugLogLib/MemDebugLogPeiLib.inf
    A OvmfPkg/Library/MemDebugLogLib/MemDebugLogRt.c
    A OvmfPkg/Library/MemDebugLogLib/MemDebugLogRtLib.inf
    A OvmfPkg/Library/MemDebugLogLib/MemDebugLogSec.c
    A OvmfPkg/Library/MemDebugLogLib/MemDebugLogSecLib.inf

  Log Message:
  -----------
  OvmfPkg: Add OVMF Memory Debug Logging MemDebugLogLib library

Add the Memory Debug Logging feature MemDebugLogLib library
which provides the key MemDebugLogWrite() function.

Several versions (i.e. SEC, PEIM, DXE, runtime) of
the function are included to provide the proper
method to write the debug messages to the memory
debug log buffer.

The library also provides the core functions to maintain
the circular memory debug log buffer.

Cc: Gerd Hoffmann <kra...@redhat.com>
Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org>
Cc: Jiewen Yao <jiewen....@intel.com>
Signed-off-by: Aaron Young <aaron.yo...@oracle.com>


  Commit: 57844e4997caf604469ab0aec4d0b3b895426f49
      
https://github.com/tianocore/edk2/commit/57844e4997caf604469ab0aec4d0b3b895426f49
  Author: Aaron Young <aaron.yo...@oracle.com>
  Date:   2025-06-13 (Fri, 13 Jun 2025)

  Changed paths:
    A OvmfPkg/MemDebugLogPei/MemDebugLog.c
    A OvmfPkg/MemDebugLogPei/MemDebugLogPei.inf

  Log Message:
  -----------
  OvmfPkg: Add OVMF Memory Debug Logging MemDebugLogPei PEIM

Add the OvmfPkg MemDebugLogPei PEI Module which
is responsible for allocating and initializing the main
memory log buffer.

Cc: Gerd Hoffmann <kra...@redhat.com>
Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org>
Cc: Jiewen Yao <jiewen....@intel.com>
Signed-off-by: Aaron Young <aaron.yo...@oracle.com>


  Commit: b3bc1954902665253ec2128b9b1e3de1ad14a553
      
https://github.com/tianocore/edk2/commit/b3bc1954902665253ec2128b9b1e3de1ad14a553
  Author: Aaron Young <aaron.yo...@oracle.com>
  Date:   2025-06-13 (Fri, 13 Jun 2025)

  Changed paths:
    M OvmfPkg/AmdSev/AmdSevX64.dsc
    M OvmfPkg/Bhyve/BhyveX64.dsc
    M OvmfPkg/CloudHv/CloudHvX64.dsc
    M OvmfPkg/IntelTdx/IntelTdxX64.dsc
    M OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c
    M OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
    M OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
    M OvmfPkg/Microvm/MicrovmX64.dsc
    M OvmfPkg/OvmfPkgIa32.dsc
    M OvmfPkg/OvmfPkgIa32X64.dsc
    M OvmfPkg/OvmfPkgX64.dsc
    M OvmfPkg/OvmfXen.dsc

  Log Message:
  -----------
  OvmfPkg: Add OVMF Memory Debug Logging support to PlatformDebugLibIoPort

Extend OvmfPkg PlatformDebugLibIoPort library to also
write debug messages to memory.

Include NULL versions of MemDebugLogLib to all OVMF builds
which use PlatformDebugLibIoPort.

Cc: Gerd Hoffmann <kra...@redhat.com>
Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org>
Cc: Jiewen Yao <jiewen....@intel.com>
Signed-off-by: Aaron Young <aaron.yo...@oracle.com>


  Commit: 44831e815c300a4792dcf7e3f851702bb06445b4
      
https://github.com/tianocore/edk2/commit/44831e815c300a4792dcf7e3f851702bb06445b4
  Author: Aaron Young <aaron.yo...@oracle.com>
  Date:   2025-06-13 (Fri, 13 Jun 2025)

  Changed paths:
    M OvmfPkg/Library/PlatformInitLib/MemDetect.c
    M OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
    M OvmfPkg/PlatformPei/MemDetect.c
    M OvmfPkg/PlatformPei/PlatformPei.inf

  Log Message:
  -----------
  OvmfPkg: Add OVMF Mem Debug Log buffer to PEI mem cap/reserve early buffer

Add the memory debug log buffer size (pages) to
TotalPages in PlatformPei:GetPeiMemoryCap() help
ensure we don't run out of memory.

Also Reserve the "early" memory debug log buffer.

Cc: Gerd Hoffmann <kra...@redhat.com>
Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org>
Cc: Jiewen Yao <jiewen....@intel.com>
Signed-off-by: Aaron Young <aaron.yo...@oracle.com>


  Commit: b1887152024c7eb0cc7de735b0b57febd6099bf9
      
https://github.com/tianocore/edk2/commit/b1887152024c7eb0cc7de735b0b57febd6099bf9
  Author: Aaron Young <aaron.yo...@oracle.com>
  Date:   2025-06-13 (Fri, 13 Jun 2025)

  Changed paths:
    M OvmfPkg/OvmfPkgIa32X64.dsc
    M OvmfPkg/OvmfPkgIa32X64.fdf
    M OvmfPkg/OvmfPkgX64.dsc
    M OvmfPkg/OvmfPkgX64.fdf

  Log Message:
  -----------
  OvmfPkg: Add OVMF Memory Debug Logging to Ia32X64 and X64 OVMF builds

Add the OVMF Memory Debug Logging feature (MemDebugLogLib library
and MemDebugLogPei PEIM) to the Ia32X64 and X64 OVMF builds.

This includes reserving the "early" memory debug log buffer
in the .fdf files.

The OVMF Memory Debug Logging feature is enabled
via the -D DEBUG_TO_MEM build flag.

Cc: Gerd Hoffmann <kra...@redhat.com>
Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org>
Cc: Jiewen Yao <jiewen....@intel.com>
Signed-off-by: Aaron Young <aaron.yo...@oracle.com>


Compare: https://github.com/tianocore/edk2/compare/9d4eda962aeb...b1887152024c

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to