public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Michael D Kinney" <michael.d.kinney@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	"Chang, Abner" <abner.chang@hpe.com>,
	"Kinney, Michael D" <michael.d.kinney@intel.com>,
	"Ni, Ray" <ray.ni@intel.com>
Subject: Re: [edk2-devel] [PATCH 0/6] [RFC] Rework UefiCpuPkg
Date: Fri, 18 Mar 2022 16:46:31 +0000	[thread overview]
Message-ID: <SA2PR11MB4938C537334D65E9185F9FEAD2139@SA2PR11MB4938.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20220318054322.11520-1-abner.chang@hpe.com>

Hi Abner,

Will OpenSBI content be needed by libs/modules outside of UefiCpuPkg?

Should OpenSBI includes be promoted to MdePkg?

I do not think the dir name "RISC-V" follows the file/dir name requirements.
The '-' should not be used.

I think there is a discussion about moving UefiCpuLib to MdePkg.

Thanks,

Mike

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Abner Chang
> Sent: Thursday, March 17, 2022 10:43 PM
> To: devel@edk2.groups.io
> Cc: Chang, Abner <abner.chang@hpe.com>
> Subject: [edk2-devel] [PATCH 0/6] [RFC] Rework UefiCpuPkg
> 
> https://bugzilla.tianocore.org/show_bug.cgi?id=3860
> 
> This is the project having rework on UefiCpuPkg in order to support a variety
> of processor architectures. Some modules under UefiCpuPkg are required to be
> abstract for the different archs.
> 
> The first step is to classify UefiCpuPkg modules to IA32 and X64 sections in
> DSC file (Patch 1/6). Move the module to Common section later if more than one
> archs can leverage the same module (such as Patch 3/6 for BaseUefiCpuLib).
> 
> Abner Chang (6):
>   [RFC] UefiCpuPkg: Classify IA32/X64 modules in DSC file
>   [RFC] UefiCpuPkg/Include: Add header files of RISC-V processor
>     architecture
>   [RFC] UefiCpuPkg/BaseUefiCpuLib: Add RISC-V RISCV64 instace
>   [RFC] UefiCpuPkg/RiscVOpensbLib: Add opensbi submodule
>   [RFC] UefiCpuPkg/Library: Add RiscVOpensbiLib
>   [RFC] UefiCpuPkg: Update YAML file for RISC-V arch
> 
>  UefiCpuPkg/UefiCpuPkg.dec                     |  12 +-
>  UefiCpuPkg/UefiCpuPkg.dsc                     |  45 +++--
>  .../Library/BaseUefiCpuLib/BaseUefiCpuLib.inf |   8 +-
>  .../RiscVOpensbiLib/RiscVOpensbiLib.inf       |  89 ++++++++++
>  .../Include/IndustryStandard/RISC-V/RiscV.h   | 162 ++++++++++++++++++
>  .../IndustryStandard/RISC-V/RiscVOpensbi.h    |  62 +++++++
>  .../Include/Library/RISC-V/RiscVCpuLib.h      | 118 +++++++++++++
>  UefiCpuPkg/Include/RISC-V/OpensbiTypes.h      |  82 +++++++++
>  UefiCpuPkg/Include/RISC-V/RiscVImpl.h         |  87 ++++++++++
>  .gitmodules                                   |  45 ++---
>  BaseTools/Conf/tools_def.template             |   2 +-
>  .../Library/BaseUefiCpuLib/BaseUefiCpuLib.uni |   5 +-
>  .../Library/BaseUefiCpuLib/RISCV64/Cpu.S      | 143 ++++++++++++++++
>  .../Library/RISC-V/RiscVOpensbiLib/opensbi    |   1 +
>  UefiCpuPkg/UefiCpuPkg.ci.yaml                 |  61 ++++++-
>  15 files changed, 877 insertions(+), 45 deletions(-)
>  create mode 100644 UefiCpuPkg/Library/RISC-V/RiscVOpensbiLib/RiscVOpensbiLib.inf
>  create mode 100644 UefiCpuPkg/Include/IndustryStandard/RISC-V/RiscV.h
>  create mode 100644 UefiCpuPkg/Include/IndustryStandard/RISC-V/RiscVOpensbi.h
>  create mode 100644 UefiCpuPkg/Include/Library/RISC-V/RiscVCpuLib.h
>  create mode 100644 UefiCpuPkg/Include/RISC-V/OpensbiTypes.h
>  create mode 100644 UefiCpuPkg/Include/RISC-V/RiscVImpl.h
>  create mode 100644 UefiCpuPkg/Library/BaseUefiCpuLib/RISCV64/Cpu.S
>  create mode 160000 UefiCpuPkg/Library/RISC-V/RiscVOpensbiLib/opensbi
> 
> --
> 2.31.1
> 
> 
> 
> 
> 


  parent reply	other threads:[~2022-03-18 16:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-18  5:43 [PATCH 0/6] [RFC] Rework UefiCpuPkg Abner Chang
2022-03-18  5:43 ` [PATCH 1/6] [RFC] UefiCpuPkg: Classify IA32/X64 modules in DSC file Abner Chang
2022-03-18  5:43 ` [PATCH 2/6] [RFC] UefiCpuPkg/Include: Add header files of RISC-V processor architecture Abner Chang
2022-03-18  5:43 ` [PATCH 3/6] [RFC] UefiCpuPkg/BaseUefiCpuLib: Add RISC-V RISCV64 instace Abner Chang
2022-03-18  5:43 ` [PATCH 4/6] [RFC] UefiCpuPkg/RiscVOpensbLib: Add opensbi submodule Abner Chang
2022-03-18  5:43 ` [PATCH 5/6] [RFC] UefiCpuPkg/Library: Add RiscVOpensbiLib Abner Chang
2022-03-18  5:43 ` [PATCH 6/6] [RFC] UefiCpuPkg: Update YAML file for RISC-V arch Abner Chang
2022-03-18 16:46 ` Michael D Kinney [this message]
2022-03-19  2:05   ` [edk2-devel] [PATCH 0/6] [RFC] Rework UefiCpuPkg Abner Chang
2022-03-25  7:22     ` Abner Chang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SA2PR11MB4938C537334D65E9185F9FEAD2139@SA2PR11MB4938.namprd11.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox