render / rpms / edk2

Forked from rpms/edk2 3 months ago
Clone

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

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