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 EA2E4AC0E8D for ; Mon, 4 Dec 2023 08:31:17 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=gSipBd7ZcWdbQ7OafOwsoU59HU6AEnzAdcV8XZmte3o=; 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=1701678676; v=1; b=AkCBASToa47kIBakdsO0xSr+ephj73lasSBhMvem2uMXL2BpZ3TYTMCIAF37ifHqwlh8U7kz f57F5PSPQ5WWUoJqFd2Q/bxVFM2hLbpgPzRN/MDzdnF2zRqBt0nEJifT7WO8k+JFVpd3m/FYFEu swa77lZ7zdUqmVWAJgmK8cIw= X-Received: by 127.0.0.2 with SMTP id WxaoYY7687511xGhoS3vUgBN; Mon, 04 Dec 2023 00:31:16 -0800 X-Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mx.groups.io with SMTP id smtpd.web10.65030.1701678675926102405 for ; Mon, 04 Dec 2023 00:31:15 -0800 X-Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1d04c097e34so20223285ad.0 for ; Mon, 04 Dec 2023 00:31:15 -0800 (PST) X-Gm-Message-State: sUhOs6qKqyEnoStNvZqpGp5xx7686176AA= X-Google-Smtp-Source: AGHT+IELjKpY0nBtJXaTNd1YdrX+1RNYcJLYXuaMPtceKCNJw6EhCu1heMr8Nw3XzeyYC93w2oB79Q== X-Received: by 2002:a17:902:f802:b0:1d0:44f7:b877 with SMTP id ix2-20020a170902f80200b001d044f7b877mr3506844plb.18.1701678675119; Mon, 04 Dec 2023 00:31:15 -0800 (PST) X-Received: from dhaval.blr.rivosinc.com ([49.249.129.34]) by smtp.gmail.com with ESMTPSA id h21-20020a170902f7d500b001d058ad8770sm5754211plw.306.2023.12.04.00.31.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 00:31: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 Subject: [edk2-devel] [PATCH v9 5/5] OvmfPkg/RiscVVirt: Override for RV CPU Features Date: Mon, 4 Dec 2023 13:59:50 +0530 Message-Id: <20231204082950.96914-6-dhaval@rivosinc.com> In-Reply-To: <20231204082950.96914-1-dhaval@rivosinc.com> References: <20231204082950.96914-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=AkCBASTo; 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 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 (#112023): https://edk2.groups.io/g/devel/message/112023 Mute This Topic: https://groups.io/mt/102967059/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-