From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web10.37593.1656301436795383845 for ; Sun, 26 Jun 2022 20:43:56 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=nrO05po5; spf=pass (domain: intel.com, ip: 192.55.52.88, 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=1656301436; x=1687837436; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Y3vS8vMsKa4a8RlwDH42edpwq27DP91tg0e+C3T7nJU=; b=nrO05po5RbF4TVxXLDd+7YnQx6SEnVxr/PTDllKMJK0tiLF5LWvGVIoi 2EhHBkNg5FnhXrClS2KYo3rqvG1o+4g/Xk07iUD5+/l55K/QUCqC26sWJ SJAE6MnTWaE7Lqd1py2FRgJ3uqTylpU8u0o4H1ZLVkDAePYzjQMW5u1uW v7tcc0sNMvFiNqm1lECjnxnt9D9uO3iW35XZLAOI08/A7hXHym1LhXl3L 1ChPDK7z7ROxRcEIeeX/feaOquigs9/B7Wq8oGxnk9YpD/qgDpeaj/twg R1XsLrvREa9y7aWnwPPrmbG6H8ov3KOsRR8lugvNipdTxjSbT1v79EpTS g==; X-IronPort-AV: E=McAfee;i="6400,9594,10390"; a="306818594" X-IronPort-AV: E=Sophos;i="5.92,225,1650956400"; d="scan'208";a="306818594" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jun 2022 20:43:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,225,1650956400"; d="scan'208";a="594116163" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga007.fm.intel.com with ESMTP; 26 Jun 2022 20:43:56 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) 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; Sun, 26 Jun 2022 20:43:55 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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 via Frontend Transport; Sun, 26 Jun 2022 20:43:55 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.170) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Sun, 26 Jun 2022 20:43:55 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F4sWhd+PLrkXPEy9FEdd/PSdGdClr1S3oZcFfM+ocpDNRVjRNCJreWDESWXhWS05LQp39n1lt6hw8hf1KSveneA2X4vo9pm2/ImH1a+/Zmn/B8GAuTwAUq0lQ9lOnDGYXJ5JJh1nLz4v4uBIoSQhLuoUAgkDJ3noDufBX1f2e4RPrefOSC4DYYMLYcGmnHOvfiDE49ivbvHloCX3IUcXcewRsvBHfg/ygBJ9XtquDWfBdyywYcmtVJwkOJl91nQZaub+6mW270hqQIGZfSRyiNBJVkluRne12/XnraAtqi5gbWi0ftZLQmxJfDJYN6hqWtMinzclBM5ZIsU/0PlmwQ== 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=8/MYicmqUjwUKNrUzal9BPQq4WXK2DQkrmxHOQcNWoE=; b=SV1nWvwtSgMCaddMkCwQaS8LFEKnmxIHUahSPMdGzluiZxdPvczxfG+JMv7TZLhpHhFLZ4U/pea+KO8rq9mLcHN8ArJhDlnzCuRxNdsTZPUYsn3LnY7xSPXCh/zLicT434nIROio1fBYbLfw1BqXWGepHc8LMex/zBFqyCBWsNlKmW5lImtxWSUOoknzjbN7FGFW90jdvq/BfKv+SUttwAW1uPXC/N9ADf3oNEfB7yfXvqvmLTZVEgSEsW8ZpIazPJjdt2ANmHd8uL/LVCuEm+LuIPAz6hk51/yfckfOxFwWysppIoXVxY/PUhG0ODRApR7pyi8wEfxL0eMX/OE4qQ== 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 BYAPR11MB2613.namprd11.prod.outlook.com (2603:10b6:a02:cd::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.17; Mon, 27 Jun 2022 03:43:54 +0000 Received: from MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::991b:97a0:7836:5174]) by MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::991b:97a0:7836:5174%10]) with mapi id 15.20.5373.018; Mon, 27 Jun 2022 03:43:54 +0000 From: "Ni, Ray" To: "Guo, Gua" , "devel@edk2.groups.io" CC: "Dong, Guo" , "Lu, James" Subject: Re: [PATCH] UefiPayloadPkg: Align Attribute value with UPL spec Thread-Topic: [PATCH] UefiPayloadPkg: Align Attribute value with UPL spec Thread-Index: AQHYidNYihgPU77ZPEyb/GeFVA6ljq1im55g Date: Mon, 27 Jun 2022 03:43:54 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-reaction: no-action 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: 8b8d2eb8-d06b-447a-8a15-08da57ef41e3 x-ms-traffictypediagnostic: BYAPR11MB2613:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rdbEAIAYcdg6kuvwF5etZmPh9VzEu2cMs/I48PBuSANjrjKIeNt6iUEKxj+JazTVEMdEuoXqSk9Jz04mFH6OcVTynfg4tpGl/B5UGgFuBz2FwpiO9LvqUIzxCkj7JGJZMP9GvX3S5F6JcxzTaS+ywXr5Gk0RRK2KqLo0sp8CyCSDT/bysOn8/SJBrJdszzYp//jIIBcg5eznjBRKMGTA8isQ5DrWpvJTUcRSuI81BE8PcvRbIvVbV2yhtvM11haoyGxScb4NShnQyDHBwen5rOB061Q5LhUTl/HebFg4tVQJTiAwtWrlrDcipGqXYw98jw3hjLrcACLTiX5kVT+MTzuEEGu1hqs5GZtCGjBOpgiqHJ6/brJu/+S8USxca0i4pI1pxc5zaQ/Vsf+v9HskmIJBoOsNWUjO1FP2ta8BKwqyINSkJgjv1mPH05Y2kQ/hQnmXZeragoT+yc3l2lId9b4NCsYH5uIitLwoeL2I/UM2G0hGKTlTOGrdIXrnOikXA63X6G//ot+AqSDCWfTfhoMBDWTrTCpTNtGZywD02yE4YreMx4oS+LTN3i64SHzPfyjy4eU8ZudMVkT5VSvU4fyc3WWBZttchNXLItnKsK5CxoytKHfJHW7srNnQ95bSVPEwEE6COSm0TNXXU+90VG0UhDMbzoGvUxUcrPsE4dOW9V8SwNfqf7KwuJmdHo3kM2HZkQaVpedoGkskgUnNwS0QMnxcdNEaKB4vYAXNvrq4OkrX0vNaynMXI7pWo0be6G26Ie9dlRDALo9IR70ayO/4h5tRl/NvZRE+RdHw+Po= 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)(376002)(346002)(136003)(366004)(39860400002)(396003)(4744005)(55016003)(54906003)(52536014)(5660300002)(8936002)(38100700002)(2906002)(82960400001)(66446008)(316002)(7696005)(41300700001)(64756008)(8676002)(86362001)(76116006)(66476007)(38070700005)(33656002)(122000001)(186003)(71200400001)(66946007)(478600001)(6506007)(4326008)(107886003)(66556008)(9686003)(110136005)(26005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ehbfKU8oBOLEEAOmHyibJm+iV+7CBOGwoxUNiK/4qTXlmeE0it3MVPTFopy6?= =?us-ascii?Q?zIN7gBNL8PYLLIu5St4C/PPmb677FDZo7rz/jSH1cFWAA/S4i+jDhmneG1hO?= =?us-ascii?Q?vAx6X+zisoCuwrL9upAdCg8jHlWp/iJFMkqUkW9vIDwiGF0mCh1GVXIWn0qx?= =?us-ascii?Q?uNKxD5XOJ98GaYSLHoe/RRIX0mS++PoA5yjpjbN6+OcXQW9zv1jvwXwK8s1N?= =?us-ascii?Q?4OyKiz4D06p5VvZhR0x3RyL/Tc6CDpXbrKk3GFZo8i1/t+6dTF3m2WHx3EG0?= =?us-ascii?Q?bcPt38g4fLEIYKXqJg0s1o9rjjKTrqZwqLmsypAodhF0HbneJsYs3+3p7ZXv?= =?us-ascii?Q?tbhA+POnY2H96hGYCi2Jt/vDSXedjAFKwWhB3IIrjeCLHnnrOguRpABHTq4I?= =?us-ascii?Q?mybf8L5GOuLeblIfxNfSWIV13QEA9nUBPqoKZe0u42Lv61CBy1qanOy4x61c?= =?us-ascii?Q?gQ6DqvESRGdXYM7FwnAj/kTd1zauGjuIg2EWxo1h57uxhihlQvo3JWkttTH0?= =?us-ascii?Q?xuE0+Ymrt/mSLf/ws5xygPtVIbaEjItW0EDx7/V3bgt6HEI9gX7mPIZUoF4O?= =?us-ascii?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UISjryc8/1tU?= =?us-ascii?Q?WyaRb9z+U6im7bWkaE5JYyg3TrEqbL8t0a6HIedwKe5fIQcZhHUA3PdFFXwy?= =?us-ascii?Q?mFq35yK9Tv81jdzUwJA=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: 8b8d2eb8-d06b-447a-8a15-08da57ef41e3 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2022 03:43:54.0421 (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: Jt7o7z/KtoGphxOes8eGpOBgkNlHMJ72nW311Kl9ZSiykgqCB08CN4m7BtM9T2STMJ8kwB6+gBhy1+FPU/eOnA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2613 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 > + upld_info_hdr.Attribute |=3D 1 if BuildTarget =3D=3D "DEBUG" else 0 I am not python expert. Above statement might be interpreted as: 1. (upld_info.hdr.Attribute |=3D 1) if BuildTarget =3D=3D "DEBUG" else 0 2. upld_info_hdr.Attribute |=3D (1 if BuildTarget =3D=3D "DEBUG" else 0) Are we sure that the #2 is chosen in by the python interpreter?