[edk2-devel] [PATCH v1 1/1] OvmfPkg: increase max debug message length to 512

Ard Biesheuvel ardb at kernel.org
Mon Sep 5 13:55:44 UTC 2022


On Mon, 15 Aug 2022 at 16:47, Gerd Hoffmann <kraxel at redhat.com> wrote:
>
> On Wed, Aug 10, 2022 at 10:11:40AM +0200, Oliver Steffen wrote:
> > From: Laszlo Ersek <lersek at redhat.com>
> >
> > Increase the maximum line length for debug messages.
> > While log messages should be short, they can still
> > get quite long, for example when printing device paths
> > or config strings in HII routing.
> > 512 chars is an empirically good value.
> >
> > Signed-off-by: Laszlo Ersek <lersek at redhat.com>
> > Signed-off-by: Oliver Steffen <osteffen at redhat.com>
> > ---
> >  OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c b/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c
> > index 4e25f198aa76..640627f38b72 100644
> > --- a/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c
> > +++ b/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c
> > @@ -21,7 +21,7 @@
> >  //
> >  // Define the maximum debug and assert message length that this library supports
> >  //
> > -#define MAX_DEBUG_MESSAGE_LENGTH  0x100
> > +#define MAX_DEBUG_MESSAGE_LENGTH  0x200
>
> Acked-by: Gerd Hoffmann <kraxel at redhat.com>
>

Merged as #3287

> take care,
>   Gerd
>


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#93161): https://edk2.groups.io/g/devel/message/93161
Mute This Topic: https://groups.io/mt/92932327/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list