From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by mx.groups.io with SMTP id smtpd.web11.19.1589218741656383929 for ; Mon, 11 May 2020 10:39:02 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=seA3HWte; spf=pass (domain: nuviainc.com, ip: 209.85.128.68, mailfrom: leif@nuviainc.com) Received: by mail-wm1-f68.google.com with SMTP id f134so6770554wmf.1 for ; Mon, 11 May 2020 10:39:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=kagK8OFjuajUmSO4a+uMjURYsTWm+lB8my6x6blFk+I=; b=seA3HWtef4ohCJl2psIIDyjV+u0SxjeR2TqdHtHKmXCGUKC+sqy/PALdPhGcJHXT1A PJTur2CMjCd8j3n1Hp7WJw8m4pyVeZ4aqEhOz4JYQVart/ozVHVaAHNXeBdljVrv6wpH oCmsF0d7ZpjNwRnls7t1GFgsVG+ut0SQl0hlg8Mn4hXrOZgtkeljL5DJW8XOUjGeqOc4 rLgJE0YvKIz7w8BSxXnE4SPhEKxm6+hfkRPNe5rv0rRqFXr1wRjRs2FcFqGpWj2kftFg cgtyCMD7wj55w4g4hM8fYPnQR5A9vpJxbUAuhytLal9FuxNGWTAvT+Y02ZpG/XRYeGAA W+vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=kagK8OFjuajUmSO4a+uMjURYsTWm+lB8my6x6blFk+I=; b=ljk5iMPymP8DEl1XBOX+1HKTg9C5aJwTflYo1W8ItqwCEDAVNpsPBUM4uxV2FvRTAD H4tluFJfUY5DeY1dVPHlDBpHA5SkYMgTTf7rIJug4YwSgmUhoxggyhgdIg2YbxIAahJn nZiAPfkeRecnXRMHElMOsAmsJ4S8QggiNsW6qSTSE+o0vO8KBpaNFl1m7He2/RtbkVLg YOSDv3+EPxx+v0wUNOZSrQ1ujo/o+YOJJ1MDPayODXwjzxIkx11mFjiYHCia3lp2Fb/L rMWugC0zzuPXFUxqDRh+zOFhasEk4fnBClJs6uY1q1a9dDS/Br9Xhj690YYP2xZvs6pB jFBA== X-Gm-Message-State: AGi0Pub+u/zUhG3f3fl6mDjgeUfcpTNVTVQhhvd1N0I497MedKhyShCy /iZCTPESxyqdPZxmRMrIWj0+cQ== X-Google-Smtp-Source: APiQypLNu4iEQ91+z+GbLbAWc2SbVY+cImZ/+BB5lVUSXih7B2RR1v/jA4RXp33Gzz9eUI5VdoL00g== X-Received: by 2002:a7b:c38e:: with SMTP id s14mr30629474wmj.12.1589218740205; Mon, 11 May 2020 10:39:00 -0700 (PDT) Return-Path: Received: from vanye ([2001:470:1f09:12f0:b26e:bfff:fea9:f1b8]) by smtp.gmail.com with ESMTPSA id 94sm4087514wrf.74.2020.05.11.10.38.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 10:38:59 -0700 (PDT) Date: Mon, 11 May 2020 18:38:57 +0100 From: "Leif Lindholm" To: Daniel Schaefer Cc: devel@edk2.groups.io, Gilbert Chen , Abner Chang , Michael D Kinney Subject: Re: [platform/devel-riscvplatforms PATCHv1 0/2] New RISC-V patches Message-ID: <20200511173857.GV21486@vanye> References: <20200511172015.5139-1-daniel.schaefer@hpe.com> MIME-Version: 1.0 In-Reply-To: <20200511172015.5139-1-daniel.schaefer@hpe.com> User-Agent: Mutt/1.10.1 (2018-07-13) Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, May 11, 2020 at 19:20:13 +0200, Daniel Schaefer wrote: > We have moved most of our RISC-V implementation to edk2-platforms now, only the > absolute minimum is in edk2, already merged. > All other patches going into edk2-platforms have already been merged, these are new. Please be explicit on what has been merged to edk2/edk2-platforms and what has been merged to edk2-staging/edk2-platforms-devel. > The first adds opensbi as a submodule. We wanted to have it reviewed because it > would be the first submodule in the edk2-platforms repository. Is that okay? I have no objection to submodules in edk2-platforms, although this will be the first one. Just remember to call this out explicitly in any instructions. / Leif > Since we are now running PEI in addition to DXE in S-Mode (like Ring 3 in x86), > we need to call into the SBI interface. The new library provides an interface > for EDK2 code to do that. It just wraps the ecall assembly instruction as a C > interface with EDK2-style return codes. > > Cc: Gilbert Chen > Cc: Abner Chang > Cc: Leif Lindholm > Cc: Michael D Kinney > > Daniel Schaefer (2): > ProcessorPkg/RiscVOpensbLlib: Add submodule opensbi > ProcessorPkg/Library: Add EDK2 RISC-V OpenSBI library. > > Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf | 60 +++++++++++++++ > Silicon/RISC-V/ProcessorPkg/Include/IndustryStandard/RiscVOpensbi.h | 79 ++++++++++++++++++++ > Silicon/RISC-V/ProcessorPkg/Include/OpensbiTypes.h | 66 ++++++++++++++++ > .gitmodules | 3 + > Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/opensbi | 1 + > 5 files changed, 209 insertions(+) > create mode 100644 Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf > create mode 100644 Silicon/RISC-V/ProcessorPkg/Include/IndustryStandard/RiscVOpensbi.h > create mode 100644 Silicon/RISC-V/ProcessorPkg/Include/OpensbiTypes.h > create mode 100644 .gitmodules > create mode 160000 Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/opensbi > > -- > 2.26.1 >