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.web08.6681.1631606024942629356 for ; Tue, 14 Sep 2021 00:53:45 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=K/opvNtx; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: ray.ni@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10106"; a="220040548" X-IronPort-AV: E=Sophos;i="5.85,292,1624345200"; d="scan'208";a="220040548" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2021 00:53:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,292,1624345200"; d="scan'208";a="609510588" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga001.fm.intel.com with ESMTP; 14 Sep 2021 00:53:43 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 14 Sep 2021 00:53:43 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Tue, 14 Sep 2021 00:53:43 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.101) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 14 Sep 2021 00:53:43 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UQnL+jliAlr2Ut5krC7SrFgfaxlzCaZK35/DJdUcfA4T86o+F3quhT1uqf4H3lISHvEh7y3apwTDC2ydfqSaibgHXN6pfwv54FvJIjihb+ZTzr0u5BlkrGl/CHZWXcCFJPIOUNWDcUX4QtBOmbyfRsRmGOsBs1hLhB0CqpnoeFylA2PiYgySSOJvLM0RfQu+UMiSiDaOLTMv1iIAIEAQoK5VgeeODNdwN8jjULEtlfPVkBTcupBhjMLtWrPjko8pJU5ho6TmRl5Wg8a1hUuYXUqxvgDls6V/ypx3SfqeeHnM6lzwE4vqx0v1SOuGSb1NHLT0nmcE79QoaIAuoB08cQ== 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; bh=9BhHNoBPdgXa1wjU1ceE33mbyuGjs3DQIWuFIvqDo/s=; b=iYoY9bcD1vpyUWz3Y+5x6YQst3e3/AfzRaiyCbTynL8vFJOObHUnQ2cbFrDObizTurP57LIcnPR0mJdeu/W2vLVtuUPyHhpQfVViLR72F5ZbnjJUAFafV0wukMQ3zRsUtGesGthKrNFzaRr6qxaxUQsKQxUlurPQjBNAFnTuRkqG3oLRTh7mESuTLVnxj+VzbdZyT2aYQEUITFM8HCGvWO4rYTWdMHITtpB1ijVkh9uFZx+Vm2NKBU8rzfV6mGaRSQsi73sAYfChiXYyWbfoLkOaoTOvTOKIlV9rzv6MVav1hb4CHC08b7GZVv8smrclOloT+3ySpGpAMYaSS63FKg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9BhHNoBPdgXa1wjU1ceE33mbyuGjs3DQIWuFIvqDo/s=; b=K/opvNtxKsZ0d4ie8rrP2nC3t5uZxtndRFQUk68kkRWbxiOcGARl5thZqScA9c6dGRfK9ynZuXLCz0YAKdT/yo55+38pjD6bfGNERw4Kj/B6Xwlc29ONtFMIoR3/TOXbv4oPUc38CfD62uqkXSKaY5zBMq3HrtMA3brsh3DJRjM= Received: from CO1PR11MB4930.namprd11.prod.outlook.com (2603:10b6:303:9b::11) by MW3PR11MB4697.namprd11.prod.outlook.com (2603:10b6:303:2c::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.17; Tue, 14 Sep 2021 07:53:37 +0000 Received: from CO1PR11MB4930.namprd11.prod.outlook.com ([fe80::50ce:c9a3:ab37:9fac]) by CO1PR11MB4930.namprd11.prod.outlook.com ([fe80::50ce:c9a3:ab37:9fac%9]) with mapi id 15.20.4500.019; Tue, 14 Sep 2021 07:53:37 +0000 From: "Ni, Ray" To: "Tan, Dun" , "devel@edk2.groups.io" CC: "Dong, Guo" , "Ma, Maurice" , "You, Benjamin" Subject: Re: [PATCH] UefiPayloadPkg: Fix the warning when building UefiPayloadPkg with IA32+X64 Thread-Topic: [PATCH] UefiPayloadPkg: Fix the warning when building UefiPayloadPkg with IA32+X64 Thread-Index: AQHXqTutLpwFG+l3I06yr91KZ7Fjl6ujKH5w Date: Tue, 14 Sep 2021 07:53:36 +0000 Message-ID: References: <20210914073907.1243-1-dun.tan@intel.com> In-Reply-To: <20210914073907.1243-1-dun.tan@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 657dc631-c825-441a-d0da-08d97754c251 x-ms-traffictypediagnostic: MW3PR11MB4697: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1360; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: iSYY0cj5insysaSqSGyxVgufslKwt8ZSFHVv2OVtKa5djjAiL98s3XQh2IbEVg2pDJ9Che77bXkqqFL0InVoV6zwVFhAqGWEkf9cSKgXwLHK0mLY48jykc+zX8v38DPBuTvbxrNvv9H//21RCxx/Nbj4bWh+LcIhGVYMB5Sl64rNztIR5bsg2NoT8updRQBJDhCGWcU3U9P+/7Fl1vV8MeeIzfQ9LVisbPV1tLWHlAnLapPw392w2bKlt7KpXdY95pyznJzEZiMYmcUXjMB7RxtzzSx53M3wmspYM4w/2flFQ1RFbuowTqmAClatkZX4H6VW/8uJWdnzMBLr1ANMB0nXp7Y+E4eitUgXcQlqhbf8WktorhCbztXMA2qgBFMP7mL7zgggniz08VWM1icPOWc9NxNusaxUKoxihJusRVMBWVd+zDxENhXRuAr3oM4ucOMJlhWmLKlqoc544WxLDyH78ag3kWBP48McpJDaughXfBic50KThUmpGkp4HC7C9BUJ/qeYO+N6jvxpy+evtDs3fKzj83yhJSQH1pnsKmTe5mIvBQ1oGKPxjbJjQTn4n9rKEnRNhvBpQAYGj5//pbDC9zKYZXEbZO4ZhU2RRJ743zdDq0Y+tYL6lhfveeVBmHMsm+p90eKIORRD5NvXUj5cMhJtZR0t2G7sE7xa15rwyve36ifj/Fv3ojVqN5biQ0Su5siAc+aDTHrhvhbwiZ/McG1WJWSTzlsxi7ONi7Rb2T/hy0Ad4xF7bGnSQiWSuJejuwJA4zTQfiB+FuJuxJav5m7j/QXWWgmxF/tx47Y= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO1PR11MB4930.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(52536014)(508600001)(8936002)(83380400001)(186003)(55016002)(26005)(38100700002)(122000001)(71200400001)(8676002)(66446008)(7696005)(5660300002)(38070700005)(6506007)(110136005)(54906003)(53546011)(86362001)(107886003)(2906002)(4326008)(66476007)(66556008)(64756008)(76116006)(9686003)(66946007)(316002)(33656002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?n6N7VWFlbSefmTdkMEqk06vB8XYuwYdvnv0xlgZqLEil5WW0Wx713G1LQusJ?= =?us-ascii?Q?8ZtBJmaYS6EYlR5TEdaJKCcDgdh9u9OjFW2g8gQknvQMPGNduEyaZgPVuren?= =?us-ascii?Q?kfnOuO+fCysEaKuG6YQC8mm+fvyQ834F/8GDSiJZinwwtbwffI8JPnoB/reA?= =?us-ascii?Q?VnyxOTkf6RJnNIf4sSIDiVASn0+XiQ5bKFV8Kg+hJ39b6FfxRsENW4UGtKbB?= =?us-ascii?Q?iZThx5Mt4gSFPcO96EzPq/ZCTGqHhJpnbMZi84i69vbWzwHnzmVK9AmEVWWc?= =?us-ascii?Q?yif+WfExv4PMYojqjypvEUWTxRfq6/Vzjo3/M2XtN3woqig/iKvDk0TjVJbn?= =?us-ascii?Q?zUv+MxvfeyYeajPwqDuAJll4sIF3qLmxG6Y3wslXQGSsjlPcIII8FVPMSyt+?= =?us-ascii?Q?hYEflkoSHTVhC1e+UWGcGaLGObT5U5OjKr4B+arOoPE6p0es5yKIUDB5OCtq?= =?us-ascii?Q?/ONwDwDxBrrrcwe8cNOu0Z0TrW+okSwMf94mwrtm0dFD9VpkbnVRkROIWKcM?= =?us-ascii?Q?QKIW8Bts0PKaXZU+E8FFk9yov2wo59NTyOmBCk+heIWv9ZZGrB3O3QHD+Z+7?= =?us-ascii?Q?y/5jgkWXSPuGsQGLZF0gGJdIFpmYcy/aBrDFDGHfYvYycw1cZQ1g5P/pKad0?= =?us-ascii?Q?hDgN6wXIBtBP9VwJ3NPO0K0uzBSMTI2AfA+HxRzK7J7/qtQGyfm3piiUHbq1?= =?us-ascii?Q?gONBSVGPSZWiPZnraLuktau8y4d/ebqh2oONy6F9ZuW16idxy88DvZmuN0sR?= =?us-ascii?Q?DaVRBLJLH54srEvmrG1laYb5wAFWTjmPx7/57aChWNZcp16VYB46matalT0d?= =?us-ascii?Q?givrGH8tHQdykWbaKJS5nHFuWjxKcBcv9ZYwVM3UYpZRChXVxUslSMQGrXs3?= =?us-ascii?Q?qs0R5X9zwfi/z+grJ5uztJrEyd5zMyQsyjQ97muWxGaIBB8NQ6BxQEXh9dp5?= =?us-ascii?Q?WqaCkCMiqmAQXZdTpWEGkyChZ5DY4KO0zctrwTNPMFhbkljducrmWJUCWzzT?= =?us-ascii?Q?XF327dVN3VUGOZJ9LtcN/FbJY8RMYvebYQSHhuIFLse05YgHhXT2TOpSgYkJ?= =?us-ascii?Q?5mzTZntSqWwZ+lX2MWMl9dfXQTaN0EHJbJEw3+qDfLXcOl37KtmdBRMYb0q8?= =?us-ascii?Q?PZcGgomzDWI3I2yTgvxT1D31lM4WJExtzTVCs6yPxxaaugE3ncebRAp/GDpc?= =?us-ascii?Q?rAqlxYLngaTg8RyTvC2aUljX5T0gKB/LZjRgDSv4nPX8sTRrBO5th7wnmP5A?= =?us-ascii?Q?vvD/CXCk67IXvLuPbn5sqLsZVZiMW1Xse0s+bSTIPfwM8oqmx8bGt+voyA/L?= =?us-ascii?Q?is6esEXPHohQAFKRCEJaIEve?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4930.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 657dc631-c825-441a-d0da-08d97754c251 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Sep 2021 07:53:36.9152 (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: 3nWCxTP9mb7XYICAsOgvfSYsJMYp+/Vq7Y5mTLSIoRHXKfE1M/a2Wpbn+WBxiOFZNVfh0lu5i754vnlBakwVYQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4697 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 Dun, I am curious, why ' gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport' doesn't c= ause build warning? It is referenced by "MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf" under "[= Components.X64]". Thanks, Ray > -----Original Message----- > From: Tan, Dun > Sent: Tuesday, September 14, 2021 3:39 PM > To: devel@edk2.groups.io > Cc: Dong, Guo ; Ni, Ray ; Ma, Mauri= ce ; You, Benjamin > > Subject: [PATCH] UefiPayloadPkg: Fix the warning when building UefiPayloa= dPkg with IA32+X64 >=20 > REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3603 >=20 > Move the unspecified PCDs from .common section. to .X64 section in .dsc f= ile. > The corresponding PCDs are not used in IA32. >=20 > Cc: Guo Dong > Cc: Ray Ni > Cc: Maurice Ma > Cc: Benjamin You >=20 > Signed-off-by: Dun Tan > --- > UefiPayloadPkg/UefiPayloadPkg.dsc | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) >=20 > diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPaylo= adPkg.dsc > index 9912f2a20f..9d7f311343 100644 > --- a/UefiPayloadPkg/UefiPayloadPkg.dsc > +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc > @@ -327,6 +327,11 @@ > gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2 > !endif >=20 > +[PcdsPatchableInModule.X64] > + gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|$(RTC_INDEX_REGISTER= ) > + gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|$(RTC_TARGET_REGIST= ER) > + gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE > + > [PcdsPatchableInModule.common] > gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x= 2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, > 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 } > gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7 > @@ -337,8 +342,6 @@ > gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F > !endif > gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|$(MAX_SIZE= _NON_POPULATE_CAPSULE) > - gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|$(RTC_INDEX_REGISTER= ) > - gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|$(RTC_TARGET_REGIST= ER) > # > # The following parameters are set by Library/PlatformHookLib > # > @@ -361,7 +364,6 @@ >=20 > gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICA= L_PROCESSORS) > gUefiCpuPkgTokenSpaceGuid.PcdCpuNumberOfReservedVariableMtrrs|0 > - gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE >=20 > ########################################################################= ######## > # > -- > 2.31.1.windows.1