From ffa6fc362aaf0e8d0bb3344e2d2cbe87aaa75531 Mon Sep 17 00:00:00 2001 From: Oliver Smith-Denny Date: Thu, 22 Jan 2026 07:29:58 -0800 Subject: [PATCH] StandaloneMmPkg: StandaloneMmCore: Don't Print Entry/Exit Logs Currently, StandaloneMmCore prints for every MM entry and exit as well as producing protocols for MM entry and exit that get logged. So there are four logs for every MM entry/exit pair. In a sample OVMF run with StMM enabled, this produced 6,800 logs to log MM entry/exit out of 16,400 logs. In other words, > 1/3 of logs were for these prints. In general, entry and exit logs are not that useful outside of very specific debugging scenarios This commit drops the entry/exit prints. Signed-off-by: Oliver Smith-Denny --- StandaloneMmPkg/Core/StandaloneMmCore.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/StandaloneMmPkg/Core/StandaloneMmCore.c b/StandaloneMmPkg/Core/StandaloneMmCore.c index 2345f9a232..b3908655df 100644 --- a/StandaloneMmPkg/Core/StandaloneMmCore.c +++ b/StandaloneMmPkg/Core/StandaloneMmCore.c @@ -512,8 +512,6 @@ MmEntryPoint ( UINTN CommGuidOffset; UINTN CommHeaderSize; - DEBUG ((DEBUG_INFO, "MmEntryPoint ...\n")); - // // Update MMST using the context // @@ -642,8 +640,6 @@ MmEntryPoint ( // // TBD: Do not use private data structure ? // - - DEBUG ((DEBUG_INFO, "MmEntryPoint Done\n")); } /** Register the MM Entry Point provided by the MM Core with the