public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Wu, Hao A" <hao.a.wu@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	"abner.chang@hpe.com" <abner.chang@hpe.com>
Cc: "Chen, Gilbert" <gilbert.chen@hpe.com>,
	Leif Lindholm <leif.lindholm@linaro.org>,
	"Gao, Liming" <liming.gao@intel.com>
Subject: Re: [edk2-devel] [PATCH v1 2/3] MdeModulePkg/CapsuleRuntimeDxe: Add RISCV64 arch.
Date: Mon, 20 Apr 2020 05:39:53 +0000	[thread overview]
Message-ID: <B80AF82E9BFB8E4FBD8C89DA810C6A093C9EBCF0@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <TU4PR8401MB042993A8CB7B4A8FD61335A9FFD40@TU4PR8401MB0429.NAMPRD84.PROD.OUTLOOK.COM>

> -----Original Message-----
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> Abner Chang
> Sent: Monday, April 20, 2020 1:38 PM
> To: devel@edk2.groups.io; Wu, Hao A
> Cc: Chen, Gilbert; Leif Lindholm; Gao, Liming
> Subject: Re: [edk2-devel] [PATCH v1 2/3]
> MdeModulePkg/CapsuleRuntimeDxe: Add RISCV64 arch.
> 
> 
> 
> > -----Original Message-----
> > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> > Wu, Hao A
> > Sent: Monday, April 20, 2020 1:24 PM
> > To: devel@edk2.groups.io; Chang, Abner (HPS SW/FW Technologist)
> > <abner.chang@hpe.com>
> > Cc: Chen, Gilbert <gilbert.chen@hpe.com>; Leif Lindholm
> > <leif.lindholm@linaro.org>; Gao, Liming <liming.gao@intel.com>
> > Subject: Re: [edk2-devel] [PATCH v1 2/3]
> > MdeModulePkg/CapsuleRuntimeDxe: Add RISCV64 arch.
> >
> > > -----Original Message-----
> > > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf
> Of
> > > Chang, Abner (HPS SW/FW Technologist)
> > > Sent: Friday, April 10, 2020 3:26 PM
> > > To: devel@edk2.groups.io
> > > Cc: Chang, Abner (HPS SW/FW Technologist); Chen, Gilbert; Leif
> > > Lindholm; Wu, Hao A; Gao, Liming
> > > Subject: [edk2-devel] [PATCH v1 2/3]
> MdeModulePkg/CapsuleRuntimeDxe:
> > > Add RISCV64 arch.
> > >
> > > Add RISC-V in INF for building CapsuleRuntimeDxe RISCV64 image.
> > >
> > > Signed-off-by: Abner Chang <abner.chang@hpe.com>
> > > Co-authored-by: Gilbert Chen <gilbert.chen@hpe.com>
> > > Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
> > >
> > > Cc: Hao A Wu <hao.a.wu@intel.com>
> > > Cc: Liming Gao <liming.gao@intel.com>
> > > Cc: Leif Lindholm <leif.lindholm@linaro.org>
> > > Cc: Gilbert Chen <gilbert.chen@hpe.com>
> > > ---
> > >  .../Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf    | 9 +++++----
> > >  1 file changed, 5 insertions(+), 4 deletions(-)
> > >
> > > diff --git
> > > a/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
> > > b/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
> > > index 942eda235c..8bf5035a69 100644
> > > ---
> > a/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
> > > +++
> > > b/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
> > > @@ -5,6 +5,7 @@
> > >  #  the capsule runtime services are ready.
> > >  #
> > >  #  Copyright (c) 2006 - 2020, Intel Corporation. All rights
> > > reserved.<BR>
> > > +#  Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All
> > > +rights
> > > reserved.<BR>
> > >  #  SPDX-License-Identifier: BSD-2-Clause-Patent  #  ## @@ -21,20
> > > +22,20 @@  #  # The following information is for reference only and
> > > not required by the build tools.
> > >  #
> > > -#  VALID_ARCHITECTURES           = IA32 X64 EBC ARM AARCH64
> > > +#  VALID_ARCHITECTURES           = IA32 X64 EBC ARM AARCH64 RISCV64
> > >  #
> > >
> > >  [Sources]
> > >    CapsuleService.c
> > >    CapsuleService.h
> > >
> > > -[Sources.Ia32, Sources.EBC, Sources.ARM, Sources.AARCH64]
> > > +[Sources.Ia32, Sources.EBC, Sources.ARM, Sources.AARCH64,
> > > Sources.RISCV64]
> > >    SaveLongModeContext.c
> > >
> > > -[Sources.Ia32, Sources.X64, Sources.ARM, Sources.AARCH64]
> > > +[Sources.Ia32, Sources.X64, Sources.ARM, Sources.AARCH64,
> > > Sources.RISCV64]
> > >    CapsuleCache.c
> > >
> > > -[Sources.Ia32, Sources.X64, Sources.EBC]
> > > +[Sources.Ia32, Sources.X64, Sources.EBC, Sources.RISCV64]
> > >    CapsuleReset.c
> >
> >
> > Hello Abner,
> >
> > Sorry for the delayed response.
> > I saw you added the new arch under sections:
> > [Sources.Ia32, Sources.EBC, Sources.ARM, Sources.AARCH64]
> [Sources.Ia32,
> > Sources.X64, Sources.ARM, Sources.AARCH64] [Sources.Ia32, Sources.X64,
> > Sources.EBC]
> >
> > How about the below section? It is not needed, right?
> > [Sources.X64]
> No, we don't need [Sources.X64] for architecture specific
> saveLongModeContext implementation.
> thanks


Got it, thanks for the explanation.
Acked-by: Hao A Wu <hao.a.wu@intel.com>

Best Regards,
Hao Wu


> 
> >
> > Best Regards,
> > Hao Wu
> >
> >
> > >
> > >  [Sources.ARM, Sources.AARCH64]
> > > --
> > > 2.25.0
> > >
> > >
> > >
> >
> >
> >
> 
> 
> 


      reply	other threads:[~2020-04-20  5:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-10  7:25 [PATCH v1 0/3] MdeModulePkg changes for RISC-V edk2 port Abner Chang
2020-04-10  7:25 ` [PATCH v1 1/3] MdeModulePkg/Logo Abner Chang
2020-04-10  7:25 ` [PATCH v1 2/3] MdeModulePkg/CapsuleRuntimeDxe: Add RISCV64 arch Abner Chang
2020-04-10  7:25 ` [PATCH v1 3/3] MdeModulePkg/DxeIplPeim : RISC-V platform level DxeIPL Abner Chang
2020-04-26 14:44   ` [edk2-devel] " Dandan Bi
2020-04-26 15:26     ` Abner Chang
     [not found] ` <160466A5E76BAF01.10131@groups.io>
2020-04-15 12:41   ` [edk2-devel] [PATCH v1 1/3] MdeModulePkg/Logo Gao, Zhichao
     [not found] ` <160466A642D4443D.7555@groups.io>
2020-04-20  5:23   ` [edk2-devel] [PATCH v1 2/3] MdeModulePkg/CapsuleRuntimeDxe: Add RISCV64 arch Wu, Hao A
2020-04-20  5:38     ` Abner Chang
2020-04-20  5:39       ` Wu, Hao A [this message]

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=B80AF82E9BFB8E4FBD8C89DA810C6A093C9EBCF0@SHSMSX104.ccr.corp.intel.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