From: "gaoliming" <gaoliming@byosoft.com.cn>
To: <devel@edk2.groups.io>, <ardb@kernel.org>, <Pierre.Gondois@arm.com>
Cc: "'Ard Biesheuvel'" <ardb+tianocore@kernel.org>,
"'Leif Lindholm'" <leif@nuviainc.com>,
"'Sami Mujawar'" <sami.mujawar@arm.com>
Subject: 回复: [edk2-devel] [PATCH 1/1][edk2-stable202211] ArmPkg/ArmTrngLib: Remove ASSERT in GetArmTrngVersion()
Date: Tue, 15 Nov 2022 10:54:32 +0800 [thread overview]
Message-ID: <010601d8f89d$96deb000$c49c1000$@byosoft.com.cn> (raw)
In-Reply-To: <CAMj1kXGh8h8qwONy0_4Cikjg=bUhBEgrB5oJEiAKZOvqrmt=Yg@mail.gmail.com>
Ard:
I am OK to merge it for this stable tag. I will do it.
Thanks
Liming
> -----邮件原件-----
> 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Ard
> Biesheuvel
> 发送时间: 2022年11月14日 23:10
> 收件人: Pierre.Gondois@arm.com
> 抄送: devel@edk2.groups.io; Ard Biesheuvel <ardb+tianocore@kernel.org>;
> Leif Lindholm <leif@nuviainc.com>; Sami Mujawar
> <sami.mujawar@arm.com>; Liming Gao <gaoliming@byosoft.com.cn>
> 主题: Re: [edk2-devel] [PATCH 1/1][edk2-stable202211] ArmPkg/ArmTrngLib:
> Remove ASSERT in GetArmTrngVersion()
>
> On Mon, 14 Nov 2022 at 15:44, <Pierre.Gondois@arm.com> wrote:
> >
> > From: Pierre Gondois <pierre.gondois@arm.com>
> >
> > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4150
> >
> > GetArmTrngVersion() is used to check the presence of an Arm
> > Trng. If not found, an ASSERT prevents from booting in DEBUG
> > builds.
> > Remove this ASSERT.
> >
> > Reported-by: Sami Mujawar <sami.mujawar@arm.com>
> > Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
>
> Acked-by: Ard Biesheuvel <ardb@kernel.org>
>
> Liming: please merge this if you are ok with it, or I can merge it if
> you prefer.
>
> > ---
> > ArmPkg/Library/ArmTrngLib/ArmTrngLib.c | 1 -
> > 1 file changed, 1 deletion(-)
> >
> > diff --git a/ArmPkg/Library/ArmTrngLib/ArmTrngLib.c
> b/ArmPkg/Library/ArmTrngLib/ArmTrngLib.c
> > index fdabc02cd39c..3278722320c8 100644
> > --- a/ArmPkg/Library/ArmTrngLib/ArmTrngLib.c
> > +++ b/ArmPkg/Library/ArmTrngLib/ArmTrngLib.c
> > @@ -344,7 +344,6 @@ ArmTrngLibConstructor (
> >
> > Status = GetArmTrngVersion (&MajorRev, &MinorRev);
> > if (RETURN_ERROR (Status)) {
> > - ASSERT_RETURN_ERROR (Status);
> > goto ErrorHandler;
> > }
> >
> > --
> > 2.25.1
> >
>
>
>
>
next prev parent reply other threads:[~2022-11-15 2:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-14 14:43 [PATCH 1/1][edk2-stable202211] ArmPkg/ArmTrngLib: Remove ASSERT in GetArmTrngVersion() PierreGondois
2022-11-14 15:10 ` Ard Biesheuvel
2022-11-15 2:54 ` gaoliming [this message]
[not found] ` <1727A2869BB78C87.23030@groups.io>
2022-11-16 1:34 ` 回复: [edk2-devel] " gaoliming
2022-11-16 9:12 ` Ard Biesheuvel
2022-11-14 16:00 ` Sami Mujawar
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='010601d8f89d$96deb000$c49c1000$@byosoft.com.cn' \
--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