From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 98666740038 for ; Fri, 5 Jan 2024 19:10:55 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=gIYl2UEnePRf72ua7GZVGzmthK6GhOpI1/Wk1TZ27cU=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding; s=20140610; t=1704481854; v=1; b=sntF3JszB8X1moBO3w1rQMdxKqKmNzxW8KiH8ZcHt2lQ1yMWdxq/qYUOGyA8LO/Kqfh1b7fD t89DxoFktp9JQyORSWz3JV7MLHdpTLinFRzmYebfxiCOlijiMCbc6H95Kibb8R5AW0NwwBi/qHK iYZXLkOZDlwFSvEJzwZ8jDvg= X-Received: by 127.0.0.2 with SMTP id QrLSYY7687511xXVRtCRcokp; Fri, 05 Jan 2024 11:10:54 -0800 X-Received: from mail-vs1-f53.google.com (mail-vs1-f53.google.com [209.85.217.53]) by mx.groups.io with SMTP id smtpd.web11.31968.1704481853579394481 for ; Fri, 05 Jan 2024 11:10:53 -0800 X-Received: by mail-vs1-f53.google.com with SMTP id ada2fe7eead31-4678c4e51a5so432587137.0 for ; Fri, 05 Jan 2024 11:10:53 -0800 (PST) X-Gm-Message-State: mEc3IAZqLchj88YbgDXzucrtx7686176AA= X-Google-Smtp-Source: AGHT+IHFteDvn9EmHrEN7nXm5cTszDXMFJtBH4+wq67a9E0+0E+dElnmMWh9nahza1ZEF4SSJ7Rjv17iekhHq/5rtpg= X-Received: by 2002:a67:e68f:0:b0:467:add7:6334 with SMTP id hv15-20020a67e68f000000b00467add76334mr2671723vsb.31.1704481852163; Fri, 05 Jan 2024 11:10:52 -0800 (PST) MIME-Version: 1.0 References: <20240103135849.127251-1-sunilvl@ventanamicro.com> In-Reply-To: <20240103135849.127251-1-sunilvl@ventanamicro.com> From: "Pedro Falcato" Date: Fri, 5 Jan 2024 19:10:40 +0000 Message-ID: Subject: Re: [edk2-devel] [PATCH 0/4] RISC-V: Add support for Sstc extension To: devel@edk2.groups.io, sunilvl@ventanamicro.com Cc: Andrei Warkentin , Ard Biesheuvel , Gerd Hoffmann , Jiewen Yao , Laszlo Ersek , Rahul Kumar , Ray Ni , Michael D Kinney , Liming Gao , Zhiguang Liu Precedence: Bulk 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,pedro.falcato@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=sntF3Jsz; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io On Wed, Jan 3, 2024 at 1:59=E2=80=AFPM Sunil V L = wrote: > > This series adds the support for RISV-V Sstc extension in EDK2 timer nit: RISC-V > implementation. Sstc extension allows S-mode software to program the > timer directly without using SBI calls. > > Currently, PCD variable is used to detect whether feature is enabled. By > default the feature is enabled and platforms need to set the PCD to > disable the feature if Sstc is not supported. > > For RiscVVirtQemu, it is disabled by default (until extension discovery > feature is enabled). I'm curious, what do you want Sstc for? Is the performance difference measurable (if so, please post numbers, and add them to the commit)? Does it have any other advantages? --=20 Pedro -=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 (#113315): https://edk2.groups.io/g/devel/message/113315 Mute This Topic: https://groups.io/mt/103501836/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-