From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web11.8630.1648806965318102813 for ; Fri, 01 Apr 2022 02:56:06 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=NCVA5QCi; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: yuanhao.xie@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648806965; x=1680342965; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=SH8BRW5mIyI7vKNHj36+eWTrnRFBc9u1K58oL7oCGEQ=; b=NCVA5QCi501vNvxhj9OCGFRJxttTRoYF2URRp/f3kDO8aOzHFUjiUdtz rAfStIoe4KOIkAEK35vimRz5Di7atTx0MBzKcjlWuq3/sjPQplVK+Qg8Z U6ZNJiD6NmMWVC9iL4utRk0uF/tlajB5WpdPqjaFl8w5kcBBonlRFxXBL hORIpVOG8rigWtYeaMxR3Xd2e7lV8irIVKr+FZqGCQ+JfDjmVz86KzOcm D4h1JgSCehtJ4hSp5c1lpX1gcE+pQnxMaj85mYM0v8hIgfmk6HsKeSM+A 5PjWKrUoX3mpfFnEwRog5NSb0Uf8TI4/KfInTJsnyPvReri7rrFA8+QKI A==; X-IronPort-AV: E=McAfee;i="6200,9189,10303"; a="323266403" X-IronPort-AV: E=Sophos;i="5.90,226,1643702400"; d="scan'208";a="323266403" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Apr 2022 02:56:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,226,1643702400"; d="scan'208";a="504113813" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga003.jf.intel.com with ESMTP; 01 Apr 2022 02:55:57 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Fri, 1 Apr 2022 02:55:57 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Fri, 1 Apr 2022 02:55:57 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Fri, 1 Apr 2022 02:55:57 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.44) 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; Fri, 1 Apr 2022 02:55:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NZrSaYPrkDryG+Zydk8zoj09JqIiN9l69iXA/vYfmV6RRbEy8aXyANmr/20S2eoH4Fq8w1bwuRdEyEjDBq3FQGFO04KSa678YTWKe/rqXcZJk+JWNJa80n4hQqW9sfiDd7TkqpMSIIzut1RtmvgwizsgUkAXGudY0PqCdeoC8zgxq368NOkcWCAuwVw3YcpOM8MePZcdEma961Z4+6+D3nQ9v3gQpP6u1nTSJllkwX4nT8c1vY9w1xxjjPAwUzQvjiFKHzVmv8pou7QHOCe12KVXS1w0vm4kjsZ1hekgCuJIqWOa6Z5lSP9/afReNqOPuolgMf7jBA+KzXfMo0yV3A== 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=UKMqrKCJSSPAwmBqgCTS1JCHwcCu8EYcsDUaXTmKHvM=; b=VKOrDIpLZXGXoCVqATPCmmhdryHJ2fIBUCx+8P0zBhZBzYHham/SCZZPKPucZVuuMP7imV5PW5IpYvHwLJZguzmXmG0nev3XrU/rv359/GMbcXRa06H+T1/mgUd0kJv4GRUbzPk3GyYaoSqFFodb/8voEhkwk/ljL45xOwwlZTXR5fH3nladSD3DiJYXqxmZDEZIVrnTanWdjDeQacSlAkCAmsPgh6+ew5s1pdhn7vUZ9B/B0/DvjaC4NE8XhmZ+jhJjw+Hw4pQlhJ7Flytae2IZLTOPifiaoo9cDL3z2bcYjZaFqWiA2kCq7441uqt5iR+rflw946/mudTKnPoUSw== 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 SJ0PR11MB5037.namprd11.prod.outlook.com (2603:10b6:a03:2ac::21) by SA2PR11MB5083.namprd11.prod.outlook.com (2603:10b6:806:11b::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.26; Fri, 1 Apr 2022 09:55:55 +0000 Received: from SJ0PR11MB5037.namprd11.prod.outlook.com ([fe80::91c7:acc1:f002:f224]) by SJ0PR11MB5037.namprd11.prod.outlook.com ([fe80::91c7:acc1:f002:f224%9]) with mapi id 15.20.5123.021; Fri, 1 Apr 2022 09:55:55 +0000 From: "Yuanhao Xie" To: "Ni, Ray" , "devel@edk2.groups.io" CC: "Dong, Guo" , "Ma, Maurice" , "You, Benjamin" , "Rhodes, Sean" , "Liu, Zhiguang" Subject: Re: [PATCH] UefiPayloadPkg: Change some configuration of the payload Thread-Topic: [PATCH] UefiPayloadPkg: Change some configuration of the payload Thread-Index: AQHYRWz1ZT9wxJ4dWUqkPPYF96Gv96zavYaA Date: Fri, 1 Apr 2022 09:55:55 +0000 Message-ID: References: <20220324020442.346-1-yuanhao.xie@intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.6.401.20 dlp-reaction: no-action 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: d31f1dc7-08cc-4c8e-b598-08da13c5d0be x-ms-traffictypediagnostic: SA2PR11MB5083:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr 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: gVvxr3JtydabWw+205s6jt85Pnp1U/qEztLx76RwzAq1bS+Za/IUE+pxhak2ODIa/FWTxtw63uhG4SuqplBoQ3bgsXyBUzxYedP2I+DTK5TqzwRj3zh1/ay+YuEGzmP5JlFm8LrlXZilJb1Mxcob2QJ4M3aPqQTDh9Go68Ny+Crd5o3vKZt1y8VMzTORrJLvnd5wm3gv9523c7OdopbDHETTC30csK7O/Cvi/ImYXm36iJ7CSw6mKHAckN1I3sXvxypXfuCq8eFTpPfjSThh4gjSbj3R1BrZonPn0JVYpAOD0GiqHm6v+b6Gi+pfMI8N82gd+W/T6tUP7+VCqqONVmKBoTLJNAFIE7XmfvNLUEzoYXF70VClpUrYPt26oRx/Upivj0d+jJGtP8FveRHNH3DdpyEhYeIX2smZno0f1oX8zkfr8QLmuDwyoeICqn9RrQ/Qd1SsRywheDCw7/VvwMPr2bLZ3DvkxVVW3jX7JyG9Kbq4t9Jei9J47ru6tMiR6wvlaTVNkWk9Hw+/KD08dpTorBPC2R3tLxTs1hWY4iZs8t8IKopKm2PIvPeZ02wRtZfx0bsg7kOV6kHL6IGW2T21ECSrep2YaeqmbOA182oYkMZ2cv3mgJ/YnzbOgyXOK4DXTjCVJxZAKWImPSp7jcKDRc31RfWV/KbUsLCzWSBrEcYgjAcfhMBAFoLyiXJj2phzqrTGWNJ6GVI7Sniedg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR11MB5037.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(508600001)(53546011)(7696005)(6506007)(9686003)(64756008)(316002)(66556008)(66446008)(76116006)(8676002)(66946007)(66476007)(4326008)(71200400001)(54906003)(107886003)(86362001)(110136005)(82960400001)(83380400001)(122000001)(52536014)(186003)(26005)(38070700005)(5660300002)(38100700002)(8936002)(33656002)(2906002)(55016003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?EXiJ1UY1l1oCvbs0Aw3kZlRsbjkWKM72h5qaz1jJwkQNevYnyS4CfwXk63O2?= =?us-ascii?Q?5IeB3nNi3UpqIRU7O+CwqivMDAC5QpDsRuYX+ARK8L0k955rPoQiDnbF4ztt?= =?us-ascii?Q?06HycV2oxZgQ8kRVctyAFWNWXXRDOUNcMIA0xgmzC5VNNKyICbgwLPyOn6Ec?= =?us-ascii?Q?14NvUzxonVnIRZxrQZgZtPV/X+OQmRvtzD9/pSQPSVKFJIlugf8vMiNE81mz?= =?us-ascii?Q?C0Uv0VroDBXeckxdU0/To7jPYTWsXGHvTCvyAtzkwbPolP1KoVCSu3vTWg5Z?= =?us-ascii?Q?L0ZE64JBb8B8e+J+LnD4oWNkQkA6d2xKjJxdsuLeCrbagZX80UW6T3SPlAxw?= =?us-ascii?Q?O7Sjp/S+NdoKyPn34/50wjCQLU/Wnk/EJCG5o3P79+uEwKqFInbfO1VP2BRj?= =?us-ascii?Q?F2tA8CheWTnWNfF4ikulAAm58DW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5R?= =?us-ascii?Q?PhWobvW7x+71HjMrNu3gQtTjXT2OKvEl7TDprIRhDtJysseYTWcPeVUdIc6l?= =?us-ascii?Q?nY2BdePFKEWAenJJArz49NbYujzKsxSAc7s3eKbHfW30ppYEItTs8SmDxKWo?= =?us-ascii?Q?Ic5Dx6vt1jyGtRdV5HXIe+qIWwozKoPNE/nIOI+uedqckLCN40drfvVt+ve8?= =?us-ascii?Q?MthasZtNtwhAEzoY1MXtQD88JLugPWc8Sbw41EJoXQqr9Mfj2I3cvGyt5z7v?= =?us-ascii?Q?6pchKUH0/b0wVp4qmCWMlnxbUCcV1mDLqul8WG5wjCHNShIFHSYRvpUkeXDM?= =?us-ascii?Q?r+mxAVf3D987BUIez+VJ0YqusVLvqSjv+M9FxprTJChy1lx3sZ+2XEWb5z/m?= =?us-ascii?Q?3xiz2cF7kLwT3LVROIcc079ZHHTEI7y6YOZkI6EjKlGabNBemg6TxUgMxoI7?= =?us-ascii?Q?5tNilO1fdA=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5037.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d31f1dc7-08cc-4c8e-b598-08da13c5d0be X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Apr 2022 09:55:55.6415 (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: 665M9nKVDM1Xz+3e9ft+0+nuJQuMNQWaUijxzJYM7eVpebGVQWVZUhyMgEeizsog313XMtCDLAE7zjS+trLi2g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB5083 Return-Path: yuanhao.xie@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Ray, The reason why we use PeiDxeDebugLibReportStatusCode instead of BaseDebugLi= bSerialPort is that Base Debug library is based on Serial Port library, and it can only send de= bug messages to serial port device, while SerialPort supports to print debu= g msg in other places. Thanks Yuanhao -----Original Message----- From: Ni, Ray =20 Sent: Friday, April 1, 2022 10:05 AM To: Xie, Yuanhao ; devel@edk2.groups.io Cc: Dong, Guo ; Ma, Maurice ; You= , Benjamin ; Rhodes, Sean ; = Liu, Zhiguang Subject: RE: [PATCH] UefiPayloadPkg: Change some configuration of the paylo= ad >=20 > [LibraryClasses.common.DXE_CORE] > - DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.= inf > + DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDeb= ugLibReportStatusCode.inf If DxeCore uses the ReportStatusCode instance, some debug messages may disa= ppear comparing to the case using SerialPort instance. Because the ReportStatusCode driver runs a bit later. Is it for saving the = payload binary size?