diff options
author | Dionna Glaze <dionnaglaze@google.com> | 2025-01-13 20:39:22 +0000 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-01-15 03:02:00 +0000 |
commit | f35d3a5bd33bca9d2f1c5db1940316df57dd14e8 (patch) | |
tree | 8d9b3167a54d5661f6789f454f0656a22ecd1eea /MdeModulePkg | |
parent | f2a8bb9dfbea83ec6b6ee2f6c65ca656c284e3fc (diff) | |
download | edk2-f35d3a5bd33bca9d2f1c5db1940316df57dd14e8.tar.gz |
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 <dionnaglaze@google.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Bus/Pci/PciSioSerialDxe/SerialIo.c | 12 |
1 files changed, 6 insertions, 6 deletions
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;
|