From nobody Sun May 5 02:23:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+92296+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+92296+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1660119115; cv=none; d=zohomail.com; s=zohoarc; b=azu6aJCyVSBEACcRQifBX/TIzbmiga535VPiUd6gSD7lrUYs8cWLrPB4z9q88972lyMzZ0XSiekNN9VwmryqsowGLZRjcoH5+CXCekOfJHbP4W1PjSA6HfrKuyxywbvgWFlPEPJK8td7T+b3TL9EVbSW5LmsWlZ49XmYThvy4Oo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1660119115; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=E6O6LBD8he0kp4bf6nihBJFqQY/i9aFyiMX5FQrCMd0=; b=mDXNaFjbzz+rOwtsPuqMsY46/+MbgD+sza0ZQbLjWNNptP+b8JZt0PEWsRvdRgl4ccmSYKHc173VsYAABF5v8nHKI5m8CqPpRzhhbkIN9tkmO3WOIglN2AapDV5iwudRRteII2bXr8QthZXwTNhLi1boKPWBNIP2dZKdfmwPadY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+92296+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1660119115186527.8337018450603; Wed, 10 Aug 2022 01:11:55 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id KJxHYY1788612xKsSH7Qahjw; Wed, 10 Aug 2022 01:11:53 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web11.3267.1660119112506640530 for ; Wed, 10 Aug 2022 01:11:53 -0700 X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-660-bzkanSLeMiaAt3FR66Qnuw-1; Wed, 10 Aug 2022 04:11:49 -0400 X-MC-Unique: bzkanSLeMiaAt3FR66Qnuw-1 X-Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7441485A59A; Wed, 10 Aug 2022 08:11:49 +0000 (UTC) X-Received: from osteffen-laptop.fritz.box (unknown [10.39.194.179]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7979A14152E2; Wed, 10 Aug 2022 08:11:47 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Laszlo Ersek , Ard Biesheuvel , Eric Dong , Gerd Hoffmann , Jiewen Yao , Jordan Justen , Rahul Kumar , Ray Ni , Oliver Steffen Subject: [edk2-devel] [PATCH v1 1/1] OvmfPkg: increase max debug message length to 512 Date: Wed, 10 Aug 2022 10:11:40 +0200 Message-Id: <20220810081140.158578-2-osteffen@redhat.com> In-Reply-To: <20220810081140.158578-1-osteffen@redhat.com> References: <20220810081140.158578-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: nS7U1lfvAQ7BMzlcyTanLoE0x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1660119113; bh=OH/Rn8HdjTyF0ut5aJHJrEO6jJkqYe5aVLmqfVgIM74=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=ZKW8HTNHEtsL+GAr795GuUSjbRxcCvb77ZNiW3ZSPEsAajAmk4bbPsBc1mx856S2YRM hziElCEKBaEKmxHdKwsKgQTr09beTUfQ3ia7ACgG/Ybh85tnrzFluIR3aLpyHFZYk0X8g u8T6jW9rNz2ZUfZr01UaYTRPNnySvFh8CTE= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1660119117299100001 Content-Type: text/plain; charset="utf-8"; x-default="true" From: Laszlo Ersek 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 Signed-off-by: Oliver Steffen Acked-by: Gerd Hoffmann --- OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c b/OvmfPkg/Li= brary/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 su= pports // -#define MAX_DEBUG_MESSAGE_LENGTH 0x100 +#define MAX_DEBUG_MESSAGE_LENGTH 0x200 =20 // // VA_LIST can not initialize to NULL for all compiler, so we use this to --=20 2.37.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#92296): https://edk2.groups.io/g/devel/message/92296 Mute This Topic: https://groups.io/mt/92932327/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-