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 A340AD801EA for ; Mon, 8 Jan 2024 11:37:04 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=3IHLjnbb5nb4ciGogfQnCOVDhNpkuRhf4GzNipGLgvY=; 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=1704713823; v=1; b=rNRRWXfyBQt9px4+OQax9tue6aqHQpEqHrQ+cAqPcz3Bs2msdQBVncxiYVb62AZoxYyctp4c qXeU6wRKQ9xl+frhV/OqdJKrMXPbjcVW5HswTwMmE+9l24w66fErbDonktp/qSrVZ41p9zKg8eJ v7b+0yIpGMVctqFbXg86g/7s= X-Received: by 127.0.0.2 with SMTP id 5D9oYY7687511xqxkNuayQeM; Mon, 08 Jan 2024 03:37:03 -0800 X-Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mx.groups.io with SMTP id smtpd.web11.4717.1704713822834207695 for ; Mon, 08 Jan 2024 03:37:02 -0800 X-Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-6dad22e13dcso681864b3a.3 for ; Mon, 08 Jan 2024 03:37:02 -0800 (PST) X-Gm-Message-State: is6R0IQ9uwtFy7oloJsGiIm5x7686176AA= X-Google-Smtp-Source: AGHT+IGtK/MA6oV+J7LeBTTYPnB4U2kr/A1ToyPvE7qGH7M4DQIwcAyISfv6ZmWcBSoqa3RLUc5j8A== X-Received: by 2002:a05:6a00:3a24:b0:6d9:d71c:d1a3 with SMTP id fj36-20020a056a003a2400b006d9d71cd1a3mr1084253pfb.66.1704713821372; Mon, 08 Jan 2024 03:37:01 -0800 (PST) X-Received: from localhost.localdomain ([106.51.188.200]) by smtp.gmail.com with ESMTPSA id i12-20020aa787cc000000b006d9af59eecesm5846618pfo.20.2024.01.08.03.36.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 03:37:00 -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 v2 1/4] MdePkg.dec: RISC-V: Define override bit for Sstc extension Date: Mon, 8 Jan 2024 17:06:47 +0530 Message-Id: <20240108113650.454940-2-sunilvl@ventanamicro.com> In-Reply-To: <20240108113650.454940-1-sunilvl@ventanamicro.com> References: <20240108113650.454940-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=rNRRWXfy; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=none 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 (#113382): https://edk2.groups.io/g/devel/message/113382 Mute This Topic: https://groups.io/mt/103595208/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-