public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Nhi Pham" <nhi@os.amperecomputing.com>
To: Laszlo Ersek <lersek@redhat.com>, devel@edk2.groups.io
Cc: Leif Lindholm <leif@nuviainc.com>,
	Ard Biesheuvel <ard.biesheuvel@arm.com>
Subject: Re: [edk2-devel] [PATCH 1/1] EmbeddedPkg/RealTimeClockRuntimeDxe: depend on gEfiVariableArchProtocolGuid
Date: Fri, 8 Jan 2021 21:07:36 +0700	[thread overview]
Message-ID: <266ef850-cbcc-4991-00c5-d5b4873cbdb2@os.amperecomputing.com> (raw)
In-Reply-To: <485d1426-5bef-3248-f37b-ea29a51f7faf@redhat.com>

On 1/8/21 21:02, Laszlo Ersek wrote:
> On 01/08/21 14:41, Nhi Pham via groups.io wrote:
>> The EfiGetVariable() is used in the entry of this module. So, the
>> variable services are required to be ready before they are used. This
>> patch adds the arch protocol gEfiVariableArchProtocolGuid to dependency
>> expression to guarantee that this module will be started once the
>> variable protocol is available.
>>
>> Cc: Leif Lindholm <leif@nuviainc.com>
>> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
>> Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
>> ---
>>   EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf b/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
>> index fec53c79d335..0a4cd6dae703 100644
>> --- a/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
>> +++ b/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
>> @@ -38,5 +38,5 @@ [Protocols]
>>     gEfiRealTimeClockArchProtocolGuid
>>   
>>   [Depex]
>> -  TRUE
>> +  gEfiVariableArchProtocolGuid
>>   
>>
> Will you send a patch for "OvmfPkg/OvmfXen.dsc", for the regression that
> you commit 55ee36b0c490 caused?

Yes, I will generate a patch for it.

-Nhi

>
>
> For this patch:
>
> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
>

  reply	other threads:[~2021-01-08 14:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-08 13:41 [PATCH 1/1] EmbeddedPkg/RealTimeClockRuntimeDxe: depend on gEfiVariableArchProtocolGuid Nhi Pham
2021-01-08 14:02 ` [edk2-devel] " Laszlo Ersek
2021-01-08 14:07   ` Nhi Pham [this message]
2021-01-10  1:20 ` Leif Lindholm

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=266ef850-cbcc-4991-00c5-d5b4873cbdb2@os.amperecomputing.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