|
|
63d87e |
From e5b8152bced2364a1ded0926dbba4d65e23e3f84 Mon Sep 17 00:00:00 2001
|
|
|
fcd20d |
From: Laszlo Ersek <lersek@redhat.com>
|
|
|
fcd20d |
Date: Wed, 27 Jan 2016 03:05:18 +0100
|
|
|
fcd20d |
Subject: ArmVirtPkg: silence DEBUG_VERBOSE (0x00400000) in QemuRamfbDxe (RH
|
|
|
fcd20d |
only)
|
|
|
fcd20d |
|
|
|
63d87e |
Notes about the RHEL-8.1/20190308-89910a39dcfd [edk2-stable201903] ->
|
|
|
63d87e |
RHEL-8.2/20190904-37eef91017ad [edk2-stable201908] rebase:
|
|
|
63d87e |
|
|
|
63d87e |
- The previous version of this patch (downstream commit 76b4ac28e975)
|
|
|
63d87e |
caused a regression (RHBZ#1714446), which was fixed up in downstream
|
|
|
63d87e |
commit 5a216abaa737 ("ArmVirtPkg: silence DEBUG_VERBOSE masking
|
|
|
63d87e |
~0x00400000 in QemuRamfbDxe (RH only)", 2019-08-05).
|
|
|
63d87e |
|
|
|
63d87e |
Squash the fixup into the original patch. Fuse the commit messages.
|
|
|
63d87e |
(Acked-by tags are not preserved, lest we confuse ourselves while
|
|
|
63d87e |
reviewing this rebase.)
|
|
|
63d87e |
|
|
|
fcd20d |
Notes about the RHEL-8.0/20180508-ee3198e672e2 ->
|
|
|
fcd20d |
RHEL-8.1/20190308-89910a39dcfd rebase:
|
|
|
fcd20d |
|
|
|
fcd20d |
- new patch, due to upstream commit c64688f36a8b ("ArmVirtPkg: add
|
|
|
fcd20d |
QemuRamfbDxe", 2018-06-14)
|
|
|
fcd20d |
|
|
|
fcd20d |
QemuRamfbDxe uses FrameBufferLib. The FrameBufferBltLib instance added in
|
|
|
fcd20d |
commit b1ca386074bd ("MdeModulePkg: Add FrameBufferBltLib library
|
|
|
fcd20d |
instance") logs many messages on the VERBOSE level; for example, a normal
|
|
|
fcd20d |
boot with ArmVirtQemu[Kernel] can produce 500+ "VideoFill" messages,
|
|
|
fcd20d |
dependent on the progress bar, when the VERBOSE bit is set in
|
|
|
fcd20d |
PcdDebugPrintErrorLevel.
|
|
|
fcd20d |
|
|
|
63d87e |
Clear the VERBOSE bit without touching other bits -- those other bits
|
|
|
63d87e |
differ between the "silent" and "verbose" builds, so we can't set them as
|
|
|
63d87e |
constants.
|
|
|
63d87e |
|
|
|
fcd20d |
QemuRamfbDxe itself doesn't log anything at the VERBOSE level, so we lose
|
|
|
63d87e |
none of its messages, with the VERBOSE bit clear.
|
|
|
fcd20d |
|
|
|
fcd20d |
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
63d87e |
(cherry picked from commit 76b4ac28e975bd63c25db903a1d42c47b38cc756)
|
|
|
63d87e |
Reported-by: Andrew Jones <drjones@redhat.com>
|
|
|
63d87e |
Suggested-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
63d87e |
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
|
|
|
63d87e |
(cherry picked from commit 5a216abaa737195327235e37563b18a6bf2a74dc)
|
|
|
63d87e |
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
fcd20d |
---
|
|
|
fcd20d |
ArmVirtPkg/ArmVirtQemu.dsc | 5 ++++-
|
|
|
fcd20d |
ArmVirtPkg/ArmVirtQemuKernel.dsc | 5 ++++-
|
|
|
fcd20d |
2 files changed, 8 insertions(+), 2 deletions(-)
|
|
|
fcd20d |
|
|
|
fcd20d |
diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc
|
|
|
63d87e |
index 08c7a36339..b3dcdd747b 100644
|
|
|
fcd20d |
--- a/ArmVirtPkg/ArmVirtQemu.dsc
|
|
|
fcd20d |
+++ b/ArmVirtPkg/ArmVirtQemu.dsc
|
|
|
63d87e |
@@ -422,7 +422,10 @@
|
|
|
fcd20d |
#
|
|
|
fcd20d |
# Video support
|
|
|
fcd20d |
#
|
|
|
fcd20d |
- OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
|
|
|
fcd20d |
+ OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf {
|
|
|
fcd20d |
+ <PcdsFixedAtBuild>
|
|
|
63d87e |
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|($(DEBUG_PRINT_ERROR_LEVEL)) & 0xFFBFFFFF
|
|
|
fcd20d |
+ }
|
|
|
fcd20d |
OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
|
|
|
fcd20d |
OvmfPkg/PlatformDxe/Platform.inf
|
|
|
fcd20d |
|
|
|
fcd20d |
diff --git a/ArmVirtPkg/ArmVirtQemuKernel.dsc b/ArmVirtPkg/ArmVirtQemuKernel.dsc
|
|
|
63d87e |
index 27e65b7638..008181055a 100644
|
|
|
fcd20d |
--- a/ArmVirtPkg/ArmVirtQemuKernel.dsc
|
|
|
fcd20d |
+++ b/ArmVirtPkg/ArmVirtQemuKernel.dsc
|
|
|
63d87e |
@@ -400,7 +400,10 @@
|
|
|
fcd20d |
#
|
|
|
fcd20d |
# Video support
|
|
|
fcd20d |
#
|
|
|
fcd20d |
- OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
|
|
|
fcd20d |
+ OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf {
|
|
|
fcd20d |
+ <PcdsFixedAtBuild>
|
|
|
63d87e |
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|($(DEBUG_PRINT_ERROR_LEVEL)) & 0xFFBFFFFF
|
|
|
fcd20d |
+ }
|
|
|
fcd20d |
OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
|
|
|
fcd20d |
OvmfPkg/PlatformDxe/Platform.inf
|
|
|
fcd20d |
|
|
|
fcd20d |
--
|
|
|
fcd20d |
2.18.1
|
|
|
fcd20d |
|