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 26362941AA9 for ; Wed, 3 Jan 2024 13:59:08 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=+iu106eMqb97YB6TLDWDKUYDRck9x/mda3ZEut/6Oqo=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1704290346; v=1; b=iL+x6SRqyByXesIXIpoOdp5FE0+GMs7w8RZKZMsveAds95TdF/zbUuoEBqrM75RkFddhQwqR QffSzmhkuP/I0IWLL+iI0Cv56HbtGb7W8dQ7vvlE1LEwOllcg9kyegG3RD9hY+tMW7EUJgh+NJh o5TI/2q72biBhbsJfkR82dzw= X-Received: by 127.0.0.2 with SMTP id 1Qt6YY7687511xtNBpJfiqZO; Wed, 03 Jan 2024 05:59:06 -0800 X-Received: from mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.44]) by mx.groups.io with SMTP id smtpd.web11.17765.1704290346172605157 for ; Wed, 03 Jan 2024 05:59:06 -0800 X-Received: by mail-io1-f44.google.com with SMTP id ca18e2360f4ac-7ba84a3cc96so528360339f.3 for ; Wed, 03 Jan 2024 05:59:06 -0800 (PST) X-Gm-Message-State: WLHOPDIztTpcQybRa38GjPPhx7686176AA= X-Google-Smtp-Source: AGHT+IGk/KCG1Gap38Asf5A7BgRjg1vwQmXb19e2aZB5KSfUWotS30D+xdmAKFo6OxKAhXtZLbhTCg== X-Received: by 2002:a05:6602:2a54:b0:7bb:ba50:dd2f with SMTP id k20-20020a0566022a5400b007bbba50dd2fmr3343581iov.9.1704290344592; Wed, 03 Jan 2024 05:59:04 -0800 (PST) X-Received: from sunil-laptop.dc1.ventanamicro.com ([106.51.188.200]) by smtp.gmail.com with ESMTPSA id w6-20020a056638378600b0046dcaba1adesm1213393jal.62.2024.01.03.05.59.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 05:59:04 -0800 (PST) From: "Sunil V L" To: devel@edk2.groups.io Cc: Sunil V L , Liming Gao , Michael D Kinney , Zhiguang Liu , Andrei Warkentin Subject: [edk2-devel] [PATCH 1/4] MdePkg.dec: RISC-V: Define override bit for Sstc extension Date: Wed, 3 Jan 2024 19:28:46 +0530 Message-Id: <20240103135849.127251-2-sunilvl@ventanamicro.com> In-Reply-To: <20240103135849.127251-1-sunilvl@ventanamicro.com> References: <20240103135849.127251-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 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,sunilvl@ventanamicro.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=iL+x6SRq; dmarc=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 Define the BIT 1 as the override bit for Sstc extension. This will be used by the timer driver to decide whether to use SBI calls or direct CSR access to configure the timer. Cc: Liming Gao Cc: Michael D Kinney Cc: Zhiguang Liu Cc: Andrei Warkentin Signed-off-by: Sunil V L --- MdePkg/MdePkg.dec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index 2ee112cc087a..0459418906f8 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -2405,6 +2405,8 @@ [PcdsFixedAtBuild.RISCV64, PcdsPatchableInModule.RISCV64] # Configurability to override RISC-V CPU Features # BIT 0 = Cache Management Operations. This bit is relevant only if # previous stage has feature enabled and user wants to disable it. + # BIT 1 = Supervisor Time Compare (Sstc). This bit is relevant only if + # previous stage has feature enabled and user wants to disable it. # gEfiMdePkgTokenSpaceGuid.PcdRiscVFeatureOverride|0xFFFFFFFFFFFFFFFF|UINT64|0x69 -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113093): https://edk2.groups.io/g/devel/message/113093 Mute This Topic: https://groups.io/mt/103501838/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-