From: Leif Lindholm <leif.lindholm@linaro.org>
To: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>,
Ruiyu Ni <ruiyu.ni@intel.com>,
edk2-devel@lists.01.org, Hao Wu <hao.a.wu@intel.com>,
"Jordan Justen (Intel address)" <jordan.l.justen@intel.com>,
Andrew Fish <afish@apple.com>
Subject: Re: [PATCH 0/3] MdeModulePkg/ResetSystem: Implement ResetNotification protocol
Date: Mon, 3 Jul 2017 13:09:43 +0100 [thread overview]
Message-ID: <20170703120943.GD26676@bivouac.eciton.net> (raw)
In-Reply-To: <60ac3e5e-12b6-4bd5-6f7f-a7101b7c7edb@redhat.com>
On Sat, Jul 01, 2017 at 11:04:08PM +0200, Laszlo Ersek wrote:
> Ard, Leif,
>
> On 06/29/17 10:32, Ruiyu Ni wrote:
> > Ruiyu Ni (3):
> > MdePkg: Add ResetNotification protocol definition
> > MdeModulePkg/ResetSystem: Remove unnecessary global variable
> > MdeModulePkg/ResetSystem: Implement ResetNotification protocol
> >
> > .../Universal/ResetSystemRuntimeDxe/ResetSystem.c | 146 +++++++++++++++++++--
> > .../Universal/ResetSystemRuntimeDxe/ResetSystem.h | 21 ++-
> > .../ResetSystemRuntimeDxe.inf | 5 +-
> > MdePkg/Include/Protocol/ResetNotification.h | 86 ++++++++++++
> > MdePkg/MdePkg.dec | 3 +
> > 5 files changed, 247 insertions(+), 14 deletions(-)
> > create mode 100644 MdePkg/Include/Protocol/ResetNotification.h
> >
>
> I think we should
> - either port this feature (patch 3/3) to EmbeddedPkg/ResetRuntimeDxe,
> - or else rebase all platforms that consume EmbeddedPkg/ResetRuntimeDxe
> to MdeModulePkg/Universal/ResetSystemRuntimeDxe, and delete
> EmbeddedPkg/ResetRuntimeDxe from the tree.
>
> What do you guys think?
I think deleting the EmbeddedPkg one, and making the current consumers
implement ResetSystemLib instead of EfiResetSystemLib would be an
improvement.
At a quick skim, the only functionality I can see added in
EmbeddedPkg/ResetRuntimeDxe is the LibInitializeResetSystem
function. The only (ARM) platform I can see doing anything useful
there is the Armada ... and that code could move.
/
Leif
> Other producers of gEfiResetArchProtocolGuid could be affected as well
> (just from a quick grep):
> - DuetPkg/AcpiResetDxe
> - EmulatorPkg/ResetRuntimeDxe
> - Nt32Pkg/ResetRuntimeDxe
>
> Thanks
> Laszlo
next prev parent reply other threads:[~2017-07-03 12:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-29 8:32 [PATCH 0/3] MdeModulePkg/ResetSystem: Implement ResetNotification protocol Ruiyu Ni
2017-06-29 8:32 ` [PATCH 1/3] MdePkg: Add ResetNotification protocol definition Ruiyu Ni
2017-06-29 14:10 ` Zeng, Star
2017-06-29 8:32 ` [PATCH 2/3] MdeModulePkg/ResetSystem: Remove unnecessary global variable Ruiyu Ni
2017-06-29 14:11 ` Zeng, Star
2017-06-29 8:32 ` [PATCH 3/3] MdeModulePkg/ResetSystem: Implement ResetNotification protocol Ruiyu Ni
2017-06-29 14:30 ` Zeng, Star
2017-06-30 1:27 ` Ni, Ruiyu
2017-07-01 21:04 ` [PATCH 0/3] " Laszlo Ersek
2017-07-03 11:49 ` Ard Biesheuvel
2017-07-03 12:09 ` Leif Lindholm [this message]
2017-07-03 17:30 ` Laszlo Ersek
2017-07-03 17:31 ` Ard Biesheuvel
2017-07-03 17:36 ` Laszlo Ersek
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=20170703120943.GD26676@bivouac.eciton.net \
--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