public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ard Biesheuvel" <ardb@kernel.org>
To: Jeremy Linton <jeremy.linton@arm.com>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>,
	Ard Biesheuvel <ardb+git@google.com>,
	devel@edk2.groups.io
Subject: Re: [edk2-devel] [PATCH edk2-platforms 5/5] Platform/RaspberryPi: Drop platform specific EfiResetSystemLib
Date: Sun, 28 Jul 2024 21:35:56 +0200	[thread overview]
Message-ID: <CAMj1kXFyYHZ9sFm_1Mz0uSEDzE0QHYVcwRy6umzre0BPGab_gA@mail.gmail.com> (raw)
In-Reply-To: <CAMj1kXGXv7VZAz2g5yBNHst+6m7+QhiUZGQL-FJU_w+ndYoo_A@mail.gmail.com>

On Thu, 25 Jul 2024 at 23:23, Ard Biesheuvel <ardb@kernel.org> wrote:
>
> On Thu, 25 Jul 2024 at 22:21, Jeremy Linton <jeremy.linton@arm.com> wrote:
> >
> > Hi,
> >
> > On 7/25/24 06:38, Leif Lindholm wrote:
> > > On Thu, Jul 25, 2024 at 12:43:30 +0200, Ard Biesheuvel wrote:
> > >> From: Ard Biesheuvel <ardb@kernel.org>
> > >>
> > >> Drop the now unused EfiResetSystemLib implementation, which has been
> > >> superseded by the generic one from EDK2.
> > >>
> > >> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
> > >> ---
> > >>   Platform/RaspberryPi/RaspberryPi.dec                                   |   1 -
> > >>   Platform/RaspberryPi/Drivers/VarBlockServiceDxe/VarBlockServiceDxe.inf |   1 -
> > >>   Platform/RaspberryPi/Library/ResetLib/ResetLib.inf                     |  45 ------
> > >>   Platform/RaspberryPi/Drivers/VarBlockServiceDxe/VarBlockServiceDxe.c   |  11 --
> > >>   Platform/RaspberryPi/Library/ResetLib/ResetLib.c                       | 151 --------------------
> > >>   5 files changed, 209 deletions(-)
> > >>
> > >> diff --git a/Platform/RaspberryPi/RaspberryPi.dec b/Platform/RaspberryPi/RaspberryPi.dec
> > >> index 6bd16a5ae9fd..a5fa1fb00c48 100644
> > >> --- a/Platform/RaspberryPi/RaspberryPi.dec
> > >> +++ b/Platform/RaspberryPi/RaspberryPi.dec
> > >> @@ -24,7 +24,6 @@ [Protocols]
> > >>
> > >>   [Guids]
> > >>     gRaspberryPiTokenSpaceGuid = {0xCD7CC258, 0x31DB, 0x11E6, {0x9F, 0xD3, 0x63, 0xB0, 0xB8, 0xEE, 0xD6, 0xB5}}
> > >> -  gRaspberryPiEventResetGuid = {0xCD7CC258, 0x31DB, 0x11E6, {0x9F, 0xD3, 0x63, 0xB4, 0xB4, 0xE4, 0xD4, 0xB4}}
> > >>     gConfigDxeFormSetGuid = {0xCD7CC258, 0x31DB, 0x22E6, {0x9F, 0x22, 0x63, 0xB0, 0xB8, 0xEE, 0xD6, 0xB5}}
> > >
> > > *loud sigh at looking those "GUIDs"*
> > > But that's not this set's fault.
> >
> > The first couple are DCE time/mac UUIDs with the MAC address fuzzed, no?
> > Initially I assumed this coudn't be the case because I would have
> > expected the timestamp (2016-06-13 21:57:59, which looks almost
> > reasonable) to vary, but i'm guessing they were generated, and then
> > someone didn't want their mac in the pubic so they fuzzed it a couple
> > times rather than generating completely new IDs. Some of the others
> > though, maybe a BE/LE UUID/GUID manual conversion (or not) problem...
> >
>
> It looks to me like "hey I need a new GUIO so I'll just grab this one
> and stick some 2s or some 4s in random places"
>
> > Anyway, I will spin it up in a day or two on real hardware, but right
> > now its all torn down in boxes because i've moved.
> >
>
> Thanks. I'll do the same myself on Sunday or Monday - am travelling at
> the moment.

I ran into some issues with dispatch order - the added depexes prevent
the varblockservicedxe from being dispatched before the
VariableRuntimeDxe, which results in a crash.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120058): https://edk2.groups.io/g/devel/message/120058
Mute This Topic: https://groups.io/mt/107540912/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



      reply	other threads:[~2024-07-28 19:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-25 10:43 [edk2-devel] [PATCH edk2-platforms 0/5] RPi: Drop EmbeddedPkg reset runtime Ard Biesheuvel via groups.io
2024-07-25 10:43 ` [edk2-devel] [PATCH edk2-platforms 1/5] Platform/RaspberryPi/VarBlockServiceDxe: Refactor DumpVars event handler Ard Biesheuvel via groups.io
2024-07-25 10:43 ` [edk2-devel] [PATCH edk2-platforms 2/5] Platform/RaspberryPi/VarBlockServiceDxe: Register for reset notification Ard Biesheuvel via groups.io
2024-07-25 10:43 ` [edk2-devel] [PATCH edk2-platforms 3/5] Platform/RaspberryPi/PlatformBootManagerLib: Reimplement reset hook Ard Biesheuvel via groups.io
2024-07-25 10:43 ` [edk2-devel] [PATCH edk2-platforms 4/5] Platform/RaspberryPi: Switch to generic reset runtime Ard Biesheuvel via groups.io
2024-07-25 10:43 ` [edk2-devel] [PATCH edk2-platforms 5/5] Platform/RaspberryPi: Drop platform specific EfiResetSystemLib Ard Biesheuvel via groups.io
2024-07-25 11:38   ` Leif Lindholm
2024-07-25 12:12     ` Alexander D
2024-07-25 12:13       ` Ard Biesheuvel
2024-07-25 20:21     ` Jeremy Linton
2024-07-25 21:23       ` Ard Biesheuvel
2024-07-28 19:35         ` Ard Biesheuvel [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=CAMj1kXFyYHZ9sFm_1Mz0uSEDzE0QHYVcwRy6umzre0BPGab_gA@mail.gmail.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