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 E9D85D800C4 for ; Mon, 6 Nov 2023 02:56:06 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Q+feyeuwULwPhkf9JzeG7K8Qe6xtlY1ITY42e0nNkDk=; 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=1699239365; v=1; b=WTPhOaAat0bJ82h9+fkOlVY+juQDh6G9hhsBan9IShBjQXo9XzpEccI8AAjJ8+2I2vqWEf3m 3CIlJ5YF2BVmTz1b0X6BzwcIqpxC53e7Vi5AoUvH0Os6djBl15tqPi6KdhwYn67zWmsej3Maqtr fnTTn2sau9ck/gcMmqdkNs6A= X-Received: by 127.0.0.2 with SMTP id sAPjYY7687511xLw8iODjfEc; Sun, 05 Nov 2023 18:56:05 -0800 X-Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mx.groups.io with SMTP id smtpd.web11.46039.1699239365068016008 for ; Sun, 05 Nov 2023 18:56:05 -0800 X-Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6b5e6301a19so4104727b3a.0 for ; Sun, 05 Nov 2023 18:56:04 -0800 (PST) X-Gm-Message-State: LdW9XTIZB7UcBLy65BsS8Qxmx7686176AA= X-Google-Smtp-Source: AGHT+IE8m6pu1GApzKWuCIFypZ6qADzYiEJgkjcO3M6TcZ42Xj1997KnjrR8fi7MWHOM1S8orZHaVA== X-Received: by 2002:a05:6a00:cd1:b0:6c3:44e2:3e96 with SMTP id b17-20020a056a000cd100b006c344e23e96mr13150180pfv.27.1699239364157; Sun, 05 Nov 2023 18:56:04 -0800 (PST) X-Received: from dhaval.. ([171.76.87.118]) by smtp.gmail.com with ESMTPSA id fa16-20020a056a002d1000b0068fece2c190sm2679724pfb.70.2023.11.05.18.56.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 18:56:03 -0800 (PST) From: "Dhaval Sharma" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Jiewen Yao , Jordan Justen , Gerd Hoffmann , Sunil V L , Andrei Warkentin , Laszlo Ersek Subject: [edk2-devel] [PATCH v8 5/5] OvmfPkg/RiscVVirt: Override for RV CPU Features Date: Mon, 6 Nov 2023 08:23:56 +0530 Message-Id: <20231106025356.167717-6-dhaval@rivosinc.com> In-Reply-To: <20231106025356.167717-1-dhaval@rivosinc.com> References: <20231106025356.167717-1-dhaval@rivosinc.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,dhaval@rivosinc.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: 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=WTPhOaAa; 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 This PCD provides a way for platform to override any HW features that are default enabled by previous stages of FW (like OpenSBI). For the case where previous/prev stage has disabled the feature, this override is not useful and its usage should be avoided. Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Sunil V L Cc: Andrei Warkentin Cc: Laszlo Ersek Signed-off-by: Dhaval Sharma Acked-by: Laszlo Ersek Reviewed-by: Andrei Warkentin --- Notes: V8: - Added RV tag V7: - Added RB tag v6: - Modify PCD name according to changes made in Baselib implementation V5: - Introduce PCD for platform OvmfPkg/RiscVVirt/RiscVVirt.dsc.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/OvmfPkg/RiscVVirt/RiscVVirt.dsc.inc b/OvmfPkg/RiscVVirt/RiscVV= irt.dsc.inc index fe320525153f..5d66f7fe6ae6 100644 --- a/OvmfPkg/RiscVVirt/RiscVVirt.dsc.inc +++ b/OvmfPkg/RiscVVirt/RiscVVirt.dsc.inc @@ -203,6 +203,7 @@ [PcdsFeatureFlag] gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE=0D =0D [PcdsFixedAtBuild.common]=0D + gEfiMdePkgTokenSpaceGuid.PcdRiscVFeatureOverride|0=0D gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000=0D gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000=0D gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0=0D --=20 2.39.2 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#110702): https://edk2.groups.io/g/devel/message/110702 Mute This Topic: https://groups.io/mt/102413488/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-