From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web11.2982.1655288935898490222 for ; Wed, 15 Jun 2022 03:28:56 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=GUyiYUHH; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: ray.ni@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655288935; x=1686824935; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=f/WChin4phRmJmOGlD93lcnp9Anl+QUV2HPI2xO03lk=; b=GUyiYUHHVePAODAdmiiLwINMq54/ETlyNAN8XDwqja4d/nmCi9URjuh+ qJZTxiGG+K9q8a2/FCOaTALqbCgt1I9EylgL/68nRidO0AQjKB1JK3Uve eSfEjfqXjFub5czilQI/WZx12S/dSjwqH0ESDGqYDAXOoBZXI5WldV9ea ScSfBJdlEst63OX+wYPx7D2xp0gWVvVfvWAWuoEC+57PfrpFh37/sN7Oe bvU28Ct2gW+H3jglOTXNk1pzp+S592CGJBTZ4rRhQNPey3T2mh55eaumT dsoaiY5p6VdocOCBzIjMg2Qs57S7yJtH9ZAU1+gJjfiStn95p09wAZglK Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10378"; a="261938237" X-IronPort-AV: E=Sophos;i="5.91,300,1647327600"; d="scan'208";a="261938237" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2022 03:28:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,300,1647327600"; d="scan'208";a="571595593" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by orsmga002.jf.intel.com with ESMTP; 15 Jun 2022 03:28:54 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 15 Jun 2022 03:28:54 -0700 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 15 Jun 2022 03:28:53 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Wed, 15 Jun 2022 03:28:53 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.169) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Wed, 15 Jun 2022 03:28:53 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G8HAYzphJ7pj6Ek+qSstbrhXBXZhMs/DMBHfaiE+hzySLAJhTyCQ5TUr9iMMWjKuogSnmsbSokOQNSvEJoxGNw4ycK+N98IivXMP71jUaaLUpvQmFtDnX7eA1chHL3Q9Vvkf9sWyil4bbNIEnH9+QMqivQvHMer+572r1ZNT6U/mbx8l/s2364SxRG/pa/wnME0Lol0EHQPC+Hwl3zSkF5L5HrGkhCJ3hgj9DK1oOKpUjPA0wMtescYXx6KSYNbmrNYjZuh1A5vy2F7lSea2soDr0TqHgagKEWwhuQJ8uL0rlngmJEXzqf03qaILqBQt8kaVeiNJliRbSXe8eO0j9w== 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=hQDmPLaR6G1VrvIxnW372Ih8MmDjmfpgSbGIvm7phdE=; b=mQrmpBP/hEe+kPGRCDChL7bVI+zUNkTzgLYvEFbcsQTnAPcDx/p/RUS/U29io2v9YQ+E3RQbQxw4aDZlBhtmeCDdCCJAkiVciMBHSSdTNLCEdyUHnyCd5xpB1seDTAMnl1TGx1smo8XJxkZE5TbPVoZBqRYPL4GQnhIRXB+TOOOury36DUK0ETdRAxeURr5q2h71wIsfGSWIw9tXrkyXfm8AoevMWSFFmqvv1KorcEhpuLU1P3ET+oVDSjRPNGBKdfJCpepi2S7Gk2Br3xFPM/LYtG1fww2Ir7iQZkyIMq4m/FGPgi+tzXRxod6oAYRGIAKYJ5DEo0IvWWrEAi8LoA== 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 MWHPR11MB1631.namprd11.prod.outlook.com (2603:10b6:301:10::10) by DM4PR11MB6407.namprd11.prod.outlook.com (2603:10b6:8:b4::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.14; Wed, 15 Jun 2022 10:28:48 +0000 Received: from MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::4501:93e1:b65d:684c]) by MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::4501:93e1:b65d:684c%11]) with mapi id 15.20.5332.022; Wed, 15 Jun 2022 10:28:48 +0000 From: "Ni, Ray" To: "Xie, Yuanhao" , "devel@edk2.groups.io" CC: "Dong, Guo" , Maurice Ma , "You, Benjamin" Subject: Re: [Patch V2] UefiPayloadPkg: Increase the PcdMaximumUnicodeStringLength Thread-Topic: [Patch V2] UefiPayloadPkg: Increase the PcdMaximumUnicodeStringLength Thread-Index: AQHYgKBMR5+khlc3WEqPS9rqtEmXvK1QRBhg Date: Wed, 15 Jun 2022 10:28:47 +0000 Message-ID: References: <20220615101108.1110-1-yuanhao.xie@intel.com> In-Reply-To: <20220615101108.1110-1-yuanhao.xie@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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: 4b1fce1a-15bb-4639-b837-08da4eb9d538 x-ms-traffictypediagnostic: DM4PR11MB6407:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: //2TRLPguG+gQeN6XcYDLSPw+TgifkqcW8r3J9lDuQmGqCycN32QzEs2cXprYOXk29Zl8i5bNfVo8VRipBgjAc287bZVSQhhFnjpSYAAMLlE6qF4TD+KbdiZLoBkUba4qLAxqwRiGEUtT+CdmndVit4Hw3jE9JYmg+j7nPp9QqlarhMt0XhvuJjaiTboYWTR0tx/OHlEs5GpgOj+tZKBGaq4PaHP7AXAVs/Qmu26+U0GUVLzX0FxAC3AV0lJ1l87ZuZSWcJP5Q+NCxxEtahIVwvFiDNVF+yRrshj4t5DlATwOPbABX7zB0ktuGrqJCmg0e/fzX6YOZ7EpaFidz2emAsCm6Y3BnyT8YVJORwghDp5myip+sBezD+DXJD+aetGvbhUE6dbV3Z33YbF+epe0aJHv9RK3lubP37KAlG4o02l4arenXiZaFUXO/GOHiKTdF9ELZ1oKY2JQVk+3KT0WqxiRRWYpO2d0s3phuVjH9HiLwNepEO8daXclSjBWfd5nUCE09MNtlQgIHeC73eGgCDDRbL/NotYWFlAokhB1RW2M7mEWTVSaMTFP9OkldSMwYukAkzrT2pBLWZhrhPL44Jk8iHFjfJumOuv11KO7+tJOMwtUV0vr2ui0UGheHpOUrJxxMz9IgFdxI3LpBbRd8lC43OzD8+FQDGMgs6Bi/dqHXzRL9Ck4RtFLCHbLMvLyGx0F5Avpg+QfNlUwAxaCWAtVzpsPNHR6FAfur1B4GM= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR11MB1631.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(366004)(52536014)(66556008)(66476007)(66446008)(64756008)(8676002)(66946007)(4326008)(76116006)(2906002)(122000001)(38070700005)(86362001)(5660300002)(8936002)(38100700002)(9686003)(82960400001)(53546011)(26005)(186003)(107886003)(508600001)(55016003)(71200400001)(6506007)(7696005)(110136005)(316002)(83380400001)(54906003)(33656002)(213903007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?woL42CXwjhuhuZjAw3MQ63TmpCUZZ4SzKKdhoq410G3cNwLUiOW/41u/eV3I?= =?us-ascii?Q?MzSj40X4CFvEsZ94QjuCDWg5+OoogeJ1lUE0GdnOUcbNqju+V/U8d/DmJ/3i?= =?us-ascii?Q?RPzm2tbczjJje13FQs2Hz+Ey1KSZgaabD/HOBqHAVVk8el7RpZexWDVFTsRX?= =?us-ascii?Q?Ex6grbQ+yGA3rZHxCdC1bghQIyfOLwI0iz+sjLe14e5/NclS0pQWDdcKxCVx?= =?us-ascii?Q?EmKRvxcyp6ou2jnGrJ0Scif28ewiHU1EDCw58y4BkZCw4UMqeac3Of4Ayztv?= =?us-ascii?Q?E0dUr6hdBD1X5zyN/I+mzjXeXuP8w48osFEDYORAETdlsByhrq4JhMpr6Ld0?= =?us-ascii?Q?Szjt3PB9dTOWRFIRyMl0IZGxwaX+mochDRi+GFthL/DpkDAukVttNNeUXkiN?= =?us-ascii?Q?OwEuw9Xk1kDECNzlxyhOqi8KVXfEaQVoEp5NyPSnMXmwtyiwR3zCe/wvqZs+?= =?us-ascii?Q?4qVlnpRMpgMkFhhl22l007EpC9s/al/Jo26iGCqZLHpgBEwfsOqusQvRRvkg?= =?us-ascii?Q?5wf7G0RP66MoAW7ZMeLaEso+NFealOfQPNaTTeuf/C60HN/Ee7+oVQnjoL9+?= =?us-ascii?Q?BdR2H34g/z/ebLP7j+ebjCqaksThKr/GtAy2C3VvBV9y+y16QOK3sxvccOIP?= =?us-ascii?Q?6W/hnm92LNLG2nqZyaJIeidOa+/S2BooCzeG2/7HgH1CRksVpryMlB3sDYcV?= =?us-ascii?Q?CUlUDmeH3l+6khOxaIthruzfLKRpC4qLCZgQk4h6YF1L0YdundURY3PC1RS2?= =?us-ascii?Q?jN395ezgt4bWS3M7BRTjQ+4bRvFFrPq77m57vDAPfueuKKfZaWbTq541ZAUr?= =?us-ascii?Q?DSrTRSSM2stxKq1NLSdcHwagDgWnF6RTf0izMQq7ze0HviU9W1gTeGlu0nBa?= =?us-ascii?Q?Jzf7G9nsWNTbszpOv+m0aZBPlh2iuv2pgqg4CCksvizGoIuueDbVpTrLj+a6?= =?us-ascii?Q?LaXOm2MAXmB6b8HDP7wdAZfpSHTnQEYzyTCw8ff1EfpfFJMRxVhuwGynYk8W?= =?us-ascii?Q?0zF3Cfv6HqtSjSByyJRPyXSO/x4ncoaKf402PEQbjSwDkONUcie2aEyk81Lp?= =?us-ascii?Q?qEk1HWegvp7poN0M225OTbS6Hhv4e9eZpXACquS78yXEDFMbKxhezxWan710?= =?us-ascii?Q?8VsH0ToagKQ1PQe6LG0SsRZSvHR8aMN+NLWQQ6v3LcZ8DLWPtPCWPPdy3vdR?= =?us-ascii?Q?vLl/q+InMQqw7UmQR/pCuqt/2wZETG/wXbWH0aez1aPKTER00CYowMIs7grP?= =?us-ascii?Q?1SqC2O5NZVTH4MKgEcPII0jKvdBNF9uh16Ce9UnQUw5WOrOaEVqYP+ywKvmV?= =?us-ascii?Q?XruGf8hxHUFfMhQvERS2yOLRq337i8Cq8Xzr5p0YPHdvU1mDgwY4NYZEIzN9?= =?us-ascii?Q?p7d79OML7jvIJkJu7Q+5f5CgapHWit0XVk7hEdGRAGBQ+sVsj24tcpNYFlJv?= =?us-ascii?Q?S+VGf0m4flQsgm1q/JOk6HR40h/fdOCsjG/V34CptGWL3l+jUkN4aji7Eejx?= =?us-ascii?Q?dg2t3fnCrT3/Kq4K/GkrIFW+IOlqv6y0SO/poFcmm2g8Kw2h3S7DZ2mPa9dZ?= =?us-ascii?Q?ZsoOF1/jqmApiuAup1FWZDmEuV30pRxLR4pHJcMVciNV8HU4z39pezarOBt0?= =?us-ascii?Q?KaKaJbLQ54St/scSxqEvgeTwPgvtKkB1PHV9Xs8Sl8j6v9TCh5Nw02FeF8nb?= =?us-ascii?Q?2eqgEB9T+jeFPNgRzJji8nw7KFmfNH/qRffW6mJ3LH2mMyiTJT2XBQYNABpb?= =?us-ascii?Q?2zw+DXGrug=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1631.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4b1fce1a-15bb-4639-b837-08da4eb9d538 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jun 2022 10:28:47.9214 (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: DGYIhII/+TI/DsEFMFlcMoHSzr6LOjorX28s9LeJqw/5Kkh8+MgtSfu7DzXc/ibFoiP2ks8l5zVfNeHcHqBxVQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB6407 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ray Ni > -----Original Message----- > From: Xie, Yuanhao > Sent: Wednesday, June 15, 2022 6:11 PM > To: devel@edk2.groups.io > Cc: Xie, Yuanhao ; Dong, Guo ;= Ni, Ray ; Maurice Ma > ; You, Benjamin > Subject: [Patch V2] UefiPayloadPkg: Increase the PcdMaximumUnicodeStringL= ength >=20 > The maximum Unicode string could be as large as 1800000 in certain > platforms when HII code builds the configuration strings. > This causes assertion in PrintLib. > The patch increases the PcdMaximumUnicodeStringLength to 1800000 to > avoid the assertion. >=20 > Signed-off-by: Yuanhao Xie > Cc: Guo Dong > Cc: Ray Ni > Cc: Maurice Ma > Cc: Benjamin You > --- > UefiPayloadPkg/UefiPayloadPkg.dsc | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPaylo= adPkg.dsc > index 4d9bbc80c8..cfcf38578d 100644 > --- a/UefiPayloadPkg/UefiPayloadPkg.dsc > +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc > @@ -410,6 +410,7 @@ >=20 > gUefiPayloadPkgTokenSpaceGuid.PcdDispatchModuleAbove4GMemory|$(ABOVE_4= G_MEMORY) > gUefiPayloadPkgTokenSpaceGuid.PcdBootManagerEscape|$(BOOT_MANAGER_ESCA= PE) > + gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1800000 >=20 > [PcdsPatchableInModule.X64] > gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|$(RTC_INDEX_REGISTER= ) > -- > 2.36.1.windows.1