From nobody Sat Feb 7 09:46:33 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+83743+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+83743+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1636948560; cv=none; d=zohomail.com; s=zohoarc; b=jy0Gbzqtjn4Z9i2+ULe5XQ/4c+mgbD16Az1Rczc3hqwH1qUt2smc7fjdMnmrJj+zPL0Jvmj+CHZCP1TAOpF8Vuu1HgvKirWB5eigw0DlawRpQPY/CudLCyQJTpatwFkG+Qhi8Jagv063TDSW9cj1CL+crEHkydUqCEOWRZMfsE4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1636948560; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=lAv5LCEbBEtI5dUA0RXKV3a7O1TeWwcvR7Y1vlEzps0=; b=D8zH6QW8fPLNKF5wHRJ4s3cOVxNGAxyHlRt4B7ol+imU7zxwCjh/iGlwWw3CKgFLvCLL4VhpSBv0oehrFLzIQECbkAuT7KhVCPAp0jeQPa5G7txnxI9T/pHrOOqiWtkIkjDpD+XEIyi8uXFBdhd3rNIDo9tPtpUePoRdWVfk430= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+83743+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1636948560227978.2600621267168; Sun, 14 Nov 2021 19:56:00 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id A7YNYY1788612x78Nxr7dzm9; Sun, 14 Nov 2021 19:55:59 -0800 X-Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web12.18149.1636948552954208823 for ; Sun, 14 Nov 2021 19:55:55 -0800 X-Received: from pps.filterd (m0134424.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1AELU01p002751; Mon, 15 Nov 2021 03:55:52 GMT X-Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) by mx0b-002e3701.pphosted.com with ESMTP id 3ca4bsusgu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 15 Nov 2021 03:55:52 +0000 X-Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2353.austin.hpe.com (Postfix) with ESMTP id 7B8C46D; Mon, 15 Nov 2021 03:55:51 +0000 (UTC) X-Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id 63CD136; Mon, 15 Nov 2021 03:55:50 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Daniel Schaefer , Sunil V L Subject: [edk2-devel] [edk2-platforms][PATCH 06/14] RiscVPlatformPkg/U500: Uses RISC-V PeiCoreEntryPoint library Date: Mon, 15 Nov 2021 10:56:32 +0800 Message-Id: <20211115025640.12897-7-abner.chang@hpe.com> In-Reply-To: <20211115025640.12897-1-abner.chang@hpe.com> References: <20211115025640.12897-1-abner.chang@hpe.com> MIME-Version: 1.0 X-Proofpoint-GUID: zP7IyhbfzhyDzFvW77cHXJdtr4IczoAT X-Proofpoint-ORIG-GUID: zP7IyhbfzhyDzFvW77cHXJdtr4IczoAT X-HPE-SCL: -1 Precedence: Bulk List-Unsubscribe: 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,abner.chang@hpe.com X-Gm-Message-State: bX0Awkz8to9Q1wDhC6F5u6C4x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1636948559; bh=dhrI5pWnxdohGHYAqCDa9Ms6Ztfkdx31Fb2u6e4DwY0=; h=Cc:Date:From:Reply-To:Subject:To; b=E5otc0zfDqkCliuS51pL87ZAbPHNLQlj5sO3UI/R9pJBXzg6KpiCvTSULgh7gmL2pMq 5YHnqdFAXGPUIJG653nzu2Q1BsCydBe/Qk2cU2InNY32Zlr+2jQA9R35vbT8Sh09TYxKD RfdCRNj3slB2+5uB2nwgiZ/IH8elLdWm93M= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1636948561353100029 Content-Type: text/plain; charset="utf-8" 1. Use RISC-V PeiCoreEntryPoint library instance for opensbi to switch to the next phase with arg0 as HART Id and arg1 as the SEC to PEI handoff data. 2. Introduce EDK2 opensbi platform operation functions. With this, OEM can has its won platform initialization code before and/or after opensbi vendor platform functions. Signed-off-by: Abner Chang Cc: Daniel Schaefer Cc: Sunil V L --- Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc b/P= latform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc index fb1b5b5d22..398da5238c 100644 --- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc +++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc @@ -190,6 +190,8 @@ DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf !endif PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf + # RISC-V platform PEI core entry point. + PeiCoreEntryPoint|Platform/RISC-V/PlatformPkg/Library/PeiCoreEntryPoint/= PeiCoreEntryPoint.inf =20 [LibraryClasses.common.PEIM] HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf --=20 2.31.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#83743): https://edk2.groups.io/g/devel/message/83743 Mute This Topic: https://groups.io/mt/87062618/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-