From nobody Thu May 16 12:38:40 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+88722+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+88722+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linux.microsoft.com ARC-Seal: i=1; a=rsa-sha256; t=1649710724; cv=none; d=zohomail.com; s=zohoarc; b=K24jOurCVnLbrjJQAULnFyHkz20UVV08m5R9zlFA+ASLvz8ZddUYyRpwdSPsQ0QpafRFjP+PY1uNsdeagbiux9efQtV19UV5F2l3oFM937vREDNDFNxZ9kyAOpL6v9RoSC1sFBW75z7praIUCCVo8EkI+MEzMSxXTqxya/mHtWw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1649710724; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=/Uitq6yyJcmzprYFV510JhfbNrBlm2hqaaDMUppuv74=; b=AUWN92xesFqunzXgsm3uu3yKbkP0eGsfqcwsCUCSnsVJQEE37dzT/TBNkCDM6w0BYEVmaX2GWYjm5u9m4I6SCf3FvSKrheig3zZLPWX+1JOJGO4Czl6ZoRQOc79Nyp25TUr41H+E8e+QMWKzHmabTDLEEX7xDy0yneim+2jZcVg= 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+88722+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 1649710724658499.41170334938624; Mon, 11 Apr 2022 13:58:44 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id smrXYY1788612xryd8Z3mnrx; Mon, 11 Apr 2022 13:58:44 -0700 X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web12.2915.1649710723529608635 for ; Mon, 11 Apr 2022 13:58:43 -0700 X-Received: from localhost.localdomain (unknown [47.201.46.36]) by linux.microsoft.com (Postfix) with ESMTPSA id 412A520B9CF0; Mon, 11 Apr 2022 13:58:42 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 412A520B9CF0 From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Liming Gao , Eric Dong Subject: [edk2-devel] [edk2-platforms][PATCH v1 1/3] MinPlatformPkg: Add FADT duty offset and duty width PCDs Date: Mon, 11 Apr 2022 16:58:11 -0400 Message-Id: <20220411205813.2908-2-mikuback@linux.microsoft.com> In-Reply-To: <20220411205813.2908-1-mikuback@linux.microsoft.com> References: <20220411205813.2908-1-mikuback@linux.microsoft.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,mikuback@linux.microsoft.com X-Gm-Message-State: O5wiUC3m3dgxYgYFcHcoq2Aax1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1649710724; bh=N9cQ3GVwOwjXlwCGUlLPDUGwvBZTjN7L4OH3OYWqwTA=; h=Cc:Date:From:Reply-To:Subject:To; b=J/KlmpRy211YdxzAFOsbO0aRjiShD2uhh72aRJYE6mOXjAFAJqFJ4gF3izaruaCTf29 KpuQrimIu6GoBK3ofkBHSQDuqdSA9tG6xmrgBfaOc/vUxrx3GZYq04vKSxlkn2rMJThMb 5QCVElKMXilH1MrhuqRTVNrB580RcsTdPbk= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1649710725987100001 Content-Type: text/plain; charset="utf-8" From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3543 Adds new PCDs to allow the duty width and duty offset values in the FADT to be customized during package integration. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Liming Gao Cc: Eric Dong Signed-off-by: Michael Kubacki Reviewed-by: Ankit Sinha Reviewed-by: Nate DeSimone --- Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec b/Platform/In= tel/MinPlatformPkg/MinPlatformPkg.dec index e38617ce20fd..22f371ee1ec8 100644 --- a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec +++ b/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec @@ -115,6 +115,21 @@ [PcdsFixedAtBuild, PcdsPatchableInModule] gMinPlatformPkgTokenSpaceGuid.PcdFadtPreferredPmProfile|0x02|UINT8|0x900= 00025 gMinPlatformPkgTokenSpaceGuid.PcdFadtIaPcBootArch|0x0001|UINT16|0x900000= 26 gMinPlatformPkgTokenSpaceGuid.PcdFadtFlags|0x000086A5|UINT32|0x90000027 + # + # FADT Duty Offset - The zero-based index of where the processor's duty = cycle + # setting is within the processor's P_CNT register. + # + gMinPlatformPkgTokenSpaceGuid.PcdFadtDutyOffset|0x01|UINT8|0x90000028 + # + # FADT Duty Width - The bit width of the processor's duty cycle setting = value in the P_CNT + # register. Each processor's duty cycle setting allows the software to s= elect a nominal + # processor frequency below its absolute frequency. A duty width value o= f zero indicates + # the processor continuously runs at its base frequency. + # + # For more details about how the frequency is calculated, refer to the F= ixed ACPI Description + # Table (FADT) section of the ACPI Specification. + # + gMinPlatformPkgTokenSpaceGuid.PcdFadtDutyWidth|0x00|UINT8|0x90000029 =20 gMinPlatformPkgTokenSpaceGuid.PcdPlatformEfiAcpiReclaimMemorySize|0x65|U= INT32|0x20000500 gMinPlatformPkgTokenSpaceGuid.PcdPlatformEfiAcpiNvsMemorySize|0x30|UINT3= 2|0x20000501 --=20 2.28.0.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 (#88722): https://edk2.groups.io/g/devel/message/88722 Mute This Topic: https://groups.io/mt/90405220/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- From nobody Thu May 16 12:38:40 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+88723+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+88723+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linux.microsoft.com ARC-Seal: i=1; a=rsa-sha256; t=1649710727; cv=none; d=zohomail.com; s=zohoarc; b=HVV0Kj1g0AXppVJxM7fmf4CiGZnZeXjCqSAyHPvbqA7OgJsRA6O1H+UKraCKP1qMNG5Xat2bmt6CfjfIUy3RVt6t2hSsKgaPBSQF98AHd/h7ul06NqTsNmz/HVmGpRgF3wjXKOYDgFnN+J1nYHv2oO7DsO9ey3aZkx/mqESSvD4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1649710727; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=T/FqvkocQ/6FmqvRUAawbAnNRaxlyPqYjilVVWXvI88=; b=D/yB1dORen9LY2YH5AGlugscbElMV87TewzuzpH4ibiq6MG0om6iRpmToakJJKCMoXjqIRl5oYi5SCLmxUG8ugRjmbND2YMJrOPTmObtqnYx+YMZCYgKXSsZDCREDEJV9z3Az3qwgFegNp5vtFe7ODdMZ2Ja4nwkoOCAlHHq+qA= 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+88723+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 164971072772349.974785335601155; Mon, 11 Apr 2022 13:58:47 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id ug4IYY1788612xIbhYt0363O; Mon, 11 Apr 2022 13:58:47 -0700 X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web09.2892.1649710726266624238 for ; Mon, 11 Apr 2022 13:58:46 -0700 X-Received: from localhost.localdomain (unknown [47.201.46.36]) by linux.microsoft.com (Postfix) with ESMTPSA id 3F49F209DDA2; Mon, 11 Apr 2022 13:58:45 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 3F49F209DDA2 From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Liming Gao , Eric Dong Subject: [edk2-devel] [edk2-platforms][PATCH v1 2/3] MinPlatformPkg/AcpiPlatform: Use FADT duty offset and width PCDs Date: Mon, 11 Apr 2022 16:58:12 -0400 Message-Id: <20220411205813.2908-3-mikuback@linux.microsoft.com> In-Reply-To: <20220411205813.2908-1-mikuback@linux.microsoft.com> References: <20220411205813.2908-1-mikuback@linux.microsoft.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,mikuback@linux.microsoft.com X-Gm-Message-State: SR5xfQROCHzkMPpFGCoxUKSux1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1649710727; bh=gIi3Fn1+Voxq7hwniaF8f82D6PmzAAp+r9sMGi7mmWU=; h=Cc:Date:From:Reply-To:Subject:To; b=bjzXFcf8QkUd6rBV8Z2K4zqcXVf4NE+Rtp+7vJbrlbhGv4eU39JeUv0J38O6NAsv4P+ oB/ecMrT5Q8jetXwMWSCYHkrK6w/GpoClUbXBbrYOd8JvWNDBSqi8wnDB62iDVaDa1a/0 H+g38YZNdNWusPJ8k84XRufowKUaHMhc2Zo= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1649710729869100007 Content-Type: text/plain; charset="utf-8" From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3543 Updates the FADT DUTY_OFFSET and DUTY_WIDTH values during boot in the function PlatformUpdateTables() along with other previously updated values in the FADT. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Liming Gao Cc: Eric Dong Signed-off-by: Michael Kubacki Reviewed-by: Ankit Sinha Reviewed-by: Nate DeSimone --- Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c | 3 +++ Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/Fadt/Fadt.c | 4 ++-- Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.inf | 2 ++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c b= /Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c index 05fc7799fb13..508de9101306 100644 --- a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c +++ b/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c @@ -1226,6 +1226,9 @@ PlatformUpdateTables ( FadtHeader->XGpe1Blk.AccessSize =3D 0; } =20 + FadtHeader->DutyOffset =3D PcdGet8 (PcdFadtDutyOffset); + FadtHeader->DutyWidth =3D PcdGet8 (PcdFadtDutyWidth); + DEBUG ((DEBUG_INFO, "ACPI FADT table @ address 0x%x\n", Table)); DEBUG ((DEBUG_INFO, " IaPcBootArch 0x%x\n", FadtHeader->IaPcBootArch)= ); DEBUG ((DEBUG_INFO, " Flags 0x%x\n", FadtHeader->Flags)); diff --git a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/Fadt/Fadt.c b/Pl= atform/Intel/MinPlatformPkg/Acpi/AcpiTables/Fadt/Fadt.c index 3418e960972f..70b769b84693 100644 --- a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/Fadt/Fadt.c +++ b/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/Fadt/Fadt.c @@ -35,8 +35,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #define EFI_ACPI_P_LVL3_LAT 0x03E9 // 1001 #define EFI_ACPI_FLUSH_SIZE 0x0000 #define EFI_ACPI_FLUSH_STRIDE 0x0000 -#define EFI_ACPI_DUTY_OFFSET 0x01 -#define EFI_ACPI_DUTY_WIDTH 0x00 +#define EFI_ACPI_DUTY_OFFSET 0x00 // To be fixed during boot +#define EFI_ACPI_DUTY_WIDTH 0x00 // To be fixed during boot =20 #define EFI_ACPI_DAY_ALRM 0x0D #define EFI_ACPI_MON_ALRM 0x00 diff --git a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.inf= b/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.inf index 99adf9c381c9..59ef5e2e544e 100644 --- a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.inf +++ b/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.inf @@ -64,6 +64,8 @@ [Pcd] gMinPlatformPkgTokenSpaceGuid.PcdFadtPreferredPmProfile gMinPlatformPkgTokenSpaceGuid.PcdFadtIaPcBootArch gMinPlatformPkgTokenSpaceGuid.PcdFadtFlags + gMinPlatformPkgTokenSpaceGuid.PcdFadtDutyOffset + gMinPlatformPkgTokenSpaceGuid.PcdFadtDutyWidth =20 gPcAtChipsetPkgTokenSpaceGuid.PcdHpetBaseAddress gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress --=20 2.28.0.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 (#88723): https://edk2.groups.io/g/devel/message/88723 Mute This Topic: https://groups.io/mt/90405222/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- From nobody Thu May 16 12:38:40 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+88724+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+88724+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linux.microsoft.com ARC-Seal: i=1; a=rsa-sha256; t=1649710731; cv=none; d=zohomail.com; s=zohoarc; b=R7eB+BOK3SjKaj7X28EXHKSPaMW6JGBDATxRUM/DC+MxOIXombbohDdSkl8KWWtzIt9vKISORGZHeagiWHaFFsqbuBEs5YEuI2usKxIf7m8JS7Vgpwkv7Qt0QajKA8UFtRYJWBwWpryPdcX/MnONgduU4umjT0BLqOzSAGJmV9s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1649710731; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=YDLrkt4KTbZzaYzuynZYIsw2uCzxltz9vBTCR8ARRf4=; b=TgneJNB3BVLLqjp2HxoFeKNBrXJ5ewkvXPAD+KGo1aHg0ATVb4I3AxqpsiUVrltNxES/2cQp4T43N0i5+eOyehIaChiMQIJUGjDm/IdL1YrEPgFZYoWSYDOGc4nFj4DTy4FROlKqMKKpBvm8GCNClnF5MLxGpePJn5QWOVscJu8= 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+88724+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 1649710731300736.2912588358308; Mon, 11 Apr 2022 13:58:51 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id gskqYY1788612xltLPOqQeeJ; Mon, 11 Apr 2022 13:58:50 -0700 X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web09.2894.1649710729998419155 for ; Mon, 11 Apr 2022 13:58:50 -0700 X-Received: from localhost.localdomain (unknown [47.201.46.36]) by linux.microsoft.com (Postfix) with ESMTPSA id 20B3D209F585; Mon, 11 Apr 2022 13:58:49 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 20B3D209F585 From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Nate DeSimone Subject: [edk2-devel] [edk2-platforms][PATCH v1 3/3] SimicsOpenBoardPkg/AcpiPlatform: Use FADT duty offset and width PCDs Date: Mon, 11 Apr 2022 16:58:13 -0400 Message-Id: <20220411205813.2908-4-mikuback@linux.microsoft.com> In-Reply-To: <20220411205813.2908-1-mikuback@linux.microsoft.com> References: <20220411205813.2908-1-mikuback@linux.microsoft.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,mikuback@linux.microsoft.com X-Gm-Message-State: 7H21n4KHOxjtQF7rSXXDHBI2x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1649710730; bh=IWBHAWNJMAE0azwxFHnisEfeK7bVQzfZTyf51YKY/UY=; h=Cc:Date:From:Reply-To:Subject:To; b=I6nCdPRwQS7B16MzLh7/f86YhMIqBz9RZPyLHkG3B0eZcTGWAHRTwEZQDBqynkwmh5n KIE0Gy47K93ek51VU/r5nj/ahKC8WUtI4MOXruwFOPolkgX29YwZTZQX/UOYwECYizENq eV7peWurGLhEZJ/FLWqhY6fW0T+7Cn6khyQ= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1649710731855100009 Content-Type: text/plain; charset="utf-8" From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3543 Updates the FADT DUTY_OFFSET and DUTY_WIDTH values during boot in the function PlatformUpdateTables() along with other previously updated values in the FADT. Cc: Nate DeSimone Signed-off-by: Michael Kubacki Reviewed-by: Ankit Sinha Reviewed-by: Nate DeSimone --- Platform/Intel/SimicsOpenBoardPkg/AcpiTables/MinPlatformAcpiTables/AcpiPla= tform.c | 3 +++ Platform/Intel/SimicsOpenBoardPkg/AcpiTables/MinPlatformAcpiTables/Fadt/Fa= dt.c | 4 ++-- Platform/Intel/SimicsOpenBoardPkg/AcpiTables/MinPlatformAcpiTables/AcpiPla= tform.inf | 2 ++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Platform/Intel/SimicsOpenBoardPkg/AcpiTables/MinPlatformAcpiTa= bles/AcpiPlatform.c b/Platform/Intel/SimicsOpenBoardPkg/AcpiTables/MinPlatf= ormAcpiTables/AcpiPlatform.c index 1edac89240fa..b06119f5eae7 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/AcpiTables/MinPlatformAcpiTables/Ac= piPlatform.c +++ b/Platform/Intel/SimicsOpenBoardPkg/AcpiTables/MinPlatformAcpiTables/Ac= piPlatform.c @@ -1328,6 +1328,9 @@ PlatformUpdateTables ( FadtHeader->XGpe1Blk.AccessSize =3D 0; } =20 + FadtHeader->DutyOffset =3D PcdGet8 (PcdFadtDutyOffset); + FadtHeader->DutyWidth =3D PcdGet8 (PcdFadtDutyWidth); + DEBUG(( EFI_D_ERROR, "ACPI FADT table @ address 0x%x\n", Table )); DEBUG(( EFI_D_ERROR, " IaPcBootArch 0x%x\n", FadtHeader->IaPcBootArch= )); DEBUG(( EFI_D_ERROR, " Flags 0x%x\n", FadtHeader->Flags )); diff --git a/Platform/Intel/SimicsOpenBoardPkg/AcpiTables/MinPlatformAcpiTa= bles/Fadt/Fadt.c b/Platform/Intel/SimicsOpenBoardPkg/AcpiTables/MinPlatform= AcpiTables/Fadt/Fadt.c index d1fe98e24bc7..652f1f2e87af 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/AcpiTables/MinPlatformAcpiTables/Fa= dt/Fadt.c +++ b/Platform/Intel/SimicsOpenBoardPkg/AcpiTables/MinPlatformAcpiTables/Fa= dt/Fadt.c @@ -34,8 +34,8 @@ #define EFI_ACPI_P_LVL3_LAT 0x03E9 // 1001 #define EFI_ACPI_FLUSH_SIZE 0x0000 #define EFI_ACPI_FLUSH_STRIDE 0x0000 -#define EFI_ACPI_DUTY_OFFSET 0x01 -#define EFI_ACPI_DUTY_WIDTH 0x00 +#define EFI_ACPI_DUTY_OFFSET 0x00 // To be fixed during boot +#define EFI_ACPI_DUTY_WIDTH 0x00 // To be fixed during boot =20 #define EFI_ACPI_DAY_ALRM 0x0D #define EFI_ACPI_MON_ALRM 0x00 diff --git a/Platform/Intel/SimicsOpenBoardPkg/AcpiTables/MinPlatformAcpiTa= bles/AcpiPlatform.inf b/Platform/Intel/SimicsOpenBoardPkg/AcpiTables/MinPla= tformAcpiTables/AcpiPlatform.inf index 7dfd0832a308..c6198fb76307 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/AcpiTables/MinPlatformAcpiTables/Ac= piPlatform.inf +++ b/Platform/Intel/SimicsOpenBoardPkg/AcpiTables/MinPlatformAcpiTables/Ac= piPlatform.inf @@ -61,6 +61,8 @@ [Pcd] gMinPlatformPkgTokenSpaceGuid.PcdFadtPreferredPmProfile gMinPlatformPkgTokenSpaceGuid.PcdFadtIaPcBootArch gMinPlatformPkgTokenSpaceGuid.PcdFadtFlags + gMinPlatformPkgTokenSpaceGuid.PcdFadtDutyOffset + gMinPlatformPkgTokenSpaceGuid.PcdFadtDutyWidth =20 gPcAtChipsetPkgTokenSpaceGuid.PcdHpetBaseAddress gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress --=20 2.28.0.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 (#88724): https://edk2.groups.io/g/devel/message/88724 Mute This Topic: https://groups.io/mt/90405227/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-