From nobody Tue Feb 10 19:14:51 2026 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+93266+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+93266+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1662484150; cv=none; d=zohomail.com; s=zohoarc; b=NyosKjD/dEeFaBv6dnUFFF+cQH07OpFx/I70b7l0kx6LdNDrlG+HHzPPcp/fqcEZ1g5B0A3mobJh0XbU3DV2yVOjklmRZWY1PPCic+/U0Nv9iFf8lxhj1wj13VHTS1HK36cAau4+7Sehcd/nRzBgK6pTlz07iwohuysn7cPPPMo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1662484150; 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=8fZd6KQ7BFmYwQApap7pFp3bHzEcJ1Dl/VgzwTP5itQ=; b=P4JBiB40BTGK5jsJqM7f6J07iRg9Wgfppfswu6ibKwU+azHzKPBne3j5ET1xMwbVwcK/WuoehzVULRBdlGixDa4OHjIXNQ3ioUVtZl9wlnIWoiJsQcKzX2X+FH5haEJFEB/zWR/Wf90+hb+c9YTdbrS2hwci/41SdqNcaHgtitg= 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+93266+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1662484150543582.4458742560302; Tue, 6 Sep 2022 10:09:10 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id IablYY1788612x8e8tdw58pr; Tue, 06 Sep 2022 10:09:10 -0700 X-Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mx.groups.io with SMTP id smtpd.web08.1927.1662484149702268190 for ; Tue, 06 Sep 2022 10:09:09 -0700 X-Received: by mail-pl1-f181.google.com with SMTP id io18so3234510plb.10 for ; Tue, 06 Sep 2022 10:09:09 -0700 (PDT) X-Gm-Message-State: QSto2KGzx47CFN9pRkOYC3A9x1787277AA= X-Google-Smtp-Source: AA6agR4k9ClgM/HW/VZ9vJrWux6rT5jYhdoe7uQ2W3G1zGLWdUGkHdiZvFV4qQWIh8BLRJE09oWjgw== X-Received: by 2002:a17:902:a409:b0:176:a717:4d5d with SMTP id p9-20020a170902a40900b00176a7174d5dmr11518418plq.148.1662484149073; Tue, 06 Sep 2022 10:09:09 -0700 (PDT) X-Received: from localhost.localdomain ([49.206.11.92]) by smtp.gmail.com with ESMTPSA id b17-20020a170903229100b00176be258f41sm3806567plh.91.2022.09.06.10.09.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 10:09:08 -0700 (PDT) From: "Sunil V L" To: devel@edk2.groups.io Cc: Jian J Wang , Liming Gao , Eric Dong , Ray Ni , Rahul Kumar , Debkumar De , Catharine West , Daniel Schaefer , Abner Chang , Leif Lindholm , Ard Biesheuvel , Heinrich Schuchardt , Anup Patel , Sunil V L Subject: [edk2-devel] [RFC PATCH 05/17] UefiCpuPkg.dec: Add PCD variable for RISC-V Date: Tue, 6 Sep 2022 22:38:25 +0530 Message-Id: <20220906170837.491525-6-sunilvl@ventanamicro.com> In-Reply-To: <20220906170837.491525-1-sunilvl@ventanamicro.com> References: <20220906170837.491525-1-sunilvl@ventanamicro.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,sunilvl@ventanamicro.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1662484150; bh=RSVr8LtjPilr0Y49xoT7O89+D75lkKKZX/BitSSOt+k=; h=Cc:Date:From:Reply-To:Subject:To; b=o9ZsNZfdEqTbZcEI+xKhHkoT6xoaVjWtCz6aNdc97Bfv9eIsOrsPIgsoFw/hCoJj2mZ J+UokA06Ul82Gs9mxtR5IP9HKrP3FuufhGdm4JTy6r+fl5y/0ZCFH3nsvib6PA3Pg6Dxw NdXSOKzJnTxmkdhHl7qEBeuJecqSar49cx0= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1662484150873100001 Content-Type: text/plain; charset="utf-8" RISC-V platforms need PCD variable to indicate the mtimer frequency which will be consumed by CpuDxe and TimerLib. Signed-off-by: Sunil V L --- UefiCpuPkg/UefiCpuPkg.dec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg/UefiCpuPkg.dec index 718323d904..5e94bde5fe 100644 --- a/UefiCpuPkg/UefiCpuPkg.dec +++ b/UefiCpuPkg/UefiCpuPkg.dec @@ -350,6 +350,9 @@ # @Prompt Access to non-SMRAM memory is restricted to reserved, runtime = and ACPI NVS type after SmmReadyToLock. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmRestrictedMemoryAccess|TRUE|BOOLEAN|0= x3213210F =20 +[PcdsFixedAtBuild.RISCV64] + gUefiCpuPkgTokenSpaceGuid.PcdRiscVTimerFrequencyInHz|0|UINT32|0x50000000 + [PcdsDynamic, PcdsDynamicEx] ## Contains the pointer to a CPU S3 data buffer of structure ACPI_CPU_DA= TA. # @Prompt The pointer to a CPU S3 data buffer. --=20 2.25.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 (#93266): https://edk2.groups.io/g/devel/message/93266 Mute This Topic: https://groups.io/mt/93506281/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-