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

75d8e7
From 1ac092c4fa4fef5f1dfe02b4179eb18830564854 Mon Sep 17 00:00:00 2001
c4e3b2
From: Paolo Bonzini <pbonzini@redhat.com>
c4e3b2
Date: Tue, 21 Nov 2017 00:57:45 +0100
c4e3b2
Subject: OvmfPkg: enable DEBUG_VERBOSE (RHEL only)
c4e3b2
c4e3b2
Notes about the RHEL-8.3/20200603-ca407c7246bf [edk2-stable202005] ->
c4e3b2
RHEL-8.5/20210520-e1999b264f1f [edk2-stable202105] rebase:
c4e3b2
c4e3b2
- Extend the DSC change to the new OvmfPkg/AmdSev platform, which has been
c4e3b2
  introduced upstream in commit 30d277ed7a82 ("OvmfPkg/Amdsev: Base commit
c4e3b2
  to build encrypted boot specific OVMF", 2020-12-14), for TianoCore#3077.
c4e3b2
c4e3b2
- Remove obsolete commit message tags related to downstream patch
c4e3b2
  management: Message-id, Patchwork-id, O-Subject, Acked-by, From
c4e3b2
  (RHBZ#1846481).
c4e3b2
c4e3b2
Notes about the RHEL-8.2/20190904-37eef91017ad [edk2-stable201908] ->
c4e3b2
RHEL-8.3/20200603-ca407c7246bf [edk2-stable202005] rebase:
c4e3b2
c4e3b2
- context difference from upstream commit 46bb81200742 ("OvmfPkg: Make
c4e3b2
  SOURCE_DEBUG_ENABLE actually need to be set to TRUE", 2019-10-22)
c4e3b2
  resolved automatically
c4e3b2
c4e3b2
Notes about the RHEL-8.1/20190308-89910a39dcfd [edk2-stable201903] ->
c4e3b2
RHEL-8.2/20190904-37eef91017ad [edk2-stable201908] rebase:
c4e3b2
c4e3b2
- no change
c4e3b2
c4e3b2
Notes about the RHEL-8.0/20180508-ee3198e672e2 ->
c4e3b2
RHEL-8.1/20190308-89910a39dcfd rebase:
c4e3b2
c4e3b2
- no change
c4e3b2
c4e3b2
Notes about the RHEL-7.6/ovmf-20180508-2.gitee3198e672e2.el7 ->
c4e3b2
RHEL-8.0/20180508-ee3198e672e2 rebase:
c4e3b2
c4e3b2
- reorder the rebase changelog in the commit message so that it reads like
c4e3b2
  a blog: place more recent entries near the top
c4e3b2
- no changes to the patch body
c4e3b2
c4e3b2
Notes about the 20171011-92d07e48907f -> 20180508-ee3198e672e2 rebase:
c4e3b2
c4e3b2
- no changes
c4e3b2
c4e3b2
Bugzilla: 1488247
c4e3b2
c4e3b2
Set the DEBUG_VERBOSE bit (0x00400000) in the log mask. We want detailed
c4e3b2
debug messages, and code in OvmfPkg logs many messages on the
c4e3b2
DEBUG_VERBOSE level.
c4e3b2
c4e3b2
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
c4e3b2
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
c4e3b2
(this patch was previously applied as commit 78d3ed73172b5738e32d2b0bc03f7984b9584117)
c4e3b2
(cherry picked from commit 7aeeaabc9871f657e65d2b99d81011b4964a1ce9)
c4e3b2
(cherry picked from commit a0617a6be1a80966099ddceb010f89202a79ee76)
c4e3b2
(cherry picked from commit 759bd3f591e2db699bdef4c7ea4e97c908e7f027)
c4e3b2
(cherry picked from commit 7e6d5dc4078c64be6d55d8fc3317c59a91507a50)
c4e3b2
(cherry picked from commit 3cb92f9ba18ac79911bd5258ff4f949cc617ae89)
c4e3b2
(cherry picked from commit 5ecc18badaabe774d9d0806b027ab63a30c6a2d7)
c4e3b2
---
c4e3b2
 OvmfPkg/AmdSev/AmdSevX64.dsc | 2 +-
c4e3b2
 OvmfPkg/OvmfPkgIa32.dsc      | 2 +-
c4e3b2
 OvmfPkg/OvmfPkgIa32X64.dsc   | 2 +-
c4e3b2
 OvmfPkg/OvmfPkgX64.dsc       | 2 +-
c4e3b2
 4 files changed, 4 insertions(+), 4 deletions(-)
c4e3b2
c4e3b2
diff --git a/OvmfPkg/AmdSev/AmdSevX64.dsc b/OvmfPkg/AmdSev/AmdSevX64.dsc
75d8e7
index 6ea3621225..366fa79f62 100644
c4e3b2
--- a/OvmfPkg/AmdSev/AmdSevX64.dsc
c4e3b2
+++ b/OvmfPkg/AmdSev/AmdSevX64.dsc
c4e3b2
@@ -486,7 +486,7 @@
c4e3b2
   # DEBUG_VERBOSE   0x00400000  // Detailed debug messages that may
c4e3b2
   #                             // significantly impact boot performance
c4e3b2
   # DEBUG_ERROR     0x80000000  // Error
c4e3b2
-  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
c4e3b2
+  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8040004F
c4e3b2
 
c4e3b2
 !if $(SOURCE_DEBUG_ENABLE) == TRUE
c4e3b2
   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
c4e3b2
diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc
75d8e7
index 4cacf0ea94..2aacf1a5ff 100644
c4e3b2
--- a/OvmfPkg/OvmfPkgIa32.dsc
c4e3b2
+++ b/OvmfPkg/OvmfPkgIa32.dsc
c4e3b2
@@ -534,7 +534,7 @@
c4e3b2
   # DEBUG_VERBOSE   0x00400000  // Detailed debug messages that may
c4e3b2
   #                             // significantly impact boot performance
c4e3b2
   # DEBUG_ERROR     0x80000000  // Error
c4e3b2
-  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
c4e3b2
+  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8040004F
c4e3b2
 
c4e3b2
 !if $(SOURCE_DEBUG_ENABLE) == TRUE
c4e3b2
   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
c4e3b2
diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc
75d8e7
index 6225f8e095..2613c83adb 100644
c4e3b2
--- a/OvmfPkg/OvmfPkgIa32X64.dsc
c4e3b2
+++ b/OvmfPkg/OvmfPkgIa32X64.dsc
c4e3b2
@@ -538,7 +538,7 @@
c4e3b2
   # DEBUG_VERBOSE   0x00400000  // Detailed debug messages that may
c4e3b2
   #                             // significantly impact boot performance
c4e3b2
   # DEBUG_ERROR     0x80000000  // Error
c4e3b2
-  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
c4e3b2
+  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8040004F
c4e3b2
 
c4e3b2
 !if $(SOURCE_DEBUG_ENABLE) == TRUE
c4e3b2
   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
c4e3b2
diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc
75d8e7
index b66fc67563..d7d34eeef2 100644
c4e3b2
--- a/OvmfPkg/OvmfPkgX64.dsc
c4e3b2
+++ b/OvmfPkg/OvmfPkgX64.dsc
c4e3b2
@@ -540,7 +540,7 @@
c4e3b2
   # DEBUG_VERBOSE   0x00400000  // Detailed debug messages that may
c4e3b2
   #                             // significantly impact boot performance
c4e3b2
   # DEBUG_ERROR     0x80000000  // Error
c4e3b2
-  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
c4e3b2
+  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8040004F
c4e3b2
 
c4e3b2
 !if $(SOURCE_DEBUG_ENABLE) == TRUE
c4e3b2
   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
c4e3b2
-- 
c4e3b2
2.27.0
c4e3b2