From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web10.24320.1658129787379644299 for ; Mon, 18 Jul 2022 00:36:28 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=acEeW4Zu; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: jian.j.wang@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658129787; x=1689665787; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=zSpx9HRG/rYDBGeAH5D9QbqdNFR7gI1IrFrcoMvPSe4=; b=acEeW4Zuj1ao2g3M3xoYWBtL2aBEKmhpIT8+BimA0HFn57Vx+5mDgP7A V9I2kFQBhUKDJFIszfcPXmg6NLgHZzM4bnUMpOpXZqI6qmxA0Wkm8D7Va OF0y4S7HAAkc2Z6hbdsjctOlNC0ZDokAagH/i7QscpTMmOsuEQ1BIH8Qo qJMFYAOl0dS7Zx8zQtG++Du9/cz7aUI9DZJ9vKyHM95foUQBWqFwzElM7 bnme9v8U+FaTVI6oCCvrgAXN+TZhDL7Ckc3FYuv+RJWHW5i2YlP4U+Jxh k+oSuRx9F1Qnho0vIZgW11Pl3v3DyyA/a2FZ7SAsSK3hDYPXW3qOttu1x g==; X-IronPort-AV: E=McAfee;i="6400,9594,10411"; a="284913837" X-IronPort-AV: E=Sophos;i="5.92,280,1650956400"; d="scan'208";a="284913837" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jul 2022 00:36:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,280,1650956400"; d="scan'208";a="601135123" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga007.fm.intel.com with ESMTP; 18 Jul 2022 00:36:15 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 18 Jul 2022 00:36:14 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 18 Jul 2022 00:36:14 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Mon, 18 Jul 2022 00:36:14 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.106) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Mon, 18 Jul 2022 00:36:13 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jC9xwyXYGI0vrDuQ6bR3sFmMyKvKkl/oQhXR3y2k1hdmNkcZiSSh9XYh611cs3Qji6CVfyuo8YJaflGHgf5//DTHgFOhO/rFhd8h+KK33+pgNckiriDYcoveSOy/JEEnQ5R2epAk1zLuVzfOCQRlwDkQJO0YuuheW7fYRu0kpfliADI/0ToHkKlYkcoFcrr+K+hkRcpK8Ki0QODTuwd05sLNjm/3XFGduzpK2rVW9T0uzF/AxyEbzFh5sIzu5AjQsPW2LM0QibWtLOWw3X2Hy1Qd7pByLOUWfVtS9pIkwjaO26hxa9cKZJEWHHSlLrIXX77OZABTZbIpOAuWFB2EXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=74uCqmLwzBmgGlvmt3oJb7JJyLvRNsKDBp5qg1CI2GA=; b=lEDo4L0msUSwloJuopRJqtR4rS7setWJHg8ZbNoTA4Kh/DxR1kgmLD1Tz88G9xuhMqYMdLaH0TCTe2rCoiRKvJqFvS3fBz876ENR54A6FuUddtplLnpNIRkkJK8DgFEXfjsIFKO5T2jwfosjSscqJ1RaZnHDu+aNkTbIugiQWmPcopmPONj4qQydBQH4imsYWniwy3beakdFsv3rUkyfLlEj/BrB4HooNOFSSkkZfTTHCWCVrDRmqKq5q5z3OtgdUnn6K83XEYqmHVB+T36XKiW29RWEC4jmsgJM9At7IbjfgAjLlSgIsHUtYqPbW70hZ+T/te7eOxPvqfjiK3Xx8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from CO1PR11MB4945.namprd11.prod.outlook.com (2603:10b6:303:9c::8) by DM5PR11MB1803.namprd11.prod.outlook.com (2603:10b6:3:10f::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.14; Mon, 18 Jul 2022 07:36:07 +0000 Received: from CO1PR11MB4945.namprd11.prod.outlook.com ([fe80::49cd:32e8:b40:997e]) by CO1PR11MB4945.namprd11.prod.outlook.com ([fe80::49cd:32e8:b40:997e%9]) with mapi id 15.20.5438.023; Mon, 18 Jul 2022 07:36:07 +0000 From: "Wang, Jian J" To: "Lai, Cosmo" , "devel@edk2.groups.io" CC: "Gao, Liming" , "Bi, Dandan" Subject: Re: [PATCH v3] MdeModulePkg/Include: Long debug string is truncated to 104 char Thread-Topic: [PATCH v3] MdeModulePkg/Include: Long debug string is truncated to 104 char Thread-Index: AQHYl+xMJ40jLF3VYkiWvXtKazf/gq2DwjCQ Date: Mon, 18 Jul 2022 07:36:06 +0000 Message-ID: References: <83e97457873d93c8b1eab91b513aae2e444e08ca.1657849347.git.cosmo.lai@intel.com> In-Reply-To: <83e97457873d93c8b1eab91b513aae2e444e08ca.1657849347.git.cosmo.lai@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.500.17 dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: afce98d4-f1e2-4b5c-683b-08da68902d46 x-ms-traffictypediagnostic: DM5PR11MB1803:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +yLN9HgMWPmuXvmX/q612C92EX0JqSj5oFKrb5F01BltukvL5VULKFRcyz9+Cs/NS3JcyS5BaycqGmpKSxc/SHqbbpZRSK7BmA2PxSYVpSZMwP3Ex93E1CUDV5JPM9wkuXCXoREjcTml+leUTspgdfaOmLVPbd6RZhXAbLCAZYSa0jUD0OLKma3nM3WmCGRFktObZN+6F1TvBZ5c6j8ot1PdNY5O7owd8t1BJNKKk4r+X/eN2T4PmjJYPxiBU0sFZ1jYVcc0SQjBF9s6jN3Zu9iH+fafurwaRvYMnb4jkE396941nJ2C2AdPd7JBUjlfxy8z19jh075RcvH9oI1P2sSE7KGAoSgghQTSxkYUjE0XsAyxS0VEMAaFNp4LC/WxatIa45M/1Pp0NWNGD8HBoPW2BtiruYX0TimqJkQMgrPhTHbawG9Yn9gXheXuMaVQUgDkYqCwcrimP+tY2yxm1T/fTvn7NGvhTEkiHJMXLBhNTWBrYLwd4HSSdy9xDvsGCtBVfyljTX2ylv9bMb3VjcpTYeJa5ye+H4VQzYZB+blmMyKWmlZGtqkqOJ3D/8WXzbHAMqZBP2tdjoF97YJtiMtCCQUF/3Z7+kLFksRJ6CKNksm4kSdZY0Kwy8y4R1MMk0uoq9lZbYuvlOCSj6/ZwQ58INpgB5zMiAINz05VwHK1TjaWL11kATg/7GgkNQnWdiihc0Y9U1sW2Fue4eBfHAerfsqAgJ/C/TuQToacHX/pekBm2Oj6/VZVZjih5+UdDWbA/Adnzb5K8tH89cj+VdCjXmhlwIfns6yz9hW/7K3xdOzi/qa3uAY7Hw27PbJg708+TVlPCwmOfD1VigMP6T86vO4G0R8KRlHkPp+EF2c= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO1PR11MB4945.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(366004)(376002)(39860400002)(136003)(396003)(346002)(71200400001)(478600001)(41300700001)(86362001)(966005)(186003)(107886003)(6506007)(9686003)(53546011)(38070700005)(122000001)(7696005)(38100700002)(26005)(82960400001)(83380400001)(8936002)(2906002)(52536014)(33656002)(5660300002)(55016003)(64756008)(8676002)(66446008)(66476007)(66556008)(66946007)(316002)(76116006)(54906003)(110136005)(4326008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?xC5XuZcjIDaRlIQ4IFB3FcO2p7FzDXthnpdq0e1nrTubIP0YHQeNzXAWVQdt?= =?us-ascii?Q?AenzWvaoWtyI0j5i0C14JiCz/NRAS4S7pufusrHxWzOzL7+Q+bB61EagR8Gp?= =?us-ascii?Q?6wm0mq2kM7tAw5wjis/X6YIkIo6m8/HyrFTRPPB7xXq020RXdZsgTEkz6LD9?= =?us-ascii?Q?d4ou5SKN9+F327FfBqOH7bjgA1NevNGStmx8NIg/wYc0Q5KQFOpFvAvpiefw?= =?us-ascii?Q?IXl9CsnEZnV0zaC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?= =?us-ascii?Q?pjXYkAaQvcRY+yuaz+DlGxbi/i6RIMpJ1tpG8rRc6y3PrwJkvLOhhtSAu82D?= =?us-ascii?Q?cYcKBvB84CnCBJJjnZ2KCFWe0r5kmAfDwm0K7SOXQVA7lyP+DFtI9wrGNNYY?= =?us-ascii?Q?I+YOENpvnHd8uVKYQ+EYXV5s7K29nd11ztDRRuJEtlSXirYcF6/0gjGCLwI7?= =?us-ascii?Q?8BZiV0HP77aw8v/p6caAn0PC/cTtozm5asX+uTqqL+wXzI22WR6z9kbGuUaM?= =?us-ascii?Q?hqHAwyKfl8embN2YE058582/T2fv45FHcZxfpfsFLvr19zZQuJbPBIYKKKVn?= =?us-ascii?Q?c7j8owsPMO959gfnhJSUBk+RCJS7kACcJa8FO6tfa3mTbEt2w5KZArv9QPqZ?= =?us-ascii?Q?8xLFjAbaFlqIMLCPLHPakTxPmpSAPdXHoS1TTr9JneDNPTBHOt+E7sxhb0Ta?= =?us-ascii?Q?du0VZRBA/ksUoUg7WBtSf9gNkNbDvaS4fiNM2vng?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4945.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: afce98d4-f1e2-4b5c-683b-08da68902d46 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jul 2022 07:36:06.9889 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: /Y6VLCSA+llj4NOfCztMKbKaMaHwekrhmP0MOSq982+/B0o7XcXEytxmwpO6pudS4y1ZGMo9uYrs1DfPjjHOrQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1803 Return-Path: jian.j.wang@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Jian J Wang Regards, Jian > -----Original Message----- > From: Lai, Cosmo > Sent: Friday, July 15, 2022 9:43 AM > To: devel@edk2.groups.io > Cc: Lai, Cosmo ; Wang, Jian J ; > Gao, Liming ; Bi, Dandan > Subject: [PATCH v3] MdeModulePkg/Include: Long debug string is truncated = to > 104 char >=20 > From: Cosmo Lai >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3986 >=20 > The EFI_STATUS_CODE_DATA_MAX_SIZE is defined as 200 in MdeModulePkg. > After reducing 96byte buffer for variable parameters it is limited to > only 104 char debug string. This is a non-necessary limitation. > It can be set to 0x200 to follow MAX_EXTENDED_DATA_SIZE (also 0x200) > which is used in ReportStatusCodeLib to support longer debug string. >=20 > Cc: Jian J Wang > Cc: Liming Gao > Cc: Dandan Bi >=20 > Signed-off-by: Cosmo Lai > --- > MdeModulePkg/Include/Guid/StatusCodeDataTypeDebug.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/MdeModulePkg/Include/Guid/StatusCodeDataTypeDebug.h > b/MdeModulePkg/Include/Guid/StatusCodeDataTypeDebug.h > index 16203452e4..2f408a5622 100644 > --- a/MdeModulePkg/Include/Guid/StatusCodeDataTypeDebug.h > +++ b/MdeModulePkg/Include/Guid/StatusCodeDataTypeDebug.h > @@ -21,7 +21,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent > /// > /// The maximum size of an EFI_DEBUG_INFO structure. > /// > -#define EFI_STATUS_CODE_DATA_MAX_SIZE 200 > +#define EFI_STATUS_CODE_DATA_MAX_SIZE 0x200 >=20 > /// > /// This structure contains the ErrorLevel passed into the DEBUG() macro= , > followed > -- > 2.16.2.windows.1