From nobody Thu May 2 18:31:04 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+92451+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+92451+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1660602161; cv=none; d=zohomail.com; s=zohoarc; b=NLR8ruF1lvse4h5VXfX7Tov3Wn+J6/oRsoGuBauiJieValYyOYkKXZWmAYiFPdtlYwXQjyk93ok5tyDAa1+YL0DexH4DF0T854lxPS3z+jyIvefLVkPtCBGoTAu5nTk4Q88IZ7AJG1op5KRJMTvIvE0zYl6OtXtzcYhXnnQB6JA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1660602161; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=POVnMgqeuI6Jrf7d8w2+xch3QJOkN2dpb7W+fXazyoY=; b=eKngrA2xlqLHEc5AXzOZ2Mv687lnWid18BUeTsKIhs4/s+i1zv8jSUezj3fjdWA2tiVy+TUN7WQEHAg/ZNsaOf01abNt+bwMVq328YHkF04bQQnIirmZ/pUWiJH98IjOywjlPq5/Kb/dnhXI1yuoCymPASc4uv0+1tfITNP+Oqw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+92451+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1660602161288222.6077167039599; Mon, 15 Aug 2022 15:22:41 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id c1GtYY1788612xGNcSgE5dnK; Mon, 15 Aug 2022 15:22:41 -0700 X-Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web08.14330.1660552575721061037 for ; Mon, 15 Aug 2022 01:36:15 -0700 X-IronPort-AV: E=McAfee;i="6400,9594,10439"; a="293189430" X-IronPort-AV: E=Sophos;i="5.93,237,1654585200"; d="scan'208";a="293189430" X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Aug 2022 01:36:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,237,1654585200"; d="scan'208";a="666590558" X-Received: from aryehche-desk1.gar.corp.intel.com ([10.5.215.0]) by fmsmga008.fm.intel.com with ESMTP; 15 Aug 2022 01:36:13 -0700 From: aryeh.chen@intel.com To: devel@edk2.groups.io Cc: Aryeh Chen , Chasel Chiu , Nate DeSimone , Isaac Oram , Liming Gao , Eric Dong Subject: [edk2-devel] [PATCH v1] MinPlatformPkg: Add PcdAcpiGpe1BlockLength for FADT from board package Date: Mon, 15 Aug 2022 16:36:01 +0800 Message-Id: <20220815083601.1610-1-aryeh.chen@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,aryeh.chen@intel.com X-Gm-Message-State: E4c57I53QkAHQv09OAwWCPlOx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1660602161; bh=uiymvZ9rDWWwxVi+kvowKcfyXUoJ8akKc5fFGqimqCE=; h=Cc:Date:From:Reply-To:Subject:To; b=kEwdPNVrG1dxF6325/qpFfxr8rpeCEPijgqvQ2dDk4PeMiheCciwcuZC0Dkkygd3z5u IAPHDZzHMVDWtnz+POHEN47BH1SgI/yRsrNvdUaBDFSSZeDxWj/2E/+R8lg/m7EBTLSXp YNsdPyiNLBLnokZ7F9N5Q4xkBsJjnhkms0o= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1660602163099100008 Content-Type: text/plain; charset="utf-8" From: Aryeh Chen REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4020 Add PcdAcpiGpe1BlockLength of FADT Gpe1BlkLen register on MinPlatformPkg for PlatformBoardpkg to update platform setting. Signed-off-by: Aryeh Chen Cc: Chasel Chiu Cc: Nate DeSimone Cc: Isaac Oram Cc: Liming Gao Cc: Eric Dong Reviewed-by: Chasel Chiu --- 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(-) 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=20 + IN EFI_CPU_ID_ORDER_MAP *CpuApicIdOrderTable ) { EFI_STATUS Status; @@ -1111,6 +1111,7 @@ PlatformUpdateTables ( FadtHeader->Gpe0Blk =3D PcdGet16 (PcdAcpiGpe= 0BlockAddress); FadtHeader->Gpe0BlkLen =3D PcdGet8 (PcdAcpiGpe0= BlockLength); FadtHeader->Gpe1Blk =3D PcdGet16 (PcdAcpiGpe= 1BlockAddress); + FadtHeader->Gpe1BlkLen =3D PcdGet8 (PcdAcpiGpe1= BlockLength); FadtHeader->Gpe1Base =3D PcdGet8 (PcdAcpiGpe1= Base); =20 FadtHeader->XPm1aEvtBlk.Address =3D PcdGet16 (PcdAcpiPm1= AEventBlockAddress); 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.PcdAcpiXPm1bEvtBlkAccessSize diff --git a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec b/Platform/In= tel/MinPlatformPkg/MinPlatformPkg.dec index db0a19066f..8e603b7bf9 100644 --- a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec +++ b/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec @@ -123,6 +123,7 @@ gMinPlatformPkgTokenSpaceGuid.PcdAcpiGpe0BlockAddress|0x1880|UINT16|0x00= 01003B gMinPlatformPkgTokenSpaceGuid.PcdAcpiGpe0BlockLength|0x00|UINT8|0x000100= 3C gMinPlatformPkgTokenSpaceGuid.PcdAcpiGpe1BlockAddress|0x0000|UINT16|0x00= 01003D + gMinPlatformPkgTokenSpaceGuid.PcdAcpiGpe1BlockLength|0x00|UINT8|0x000100= 3E gMinPlatformPkgTokenSpaceGuid.PcdAcpiGpe1Base|0x00|UINT8|0x00010040 gMinPlatformPkgTokenSpaceGuid.PcdAcpiResetRegisterAccessSize|0x00|UINT8|= 0x00010042 =20 --=20 2.26.2.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#92451): https://edk2.groups.io/g/devel/message/92451 Mute This Topic: https://groups.io/mt/93042291/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-