render / rpms / edk2

Forked from rpms/edk2 3 months ago
Clone

Blame 0012-OvmfPkg-enable-DEBUG_VERBOSE-RHEL-only.patch

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