2024-11-20 13:11:56 +00:00
|
|
|
From 9f24c54074c15630f78e019e018f791296a768d7 Mon Sep 17 00:00:00 2001
|
2020-04-28 08:50:06 +00:00
|
|
|
From: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
|
Date: Tue, 21 Nov 2017 00:57:45 +0100
|
2024-11-20 13:11:56 +00:00
|
|
|
Subject: [PATCH] OvmfPkg: enable DEBUG_VERBOSE (RHEL only)
|
2020-04-28 08:50:06 +00:00
|
|
|
|
2021-11-09 09:48:36 +00:00
|
|
|
Notes about the RHEL-8.3/20200603-ca407c7246bf [edk2-stable202005] ->
|
|
|
|
RHEL-8.5/20210520-e1999b264f1f [edk2-stable202105] rebase:
|
|
|
|
|
|
|
|
- Extend the DSC change to the new OvmfPkg/AmdSev platform, which has been
|
|
|
|
introduced upstream in commit 30d277ed7a82 ("OvmfPkg/Amdsev: Base commit
|
|
|
|
to build encrypted boot specific OVMF", 2020-12-14), for TianoCore#3077.
|
|
|
|
|
|
|
|
- Remove obsolete commit message tags related to downstream patch
|
|
|
|
management: Message-id, Patchwork-id, O-Subject, Acked-by, From
|
|
|
|
(RHBZ#1846481).
|
|
|
|
|
2020-11-03 12:01:14 +00:00
|
|
|
Notes about the RHEL-8.2/20190904-37eef91017ad [edk2-stable201908] ->
|
|
|
|
RHEL-8.3/20200603-ca407c7246bf [edk2-stable202005] rebase:
|
|
|
|
|
|
|
|
- context difference from upstream commit 46bb81200742 ("OvmfPkg: Make
|
|
|
|
SOURCE_DEBUG_ENABLE actually need to be set to TRUE", 2019-10-22)
|
|
|
|
resolved automatically
|
|
|
|
|
2020-04-28 08:50:06 +00:00
|
|
|
Notes about the RHEL-8.1/20190308-89910a39dcfd [edk2-stable201903] ->
|
|
|
|
RHEL-8.2/20190904-37eef91017ad [edk2-stable201908] rebase:
|
|
|
|
|
|
|
|
- no change
|
|
|
|
|
|
|
|
Notes about the RHEL-8.0/20180508-ee3198e672e2 ->
|
|
|
|
RHEL-8.1/20190308-89910a39dcfd rebase:
|
|
|
|
|
|
|
|
- no change
|
|
|
|
|
|
|
|
Notes about the RHEL-7.6/ovmf-20180508-2.gitee3198e672e2.el7 ->
|
|
|
|
RHEL-8.0/20180508-ee3198e672e2 rebase:
|
|
|
|
|
|
|
|
- reorder the rebase changelog in the commit message so that it reads like
|
|
|
|
a blog: place more recent entries near the top
|
|
|
|
- no changes to the patch body
|
|
|
|
|
|
|
|
Notes about the 20171011-92d07e48907f -> 20180508-ee3198e672e2 rebase:
|
|
|
|
|
|
|
|
- no changes
|
|
|
|
|
|
|
|
Bugzilla: 1488247
|
|
|
|
|
|
|
|
Set the DEBUG_VERBOSE bit (0x00400000) in the log mask. We want detailed
|
|
|
|
debug messages, and code in OvmfPkg logs many messages on the
|
|
|
|
DEBUG_VERBOSE level.
|
|
|
|
|
|
|
|
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
|
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
|
(this patch was previously applied as commit 78d3ed73172b5738e32d2b0bc03f7984b9584117)
|
|
|
|
(cherry picked from commit 7aeeaabc9871f657e65d2b99d81011b4964a1ce9)
|
|
|
|
(cherry picked from commit a0617a6be1a80966099ddceb010f89202a79ee76)
|
|
|
|
(cherry picked from commit 759bd3f591e2db699bdef4c7ea4e97c908e7f027)
|
|
|
|
(cherry picked from commit 7e6d5dc4078c64be6d55d8fc3317c59a91507a50)
|
2020-11-03 12:01:14 +00:00
|
|
|
(cherry picked from commit 3cb92f9ba18ac79911bd5258ff4f949cc617ae89)
|
2021-11-09 09:48:36 +00:00
|
|
|
(cherry picked from commit 5ecc18badaabe774d9d0806b027ab63a30c6a2d7)
|
2020-04-28 08:50:06 +00:00
|
|
|
---
|
2021-11-09 09:48:36 +00:00
|
|
|
OvmfPkg/AmdSev/AmdSevX64.dsc | 2 +-
|
|
|
|
OvmfPkg/OvmfPkgIa32.dsc | 2 +-
|
|
|
|
OvmfPkg/OvmfPkgIa32X64.dsc | 2 +-
|
|
|
|
OvmfPkg/OvmfPkgX64.dsc | 2 +-
|
|
|
|
4 files changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/OvmfPkg/AmdSev/AmdSevX64.dsc b/OvmfPkg/AmdSev/AmdSevX64.dsc
|
2024-11-20 13:11:56 +00:00
|
|
|
index 627fded641..cef43b34b7 100644
|
2021-11-09 09:48:36 +00:00
|
|
|
--- a/OvmfPkg/AmdSev/AmdSevX64.dsc
|
|
|
|
+++ b/OvmfPkg/AmdSev/AmdSevX64.dsc
|
2024-11-20 13:11:56 +00:00
|
|
|
@@ -429,7 +429,7 @@
|
2021-11-09 09:48:36 +00:00
|
|
|
# DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
|
|
|
|
# // significantly impact boot performance
|
|
|
|
# DEBUG_ERROR 0x80000000 // Error
|
|
|
|
- gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
|
2024-11-20 13:11:56 +00:00
|
|
|
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8040004F
|
2021-11-09 09:48:36 +00:00
|
|
|
|
|
|
|
!if $(SOURCE_DEBUG_ENABLE) == TRUE
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
|
2020-04-28 08:50:06 +00:00
|
|
|
diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc
|
2024-11-20 13:11:56 +00:00
|
|
|
index dddef5ed0e..270bd612e5 100644
|
2020-04-28 08:50:06 +00:00
|
|
|
--- a/OvmfPkg/OvmfPkgIa32.dsc
|
|
|
|
+++ b/OvmfPkg/OvmfPkgIa32.dsc
|
2024-11-20 13:11:56 +00:00
|
|
|
@@ -535,7 +535,7 @@
|
2020-04-28 08:50:06 +00:00
|
|
|
# DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
|
|
|
|
# // significantly impact boot performance
|
|
|
|
# DEBUG_ERROR 0x80000000 // Error
|
|
|
|
- gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
|
|
|
|
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8040004F
|
|
|
|
|
2020-11-03 12:01:14 +00:00
|
|
|
!if $(SOURCE_DEBUG_ENABLE) == TRUE
|
2020-04-28 08:50:06 +00:00
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
|
|
|
|
diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc
|
2024-11-20 13:11:56 +00:00
|
|
|
index 933abb258f..269a4b2b21 100644
|
2020-04-28 08:50:06 +00:00
|
|
|
--- a/OvmfPkg/OvmfPkgIa32X64.dsc
|
|
|
|
+++ b/OvmfPkg/OvmfPkgIa32X64.dsc
|
2024-11-20 13:11:56 +00:00
|
|
|
@@ -542,7 +542,7 @@
|
2020-04-28 08:50:06 +00:00
|
|
|
# DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
|
|
|
|
# // significantly impact boot performance
|
|
|
|
# DEBUG_ERROR 0x80000000 // Error
|
|
|
|
- gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
|
|
|
|
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8040004F
|
|
|
|
|
2020-11-03 12:01:14 +00:00
|
|
|
!if $(SOURCE_DEBUG_ENABLE) == TRUE
|
2020-04-28 08:50:06 +00:00
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
|
|
|
|
diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc
|
2024-11-20 13:11:56 +00:00
|
|
|
index 04157ab14b..9614cc1c56 100644
|
2020-04-28 08:50:06 +00:00
|
|
|
--- a/OvmfPkg/OvmfPkgX64.dsc
|
|
|
|
+++ b/OvmfPkg/OvmfPkgX64.dsc
|
2024-11-20 13:11:56 +00:00
|
|
|
@@ -561,7 +561,7 @@
|
2020-04-28 08:50:06 +00:00
|
|
|
# DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
|
|
|
|
# // significantly impact boot performance
|
|
|
|
# DEBUG_ERROR 0x80000000 // Error
|
|
|
|
- gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
|
|
|
|
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8040004F
|
|
|
|
|
2020-11-03 12:01:14 +00:00
|
|
|
!if $(SOURCE_DEBUG_ENABLE) == TRUE
|
2020-04-28 08:50:06 +00:00
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
|