From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=s26mmpAf; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1649710723; bh=o/p7JKIPiSSXerv26LzlNJ2McfQ+DFpz1bbE+E2CtK8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=s26mmpAfUUPFI9bMtp0zBfLgn4nfirC2tzVMk/u4oGe09odJ2no2RXCvVH/WJx1EB Dsn+3tEMmpxaGN+Rqj0ajD4jTUkMNAY4FZG6F34T3jNFNH39HelpUc7mpMHCG1Xt/U MX4qL3PZ1o5rVw84kgYKfXYSDNiuqbJ+fkDXvcDc= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Liming Gao , Eric Dong Subject: [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> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20220411205813.2908-1-mikuback@linux.microsoft.com> References: <20220411205813.2908-1-mikuback@linux.microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 --- Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec b/Platform/= Intel/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|0x9= 0000025 gMinPlatformPkgTokenSpaceGuid.PcdFadtIaPcBootArch|0x0001|UINT16|0x9000= 0026 gMinPlatformPkgTokenSpaceGuid.PcdFadtFlags|0x000086A5|UINT32|0x9000002= 7 + # + # FADT Duty Offset - The zero-based index of where the processor's dut= y 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 settin= g value in the P_CNT + # register. Each processor's duty cycle setting allows the software to= select a nominal + # processor frequency below its absolute frequency. A duty width value= of zero indicates + # the processor continuously runs at its base frequency. + # + # For more details about how the frequency is calculated, refer to the= Fixed ACPI Description + # Table (FADT) section of the ACPI Specification. + # + gMinPlatformPkgTokenSpaceGuid.PcdFadtDutyWidth|0x00|UINT8|0x90000029 =20 gMinPlatformPkgTokenSpaceGuid.PcdPlatformEfiAcpiReclaimMemorySize|0x65= |UINT32|0x20000500 gMinPlatformPkgTokenSpaceGuid.PcdPlatformEfiAcpiNvsMemorySize|0x30|UIN= T32|0x20000501 --=20 2.28.0.windows.1