Blame SOURCES/0004-OvmfPkg-increase-max-debug-message-length-to-512-RHE.patch

cc9195
From 22c9b4e971c70c69b4adf8eb93133824ccb6426a Mon Sep 17 00:00:00 2001
cc9195
From: Laszlo Ersek <lersek@redhat.com>
cc9195
Date: Thu, 20 Feb 2014 22:54:45 +0100
cc9195
Subject: OvmfPkg: increase max debug message length to 512 (RHEL only)
cc9195
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
Notes about the 20170228-c325e41585e3 -> 20171011-92d07e48907f rebase:
cc9195
cc9195
- no changes
cc9195
cc9195
Notes about the 20160608b-988715a -> 20170228-c325e41585e3 rebase:
cc9195
cc9195
- no changes
cc9195
cc9195
Upstream prefers short debug messages (sometimes even limited to 80
cc9195
characters), but any line length under 512 characters is just unsuitable
cc9195
for effective debugging. (For example, config strings in HII routing,
cc9195
logged by the platform driver "OvmfPkg/PlatformDxe" on DEBUG_VERBOSE
cc9195
level, can be several hundred characters long.) 512 is an empirically good
cc9195
value.
cc9195
cc9195
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
cc9195
(cherry picked from commit bfe568d18dba15602604f155982e3b73add63dfb)
cc9195
(cherry picked from commit 29435a32ec9428720c74c454ce9817662e601fb6)
cc9195
(cherry picked from commit 58e1d1ebb78bfdaf05f4c6e8abf8d4908dfa038a)
cc9195
(cherry picked from commit 1df2c822c996ad767f2f45570ab2686458f7604a)
cc9195
---
cc9195
 OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c | 2 +-
cc9195
 1 file changed, 1 insertion(+), 1 deletion(-)
cc9195
cc9195
diff --git a/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c b/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c
cc9195
index 36cde54..c0c4eae 100644
cc9195
--- a/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c
cc9195
+++ b/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c
cc9195
@@ -27,7 +27,7 @@
cc9195
 //
cc9195
 // Define the maximum debug and assert message length that this library supports
cc9195
 //
cc9195
-#define MAX_DEBUG_MESSAGE_LENGTH  0x100
cc9195
+#define MAX_DEBUG_MESSAGE_LENGTH  0x200
cc9195
 
cc9195
 /**
cc9195
   Prints a debug message to the debug output device if the specified error level is enabled.
cc9195
-- 
cc9195
1.8.3.1
cc9195