From f35d3a5bd33bca9d2f1c5db1940316df57dd14e8 Mon Sep 17 00:00:00 2001 From: Dionna Glaze Date: Mon, 13 Jan 2025 20:39:22 +0000 Subject: MdeModulePkg: Make noisy log DEBUG_VERBOSE For bootup of VMs with multiple accelerators, these logging instructions flood the logs for a good 30 seconds. Originally found by Gary Zibrat. Signed-off-by: Dionna Glaze --- MdeModulePkg/Bus/Pci/PciSioSerialDxe/SerialIo.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'MdeModulePkg') diff --git a/MdeModulePkg/Bus/Pci/PciSioSerialDxe/SerialIo.c b/MdeModulePkg/Bus/Pci/PciSioSerialDxe/SerialIo.c index 8a85a6c3b8..fa54e821d2 100644 --- a/MdeModulePkg/Bus/Pci/PciSioSerialDxe/SerialIo.c +++ b/MdeModulePkg/Bus/Pci/PciSioSerialDxe/SerialIo.c @@ -140,9 +140,9 @@ VerifyUartParameters ( } Percent = DivU64x32 (MultU64x32 (BaudRate, 100), ComputedBaudRate); - DEBUG ((DEBUG_INFO, "ClockRate = %d\n", ClockRate)); - DEBUG ((DEBUG_INFO, "Divisor = %ld\n", ComputedDivisor)); - DEBUG ((DEBUG_INFO, "BaudRate/Actual (%ld/%d) = %d%%\n", BaudRate, ComputedBaudRate, Percent)); + DEBUG ((DEBUG_VERBOSE, "ClockRate = %d\n", ClockRate)); + DEBUG ((DEBUG_VERBOSE, "Divisor = %ld\n", ComputedDivisor)); + DEBUG ((DEBUG_VERBOSE, "BaudRate/Actual (%ld/%d) = %d%%\n", BaudRate, ComputedBaudRate, Percent)); // // If the requested BaudRate is not supported: @@ -188,9 +188,9 @@ VerifyUartParameters ( return FALSE; } - DEBUG ((DEBUG_INFO, "ClockRate = %d\n", ClockRate)); - DEBUG ((DEBUG_INFO, "Divisor = %ld\n", ComputedDivisor)); - DEBUG ((DEBUG_INFO, "BaudRate/Actual (%ld/%d) = %d%%\n", BaudRate, ComputedBaudRate, Percent)); + DEBUG ((DEBUG_VERBOSE, "ClockRate = %d\n", ClockRate)); + DEBUG ((DEBUG_VERBOSE, "Divisor = %ld\n", ComputedDivisor)); + DEBUG ((DEBUG_VERBOSE, "BaudRate/Actual (%ld/%d) = %d%%\n", BaudRate, ComputedBaudRate, Percent)); if (ActualBaudRate != NULL) { *ActualBaudRate = ComputedBaudRate; -- cgit