render / rpms / edk2

Forked from rpms/edk2 3 months ago
Clone

Blame SOURCES/0020-OvmfPkg-enable-DEBUG_VERBOSE-RHEL-only.patch

3e2dc0
From 5ecc18badaabe774d9d0806b027ab63a30c6a2d7 Mon Sep 17 00:00:00 2001
6009e6
From: Paolo Bonzini <pbonzini@redhat.com>
6009e6
Date: Tue, 21 Nov 2017 00:57:45 +0100
6009e6
Subject: OvmfPkg: enable DEBUG_VERBOSE (RHEL only)
6009e6
3e2dc0
Notes about the RHEL-8.2/20190904-37eef91017ad [edk2-stable201908] ->
3e2dc0
RHEL-8.3/20200603-ca407c7246bf [edk2-stable202005] rebase:
3e2dc0
3e2dc0
- context difference from upstream commit 46bb81200742 ("OvmfPkg: Make
3e2dc0
  SOURCE_DEBUG_ENABLE actually need to be set to TRUE", 2019-10-22)
3e2dc0
  resolved automatically
3e2dc0
6009e6
Notes about the RHEL-8.1/20190308-89910a39dcfd [edk2-stable201903] ->
6009e6
RHEL-8.2/20190904-37eef91017ad [edk2-stable201908] rebase:
6009e6
6009e6
- no change
6009e6
6009e6
Notes about the RHEL-8.0/20180508-ee3198e672e2 ->
6009e6
RHEL-8.1/20190308-89910a39dcfd rebase:
6009e6
6009e6
- no change
6009e6
6009e6
Notes about the RHEL-7.6/ovmf-20180508-2.gitee3198e672e2.el7 ->
6009e6
RHEL-8.0/20180508-ee3198e672e2 rebase:
6009e6
6009e6
- reorder the rebase changelog in the commit message so that it reads like
6009e6
  a blog: place more recent entries near the top
6009e6
- no changes to the patch body
6009e6
6009e6
Notes about the 20171011-92d07e48907f -> 20180508-ee3198e672e2 rebase:
6009e6
6009e6
- no changes
6009e6
6009e6
Message-id: <20171120235748.29669-5-pbonzini@redhat.com>
6009e6
Patchwork-id: 77760
6009e6
O-Subject:  [PATCH 4/7] OvmfPkg: enable DEBUG_VERBOSE (RHEL only)
6009e6
Bugzilla: 1488247
6009e6
Acked-by: Laszlo Ersek <lersek@redhat.com>
6009e6
Acked-by: Thomas Huth <thuth@redhat.com>
6009e6
6009e6
From: Laszlo Ersek <lersek@redhat.com>
6009e6
6009e6
Set the DEBUG_VERBOSE bit (0x00400000) in the log mask. We want detailed
6009e6
debug messages, and code in OvmfPkg logs many messages on the
6009e6
DEBUG_VERBOSE level.
6009e6
6009e6
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
6009e6
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
6009e6
(this patch was previously applied as commit 78d3ed73172b5738e32d2b0bc03f7984b9584117)
6009e6
(cherry picked from commit 7aeeaabc9871f657e65d2b99d81011b4964a1ce9)
6009e6
(cherry picked from commit a0617a6be1a80966099ddceb010f89202a79ee76)
6009e6
(cherry picked from commit 759bd3f591e2db699bdef4c7ea4e97c908e7f027)
6009e6
(cherry picked from commit 7e6d5dc4078c64be6d55d8fc3317c59a91507a50)
3e2dc0
(cherry picked from commit 3cb92f9ba18ac79911bd5258ff4f949cc617ae89)
6009e6
---
6009e6
 OvmfPkg/OvmfPkgIa32.dsc    | 2 +-
6009e6
 OvmfPkg/OvmfPkgIa32X64.dsc | 2 +-
6009e6
 OvmfPkg/OvmfPkgX64.dsc     | 2 +-
6009e6
 3 files changed, 3 insertions(+), 3 deletions(-)
6009e6
6009e6
diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc
3e2dc0
index 6ce8a46d4e..765ffff312 100644
6009e6
--- a/OvmfPkg/OvmfPkgIa32.dsc
6009e6
+++ b/OvmfPkg/OvmfPkgIa32.dsc
3e2dc0
@@ -516,7 +516,7 @@
6009e6
   # DEBUG_VERBOSE   0x00400000  // Detailed debug messages that may
6009e6
   #                             // significantly impact boot performance
6009e6
   # DEBUG_ERROR     0x80000000  // Error
6009e6
-  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
6009e6
+  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8040004F
6009e6
 
3e2dc0
 !if $(SOURCE_DEBUG_ENABLE) == TRUE
6009e6
   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
6009e6
diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc
3e2dc0
index 89d414cda7..277297a964 100644
6009e6
--- a/OvmfPkg/OvmfPkgIa32X64.dsc
6009e6
+++ b/OvmfPkg/OvmfPkgIa32X64.dsc
3e2dc0
@@ -520,7 +520,7 @@
6009e6
   # DEBUG_VERBOSE   0x00400000  // Detailed debug messages that may
6009e6
   #                             // significantly impact boot performance
6009e6
   # DEBUG_ERROR     0x80000000  // Error
6009e6
-  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
6009e6
+  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8040004F
6009e6
 
3e2dc0
 !if $(SOURCE_DEBUG_ENABLE) == TRUE
6009e6
   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
6009e6
diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc
3e2dc0
index e567eb76e0..5c1597fe3c 100644
6009e6
--- a/OvmfPkg/OvmfPkgX64.dsc
6009e6
+++ b/OvmfPkg/OvmfPkgX64.dsc
3e2dc0
@@ -520,7 +520,7 @@
6009e6
   # DEBUG_VERBOSE   0x00400000  // Detailed debug messages that may
6009e6
   #                             // significantly impact boot performance
6009e6
   # DEBUG_ERROR     0x80000000  // Error
6009e6
-  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
6009e6
+  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8040004F
6009e6
 
3e2dc0
 !if $(SOURCE_DEBUG_ENABLE) == TRUE
6009e6
   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
6009e6
-- 
6009e6
2.18.1
6009e6