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.web09.5723.1660586440741918370 for ; Mon, 15 Aug 2022 11:00:41 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=X2arHjBb; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: chasel.chiu@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660586440; x=1692122440; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=TsCtGJolenMcftD3TPGSpx2Gui0oMM1CvLS52+HRLVs=; b=X2arHjBbPtSgD+CCUvmgmGF3/BAVetAema1yEXw/HB6Ny++RaILtcGfg rzC/hS/oG4fv2x5ASOtQrPMgjkXCYEAFf6LYoXTL7dgU2OJkaGeJYdVat jn84GUKccdDp/VNMuR77xLolvl1Nv0BSia9Br8TjjqEfwKHLUqW5cMrCq jByzAS25URmIJvVBdYhiMTg4XkvxvDDZBnkNrjpH5XRah1Qz6DF/MGA2M QWgcNiZkxMWhmoKPRGik4D028ZcEehZfwD8vVvG17aM+9Gg5F/q73y5Lt rHy3lcWFEx5FscpYBgzHkYiyTbLIteH1XzqVWYCSPPDrNV7Q7k9JzkPem Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10440"; a="275079257" X-IronPort-AV: E=Sophos;i="5.93,238,1654585200"; d="scan'208";a="275079257" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Aug 2022 11:00:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,238,1654585200"; d="scan'208";a="557384347" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga003.jf.intel.com with ESMTP; 15 Aug 2022 11:00:40 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Mon, 15 Aug 2022 11:00:39 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Mon, 15 Aug 2022 11:00:39 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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.2375.28 via Frontend Transport; Mon, 15 Aug 2022 11:00:39 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.109) 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.2375.28; Mon, 15 Aug 2022 11:00:38 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bkGVcmotS7XyrhEWhBiT6mVVTeeX912XnR1UVciHeUNUEiE70eZbEfEyrmkGBvlvIUP9eBEbywxohU4ZZRYDvI5XFvvkB2+pn5XcNtQ5HXXVQG6T9/uuLHAe6zL9z0vJh7FAVR7cs0FFirVxURP58IoS3p7LR+acieZpdf/6y7wEvlZJXl1GcSroXqstdTh/zuX6IcqJCpk0Z5+cRHtVe/dZUce0qx+NEE9GIh1a/TG8dm7wwoki8X6sCgSEMtGIub94sB0iqlh7cNzxzsb/N+dVTHp8iNZlh9SSzep/bcbUhr+TBymafSL6ssmGn0pIxuUoJDVOjL3Q/SnoMM3IKg== 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=QIsSIrzfbEw0dGcOW4T2bd7LxK3J9OXJm4kqEHS68jc=; b=Yl3nIUuEuelpZeubhLyLV1jxAL6kJ2ZN8y64hLqsMOkg6xJBqbE+6W8eueS24+8pNDI4gG8vvOolVCKBv+U/rJDpCsRTdAid6iXWKNH43Lv79DRSdMNVOIzsJNwCKjJnR+Si0abyR7brYyGS+oL5tlqvTMHKIBn6SwR6MQ8HcK0UU3Y/IxMyNQfdF6GqwMbmkqLGyAmcSrCo0rIDmuypcibGSPidbnP0ZmYKY67lHKfmTUUUtWc599wMvWlzjjom2iIuZnM5Y4xjHOhCxSuUHWHlXQAfAa0ms4vG+zerc6XkWzY5J/E0yTNvt9aKSGN9941vf7UUfsT8yTt/2674Vw== 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 BN9PR11MB5483.namprd11.prod.outlook.com (2603:10b6:408:104::10) by DM5PR11MB1739.namprd11.prod.outlook.com (2603:10b6:3:111::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.22; Mon, 15 Aug 2022 18:00:31 +0000 Received: from BN9PR11MB5483.namprd11.prod.outlook.com ([fe80::d482:3ee0:a92b:bc39]) by BN9PR11MB5483.namprd11.prod.outlook.com ([fe80::d482:3ee0:a92b:bc39%5]) with mapi id 15.20.5504.028; Mon, 15 Aug 2022 18:00:33 +0000 From: "Chiu, Chasel" To: "Chen, Aryeh" , "devel@edk2.groups.io" CC: "Desimone, Nathaniel L" , "Oram, Isaac W" , "Gao, Liming" , "Dong, Eric" Subject: Re: [PATCH v1] MinPlatformPkg: Add PcdAcpiGpe1BlockLength for FADT from board package Thread-Topic: [PATCH v1] MinPlatformPkg: Add PcdAcpiGpe1BlockLength for FADT from board package Thread-Index: AQHYsIIZId9amdbVfEWfZmQM/u2x3a2wQKhg Date: Mon, 15 Aug 2022 18:00:33 +0000 Message-ID: References: <20220815083601.1610-1-aryeh.chen@intel.com> In-Reply-To: <20220815083601.1610-1-aryeh.chen@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.500.17 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: d1c51d12-ac41-46ef-543b-08da7ee80c92 x-ms-traffictypediagnostic: DM5PR11MB1739: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: Edo0LKF31ow+NcsOV/4nw7pF1amBhClWR1LtaQs6qEhDujvMfcrO9VRzjK88d4dvatD+xLrpZCUSOJtMc0Hr9becJYdCN77Q35SOZ2r+8VLrOU38vd7jE9rkGbd4H/0pwRVjmMxzKsvLyHUww+BPotTYlhIZJ9v8UCoisycYQ6DOcYsB0JEt2pIvOdkx90KvUi0vdpQbCffU/11GMLOUPNPpGmk6kYpnuQIjzi8clRBV3Hm9p4+QwAyaZC9pPyCrPx3wBT6FDPxLbxOF5QpHBdT9Rh2m+A98WhOLdPi2aJKM3+MeBvUZ0KV4Vb6A1yNvQ2KyhUwkodBXn/RBOXEp0Qn4vXz+1YU2BknM1tpLcMvlw3qpVP8Ricv3lY4r+CMp7GeaCifW6P1elc/Z55IcO1XSlkiyY63s11+speKKnw+pidMGa5+w+TOEEN2Kaw10/abh+AXaiTNm1wmt/bCLzNUtAALI7aPWC7iTwGuG+cIl/v6bsBU0Yyi3RVrVIZVXb0i76PaDQXdVpJznGBSNjDE9BotLcemG0QP3Exh0ecAcJudc3x/ROpiPjjr0Scc22UWKQ9NwwRipbu0vy21JUXYKr/yeFGCUy4ys8tHQltWsg2odpoCsFBRxk2+QZCIGwHLoyf1+BSJCRCT0+UQGUUE3o3p1Z2dim2yF8VI9hSw3lo30ZX8HIrIy2eua27VB0F5BjtT5TSnumV+7EQoqb0uTJv+6qHPfQQWvTqa/QGYfuZn7/DmIZLSoxEEbNzsKsxbFSk1B0IXrEwsQyNuJ2jMggKE9f9cgJijitx/xVSljWxgLIV0lS2Q3asDwh9aARKWFgMlybPjaFiz0ASosTA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN9PR11MB5483.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(396003)(136003)(366004)(39860400002)(346002)(376002)(316002)(54906003)(478600001)(110136005)(6506007)(41300700001)(19627235002)(966005)(33656002)(26005)(9686003)(7696005)(86362001)(53546011)(71200400001)(55016003)(66476007)(66946007)(64756008)(66556008)(76116006)(8936002)(8676002)(66446008)(4326008)(5660300002)(82960400001)(52536014)(186003)(2906002)(83380400001)(122000001)(38100700002)(38070700005)(107886003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?JulIndw+D0aKXcZMpvs+7u8Yqn8kgcBlN98zeDUiBrJS52SRj1I0ZLeTe52i?= =?us-ascii?Q?Ui6jCDMMx2RC+6ROOcPwKfVy30mhn3zQG2CODHZoPc3ENDLEbT4EXGSNBv0O?= =?us-ascii?Q?L4LmBIQU1DQ7/1BfxhQ+4FyzRYu2uAzM7lMuHuCQUmppFePFIEfRxB6ReeZT?= =?us-ascii?Q?/cb0XlmYwGhpp7qQk6aWGqN8Pf1AkCfzZNDxVlnT/afnGFmCgMBJXrR7NCxj?= =?us-ascii?Q?uKJRLy2bLkBK10nStZZcgjaGvhHCI034DPxqbprkgdL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LxmQ5cFpwqieqAnaeUPpl5bWGsIHzMtLYPnOxsyiJTvQxeV7H2?= =?us-ascii?Q?SMPlf7G69WoOZkcvGANxWGuKpSTOYvWTKc1yrm2WiOQ0iweZQ/xyoLsX/Zsc?= =?us-ascii?Q?A0fDyp/MiCuro5yK10unDxeY4P9Mn9mTyVTkG+3EcG+B2rjZt2Jfb5afuZy+?= =?us-ascii?Q?kN2Ngz2rg+2GQSPrM9fBlbBaS22sqKJ7gHEMf8W+I16ZepHTlxgi6sw+f1VR?= =?us-ascii?Q?ZPXu8Tv6ArHYNDczyYB09roe1UCJAKZ+9vZf5+JrZ3IzkVLoYVlRW0wDKUt+?= =?us-ascii?Q?Y6GqyMWQgMU2vWrWKxTrx1Fgs3ni+cGZuam+lipkp+zEQR5HIZKk1yI1MK8I?= =?us-ascii?Q?OfUqp8JID80yw2afIHRxkaJkU5WT7lI+vPqvvzy8msh+plPPMQ33FwaL9M2X?= =?us-ascii?Q?qDZuTRBQOcyLwi+gGKQ3sUO3b4xyPdICHmf/MPQi?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN9PR11MB5483.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d1c51d12-ac41-46ef-543b-08da7ee80c92 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Aug 2022 18:00:33.4150 (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: +BlvksBvy5YI6JGXYMf9A7iH0B+UV72RyjtTULRheoaC7q1tM4575bpM11i3apIpYwlk8gtbD7dvZAuWBIqwiQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1739 Return-Path: chasel.chiu@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Chasel Chiu > -----Original Message----- > From: Chen, Aryeh > Sent: Monday, August 15, 2022 1:36 AM > To: devel@edk2.groups.io > Cc: Chen, Aryeh ; Chiu, Chasel > ; Desimone, Nathaniel L > ; Oram, Isaac W ; > Gao, Liming ; Dong, Eric > Subject: [PATCH v1] MinPlatformPkg: Add PcdAcpiGpe1BlockLength for FADT > from board package >=20 > From: Aryeh Chen >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4020 >=20 > Add PcdAcpiGpe1BlockLength of FADT Gpe1BlkLen register on MinPlatformPkg > for PlatformBoardpkg to update platform setting. >=20 > Signed-off-by: Aryeh Chen > Cc: Chasel Chiu > Cc: Nate DeSimone > Cc: Isaac Oram > Cc: Liming Gao > Cc: Eric Dong > --- > Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c | 3 ++- > Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.inf | 1 + > Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec | 1 + > 3 files changed, 4 insertions(+), 1 deletion(-) >=20 > diff --git a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c > b/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c > index f134c8a58f..6e57b638e0 100644 > --- a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c > +++ b/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c > @@ -88,7 +88,7 @@ EFI_STATUS > AppendCpuMapTableEntry ( IN VOID *ApicPtr, IN UINT32 > LocalApicCounter,- IN EFI_CPU_ID_ORDER_MAP *CpuApicIdOrderTable + I= N > EFI_CPU_ID_ORDER_MAP *CpuApicIdOrderTable ) { EFI_STATUS Status;@@ > -1111,6 +1111,7 @@ PlatformUpdateTables ( > FadtHeader->Gpe0Blk =3D PcdGet16 (PcdAcpiG= pe0BlockAddress); > FadtHeader->Gpe0BlkLen =3D PcdGet8 (PcdAcpiGpe0Blo= ckLength); > FadtHeader->Gpe1Blk =3D PcdGet16 (PcdAcpiGpe1Bl= ockAddress);+ > FadtHeader->Gpe1BlkLen =3D PcdGet8 (PcdAcpiGpe1Blo= ckLength); > FadtHeader->Gpe1Base =3D PcdGet8 (PcdAcpiGpe1Bas= e); > FadtHeader->XPm1aEvtBlk.Address =3D PcdGet16 > (PcdAcpiPm1AEventBlockAddress);diff --git > a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.inf > b/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.inf > index 89350828d6..451034fb8a 100644 > --- a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.inf > +++ b/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.inf > @@ -84,6 +84,7 @@ > gMinPlatformPkgTokenSpaceGuid.PcdAcpiGpe0BlockAddress > gMinPlatformPkgTokenSpaceGuid.PcdAcpiGpe0BlockLength > gMinPlatformPkgTokenSpaceGuid.PcdAcpiGpe1BlockAddress+ > gMinPlatformPkgTokenSpaceGuid.PcdAcpiGpe1BlockLength > gMinPlatformPkgTokenSpaceGuid.PcdAcpiResetRegisterAccessSize > gMinPlatformPkgTokenSpaceGuid.PcdAcpiXPm1aEvtBlkAccessSize > gMinPlatformPkgTokenSpaceGuid.PcdAcpiXPm1bEvtBlkAccessSizediff --git > a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec > b/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec > index db0a19066f..8e603b7bf9 100644 > --- a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec > +++ b/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec > @@ -123,6 +123,7 @@ >=20 > gMinPlatformPkgTokenSpaceGuid.PcdAcpiGpe0BlockAddress|0x1880|UINT16|0 > x0001003B > gMinPlatformPkgTokenSpaceGuid.PcdAcpiGpe0BlockLength|0x00|UINT8|0x000 > 1003C > gMinPlatformPkgTokenSpaceGuid.PcdAcpiGpe1BlockAddress|0x0000|UINT16|0 > x0001003D+ > gMinPlatformPkgTokenSpaceGuid.PcdAcpiGpe1BlockLength|0x00|UINT8|0x000 > 1003E > gMinPlatformPkgTokenSpaceGuid.PcdAcpiGpe1Base|0x00|UINT8|0x00010040 > gMinPlatformPkgTokenSpaceGuid.PcdAcpiResetRegisterAccessSize|0x00|UINT8 > |0x00010042 -- > 2.26.2.windows.1