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

7fdf80
From a1260c9122c95bcbef1efc5eebe11902767813c2 Mon Sep 17 00:00:00 2001
7fdf80
From: Laszlo Ersek <lersek@redhat.com>
7fdf80
Date: Thu, 20 Feb 2014 22:54:45 +0100
7fdf80
Subject: OvmfPkg: increase max debug message length to 512 (RHEL only)
7fdf80
7fdf80
Notes about the RHEL-8.0/20180508-ee3198e672e2 ->
7fdf80
RHEL-8.1/20190308-89910a39dcfd rebase:
7fdf80
7fdf80
- no changes
7fdf80
7fdf80
Notes about the RHEL-7.6/ovmf-20180508-2.gitee3198e672e2.el7 ->
7fdf80
RHEL-8.0/20180508-ee3198e672e2 rebase:
7fdf80
7fdf80
- reorder the rebase changelog in the commit message so that it reads like
7fdf80
  a blog: place more recent entries near the top
7fdf80
- no changes to the patch body
7fdf80
7fdf80
Notes about the 20171011-92d07e48907f -> 20180508-ee3198e672e2 rebase:
7fdf80
7fdf80
- no changes
7fdf80
7fdf80
Notes about the 20170228-c325e41585e3 -> 20171011-92d07e48907f rebase:
7fdf80
7fdf80
- no changes
7fdf80
7fdf80
Notes about the 20160608b-988715a -> 20170228-c325e41585e3 rebase:
7fdf80
7fdf80
- no changes
7fdf80
7fdf80
Upstream prefers short debug messages (sometimes even limited to 80
7fdf80
characters), but any line length under 512 characters is just unsuitable
7fdf80
for effective debugging. (For example, config strings in HII routing,
7fdf80
logged by the platform driver "OvmfPkg/PlatformDxe" on DEBUG_VERBOSE
7fdf80
level, can be several hundred characters long.) 512 is an empirically good
7fdf80
value.
7fdf80
7fdf80
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
7fdf80
(cherry picked from commit bfe568d18dba15602604f155982e3b73add63dfb)
7fdf80
(cherry picked from commit 29435a32ec9428720c74c454ce9817662e601fb6)
7fdf80
(cherry picked from commit 58e1d1ebb78bfdaf05f4c6e8abf8d4908dfa038a)
7fdf80
(cherry picked from commit 1df2c822c996ad767f2f45570ab2686458f7604a)
7fdf80
(cherry picked from commit 22c9b4e971c70c69b4adf8eb93133824ccb6426a)
7fdf80
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
7fdf80
---
7fdf80
 OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c | 2 +-
7fdf80
 1 file changed, 1 insertion(+), 1 deletion(-)
7fdf80
7fdf80
diff --git a/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c b/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c
7fdf80
index 36cde54976..c0c4eaee0f 100644
7fdf80
--- a/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c
7fdf80
+++ b/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c
7fdf80
@@ -27,7 +27,7 @@
7fdf80
 //
7fdf80
 // Define the maximum debug and assert message length that this library supports
7fdf80
 //
7fdf80
-#define MAX_DEBUG_MESSAGE_LENGTH  0x100
7fdf80
+#define MAX_DEBUG_MESSAGE_LENGTH  0x200
7fdf80
 
7fdf80
 /**
7fdf80
   Prints a debug message to the debug output device if the specified error level is enabled.
7fdf80
-- 
7fdf80
2.18.1
7fdf80