From nobody Sat Feb 7 09:46:47 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+83744+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+83744+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1636948560; cv=none; d=zohomail.com; s=zohoarc; b=L0A7riOmgqEEJy0xz1Up3AiyCzGGMSbLyg2qGVRSL+G1Ax/qreFbEYNaKJViG4NQjtr+YEonIQrA1+XxIBDOA2Smwm7hNGo8iqWqQ1TFG9+zmNFRXtdjLt01bX7VGj+vS0CQR3mDYdqxMu3H0If5DlK3TAwzaO2hUbMpph+C4LI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1636948560; 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=jX+jLNO6Hc2czkwaGGuy9w8djj4NeSb6a8OY2Kn97xM=; b=mX633c6Os/E2YSVrJXbNHy1uYmXfHlkWhCGZ4fXpcnmivambtqDjBttQ9QoTJJjEJl0EJLNbgAiGtSwR9xW6hEt8tBQMP0XWW1LYELS0tjHRibGafXKsF4axx3K3UNCuvqfrVSqvZPZZ9jKtEeoE1eyMY76Uink4ZBIUoJTlqH4= 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+83744+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 1636948560628151.27220157060117; Sun, 14 Nov 2021 19:56:00 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id nR98YY1788612xdO0MSJUtAH; Sun, 14 Nov 2021 19:56:00 -0800 X-Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web08.18246.1636948556860411929 for ; Sun, 14 Nov 2021 19:55:56 -0800 X-Received: from pps.filterd (m0150242.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1AEIkvQt015938; Mon, 15 Nov 2021 03:55:55 GMT X-Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27]) by mx0a-002e3701.pphosted.com with ESMTP id 3caq0jpnyb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 15 Nov 2021 03:55:55 +0000 X-Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2354.austin.hpe.com (Postfix) with ESMTP id 5DF9381; Mon, 15 Nov 2021 03:55:54 +0000 (UTC) X-Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id 45D0C39; Mon, 15 Nov 2021 03:55:53 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Daniel Schaefer , Sunil V L Subject: [edk2-devel] [edk2-platforms][PATCH 08/14] RiscVPlatformPkg/U500: U500 uses mtime CSR library Date: Mon, 15 Nov 2021 10:56:34 +0800 Message-Id: <20211115025640.12897-9-abner.chang@hpe.com> In-Reply-To: <20211115025640.12897-1-abner.chang@hpe.com> References: <20211115025640.12897-1-abner.chang@hpe.com> MIME-Version: 1.0 X-Proofpoint-GUID: GPzU7Sk9bih8LwR9mnfO04OclYeyTUxa X-Proofpoint-ORIG-GUID: GPzU7Sk9bih8LwR9mnfO04OclYeyTUxa X-HPE-SCL: -1 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,abner.chang@hpe.com X-Gm-Message-State: sbNY75I3Bfs5uPxRoAo9Bs2gx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1636948560; bh=VV9qpkfrQEFOX6vNskbdY2d/B3x7H+eIkjdGH4AF1ds=; h=Cc:Date:From:Reply-To:Subject:To; b=u4/p9DylMFjX1RxP7nHzAIgJYrIrVi4yPanHDUPj2mzby1Zr5CI4AQScPseg3X7uOUD R+cALGHx8cyGKRqV0bjOxQmYUpzxqU/eS+z6c+RAkPX73VNs5dv/0hbU35qoaGhDm5j8V 4IzSgelEcnM+q0AF4dMT60aOtlz3yGKgvko= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1636948561507100034 Content-Type: text/plain; charset="utf-8" Use mtime CSR library interface to access mtime CSR in Timer DXE driver. Signed-off-by: Abner Chang Cc: Daniel Schaefer Cc: Sunil V L --- Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc b/P= latform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc index 9c9a676de5..587f1dfa62 100644 --- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc +++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc @@ -147,6 +147,7 @@ RiscVCpuLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVCpuLib/RiscVCpuLib.= inf RiscVEdk2SbiLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVEdk2SbiLib/Risc= VEdk2SbiLib.inf RiscVPlatformTimerLib|Platform/SiFive/U5SeriesPkg/Library/RiscVPlatformT= imerLib/RiscVPlatformTimerLib.inf + MachineModeTimerLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVReadMachine= ModeTimer/EmulatedMachineModeTimerLib/EmulatedMachineModeTimerLib.inf CpuExceptionHandlerLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVExceptio= nLib/CpuExceptionHandlerDxeLib.inf =20 # Flattened Device Tree (FDT) access library --=20 2.31.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 (#83744): https://edk2.groups.io/g/devel/message/83744 Mute This Topic: https://groups.io/mt/87062620/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-