public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ard Biesheuvel" <ard.biesheuvel@arm.com>
To: Laszlo Ersek <lersek@redhat.com>,
	edk2-devel-groups-io <devel@edk2.groups.io>
Cc: "Anthony Perard" <anthony.perard@citrix.com>,
	"Jordan Justen" <jordan.l.justen@intel.com>,
	"Julien Grall" <julien@xen.org>,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>,
	"Rebecca Cran" <rebecca@bsdio.com>
Subject: Re: [PATCH 0/6] OvmfPkg/ResetSystemLib: clean up, refactor, fix
Date: Fri, 17 Apr 2020 17:59:49 +0200	[thread overview]
Message-ID: <d079a7b8-ad03-b155-7588-5689b0d0a285@arm.com> (raw)
In-Reply-To: <20200417153751.7110-1-lersek@redhat.com>

On 4/17/20 5:37 PM, Laszlo Ersek wrote:
> Ref:    https://bugzilla.tianocore.org/show_bug.cgi?id=2675
> Repo:   https://pagure.io/lersek/edk2.git
> Branch: rsl_cleanup
> 
> Rebecca's
> 
>    [PATCH 02/13] OvmfPkg: support powering off bhyve guests
> 
> at
> 
>    https://edk2.groups.io/g/devel/message/57450
>    http://mid.mail-archive.com/e4e9b29189b83076e1d1a0b9c989938f5226cab6.1586991816.git.rebecca@bsdio.com
> 
> made me realize OvmfPkg/ResetSystemLib should be refreshed. This will
> let us add a simple bhyve-specific instance (later), and also allows us
> to fix a long time dormant bug (now).
> 
> Cc: Anthony Perard <anthony.perard@citrix.com>
> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
> Cc: Jordan Justen <jordan.l.justen@intel.com>
> Cc: Julien Grall <julien@xen.org>
> Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
> Cc: Rebecca Cran <rebecca@bsdio.com>
> 
> Thanks,
> Laszlo
> 
> Laszlo Ersek (6):
>    OvmfPkg/ResetSystemLib: wrap long lines
>    OvmfPkg/ResetSystemLib: clean up library dependencies
>    OvmfPkg/ResetSystemLib: improve coding style in ResetSystem()
>    OvmfPkg/ResetSystemLib: factor out ResetShutdown()
>    OvmfPkg/ResetSystemLib: rename to BaseResetSystemLib
>    OvmfPkg/ResetSystemLib: introduce the DxeResetSystemLib instance
> 

For the series,

Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>

One nit: putting a diff block inside the commit log [6/6] doesn't help 
legibility a lot, and the issue of not being able to access memory that 
is not mapped for runtime is so basic that it doesn't require that level 
of detail to describe a reproducer and the Linux kernel log output when 
the issue is triggered.


>   OvmfPkg/OvmfPkgIa32.dsc                                                       |  8 +-
>   OvmfPkg/OvmfPkgIa32X64.dsc                                                    |  8 +-
>   OvmfPkg/OvmfPkgX64.dsc                                                        |  8 +-
>   OvmfPkg/OvmfXen.dsc                                                           |  6 +-
>   OvmfPkg/Library/ResetSystemLib/{ResetSystemLib.inf => BaseResetSystemLib.inf} | 12 ++-
>   OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf                          | 43 ++++++++++
>   OvmfPkg/Library/ResetSystemLib/BaseResetShutdown.c                            | 51 ++++++++++++
>   OvmfPkg/Library/ResetSystemLib/DxeResetShutdown.c                             | 62 +++++++++++++++
>   OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c                               | 84 +++++---------------
>   9 files changed, 209 insertions(+), 73 deletions(-)
>   rename OvmfPkg/Library/ResetSystemLib/{ResetSystemLib.inf => BaseResetSystemLib.inf} (65%)
>   create mode 100644 OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
>   create mode 100644 OvmfPkg/Library/ResetSystemLib/BaseResetShutdown.c
>   create mode 100644 OvmfPkg/Library/ResetSystemLib/DxeResetShutdown.c
> 


  parent reply	other threads:[~2020-04-17 15:59 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-17 15:37 [PATCH 0/6] OvmfPkg/ResetSystemLib: clean up, refactor, fix Laszlo Ersek
2020-04-17 15:37 ` [PATCH 1/6] OvmfPkg/ResetSystemLib: wrap long lines Laszlo Ersek
2020-04-17 16:01   ` Philippe Mathieu-Daudé
2020-04-17 15:37 ` [PATCH 2/6] OvmfPkg/ResetSystemLib: clean up library dependencies Laszlo Ersek
2020-04-17 16:02   ` Philippe Mathieu-Daudé
2020-04-17 15:37 ` [PATCH 3/6] OvmfPkg/ResetSystemLib: improve coding style in ResetSystem() Laszlo Ersek
2020-04-17 16:02   ` Philippe Mathieu-Daudé
2020-04-17 15:37 ` [PATCH 4/6] OvmfPkg/ResetSystemLib: factor out ResetShutdown() Laszlo Ersek
2020-04-17 16:05   ` Philippe Mathieu-Daudé
2020-04-17 15:37 ` [PATCH 5/6] OvmfPkg/ResetSystemLib: rename to BaseResetSystemLib Laszlo Ersek
2020-04-21 17:27   ` [edk2-devel] " Laszlo Ersek
2020-04-21 18:08     ` Philippe Mathieu-Daudé
2020-04-17 15:37 ` [PATCH 6/6] OvmfPkg/ResetSystemLib: introduce the DxeResetSystemLib instance Laszlo Ersek
2020-04-17 16:23   ` Philippe Mathieu-Daudé
2020-04-17 15:59 ` Ard Biesheuvel [this message]
2020-04-17 16:19   ` [PATCH 0/6] OvmfPkg/ResetSystemLib: clean up, refactor, fix Philippe Mathieu-Daudé
2020-04-20  9:48     ` Laszlo Ersek
2020-04-20 10:17       ` Philippe Mathieu-Daudé
2020-04-20  9:46   ` Laszlo Ersek
2020-04-21 17:49 ` Rebecca Cran
2020-04-22 20:35 ` [edk2-devel] " 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=d079a7b8-ad03-b155-7588-5689b0d0a285@arm.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