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 A01B774004E for ; Wed, 13 Dec 2023 15:01:18 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=cC5Bh4RS/kysIF6OpttdwT3kQHOIdbxQttyxSSDZNJQ=; 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=1702479677; v=1; b=mmoc4pWdIAgTdIvei5/u2ahMEbH/4DqhCvmAHhYOI+SDGvRocVAQVuA7O/LgnB9N+z1td1b7 70pFux6EmqRee5TtsDcKAY8+aGYN6us+3uY+CJ3HHquNYjJjvxNsFp49R73msjOrd3/WaCz3VdG BCJBfi5KhtZOtSYBTcsU3Gmc= X-Received: by 127.0.0.2 with SMTP id iRG1YY7687511xOoP7lqFwAY; Wed, 13 Dec 2023 07:01:17 -0800 X-Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mx.groups.io with SMTP id smtpd.web11.37851.1702479676827538445 for ; Wed, 13 Dec 2023 07:01:16 -0800 X-Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-6cea5548eb2so6236256b3a.0 for ; Wed, 13 Dec 2023 07:01:16 -0800 (PST) X-Gm-Message-State: 4hofZozyLPgoasPqtQZvbKFQx7686176AA= X-Google-Smtp-Source: AGHT+IEmbmg4+RC+vDlA3s++kXTtso09ER/qrCptd/gEKXgknrZpE2+pPUorWpTh5DX3lx8JEsUUbA== X-Received: by 2002:a05:6a00:b53:b0:6ce:6c54:24a7 with SMTP id p19-20020a056a000b5300b006ce6c5424a7mr9287149pfo.1.1702479675746; Wed, 13 Dec 2023 07:01:15 -0800 (PST) X-Received: from dhaval.. ([171.76.83.136]) by smtp.gmail.com with ESMTPSA id s16-20020a62e710000000b006ce3bf7acc7sm9985388pfh.113.2023.12.13.07.01.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 07:01:14 -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 , Pedro Falcato Subject: [edk2-devel] [PATCH v10 5/5] OvmfPkg/RiscVVirt: Override for RISC-V CPU Features Date: Wed, 13 Dec 2023 20:29:31 +0530 Message-Id: <20231213145931.28307-6-dhaval@rivosinc.com> In-Reply-To: <20231213145931.28307-1-dhaval@rivosinc.com> References: <20231213145931.28307-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=mmoc4pWd; 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 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 Cc: Pedro Falcato Signed-off-by: Dhaval Sharma Acked-by: Laszlo Ersek Reviewed-by: Andrei Warkentin --- Notes: V10: - Only keep CMO feature bitmask bit to disabled. Unimplemented bits remain 1. 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..a050f1ffc1d4 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|0xFFFFFFFE=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 (#112483): https://edk2.groups.io/g/devel/message/112483 Mute This Topic: https://groups.io/mt/103150443/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-