public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser
@ 2020-01-20  5:44 Ashish Singhal
  2020-01-20  7:42 ` [edk2-devel] " Gao, Zhichao
  0 siblings, 1 reply; 7+ messages in thread
From: Ashish Singhal @ 2020-01-20  5:44 UTC (permalink / raw)
  To: devel, ray.ni, zhichao.gao; +Cc: Ashish Singhal

FADT parser was checking for reduced ACPI flag incorrectly
leading to incorrect error message if FIRMWARE_CTRL and
X_FIRMWARE_CTRL are both 0.

Signed-off-by: Ashish Singhal <ashishsingha@nvidia.com>
---
 .../UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.c       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.c
index 5b8cc174f1..8acfbac3b1 100644
--- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.c
+++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.c
@@ -253,7 +253,7 @@ ParseAcpiFadt (
     // present.
     if ((Trace) &&
         (Flags != NULL) &&
-        ((*Flags & EFI_ACPI_6_3_HW_REDUCED_ACPI) != 0)) {
+        ((*Flags & EFI_ACPI_6_3_HW_REDUCED_ACPI) != EFI_ACPI_6_3_HW_REDUCED_ACPI)) {
       IncrementErrorCount ();
       Print (L"ERROR: No FACS table found, "
                L"both X_FIRMWARE_CTRL and FIRMWARE_CTRL are zero.\n");
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [edk2-devel] [PATCH] ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser
  2020-01-20  5:44 [PATCH] ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser Ashish Singhal
@ 2020-01-20  7:42 ` Gao, Zhichao
  2020-01-27 17:28   ` Ashish Singhal
  0 siblings, 1 reply; 7+ messages in thread
From: Gao, Zhichao @ 2020-01-20  7:42 UTC (permalink / raw)
  To: devel@edk2.groups.io, ashishsingha@nvidia.com, Ni, Ray

Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>

> -----Original Message-----
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> Ashish Singhal
> Sent: Monday, January 20, 2020 1:45 PM
> To: devel@edk2.groups.io; Ni, Ray <ray.ni@intel.com>; Gao, Zhichao
> <zhichao.gao@intel.com>
> Cc: Ashish Singhal <ashishsingha@nvidia.com>
> Subject: [edk2-devel] [PATCH] ShellPkg/UefiShellAcpiViewCommandLib: Fix
> FADT Parser
> 
> FADT parser was checking for reduced ACPI flag incorrectly leading to
> incorrect error message if FIRMWARE_CTRL and X_FIRMWARE_CTRL are
> both 0.
> 
> Signed-off-by: Ashish Singhal <ashishsingha@nvidia.com>
> ---
>  .../UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.c       | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git
> a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.
> c
> b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.
> c
> index 5b8cc174f1..8acfbac3b1 100644
> ---
> a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.
> c
> +++
> b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtPars
> +++ er.c
> @@ -253,7 +253,7 @@ ParseAcpiFadt (
>      // present.
>      if ((Trace) &&
>          (Flags != NULL) &&
> -        ((*Flags & EFI_ACPI_6_3_HW_REDUCED_ACPI) != 0)) {
> +        ((*Flags & EFI_ACPI_6_3_HW_REDUCED_ACPI) !=
> + EFI_ACPI_6_3_HW_REDUCED_ACPI)) {
>        IncrementErrorCount ();
>        Print (L"ERROR: No FACS table found, "
>                 L"both X_FIRMWARE_CTRL and FIRMWARE_CTRL are zero.\n");
> --
> 2.17.1
> 
> 
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [edk2-devel] [PATCH] ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser
  2020-01-20  7:42 ` [edk2-devel] " Gao, Zhichao
@ 2020-01-27 17:28   ` Ashish Singhal
  2020-01-31  5:32     ` Gao, Zhichao
  0 siblings, 1 reply; 7+ messages in thread
From: Ashish Singhal @ 2020-01-27 17:28 UTC (permalink / raw)
  To: Gao, Zhichao, devel@edk2.groups.io, Ni, Ray

Hello Zhichao,

Do you know by when this may be merged?

Thanks
Ashish

-----Original Message-----
From: Gao, Zhichao <zhichao.gao@intel.com> 
Sent: Monday, January 20, 2020 12:42 AM
To: devel@edk2.groups.io; Ashish Singhal <ashishsingha@nvidia.com>; Ni, Ray <ray.ni@intel.com>
Subject: RE: [edk2-devel] [PATCH] ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser

External email: Use caution opening links or attachments


Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>

> -----Original Message-----
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of 
> Ashish Singhal
> Sent: Monday, January 20, 2020 1:45 PM
> To: devel@edk2.groups.io; Ni, Ray <ray.ni@intel.com>; Gao, Zhichao 
> <zhichao.gao@intel.com>
> Cc: Ashish Singhal <ashishsingha@nvidia.com>
> Subject: [edk2-devel] [PATCH] ShellPkg/UefiShellAcpiViewCommandLib: 
> Fix FADT Parser
>
> FADT parser was checking for reduced ACPI flag incorrectly leading to 
> incorrect error message if FIRMWARE_CTRL and X_FIRMWARE_CTRL are both 
> 0.
>
> Signed-off-by: Ashish Singhal <ashishsingha@nvidia.com>
> ---
>  .../UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.c       | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git
> a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.
> c
> b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.
> c
> index 5b8cc174f1..8acfbac3b1 100644
> ---
> a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.
> c
> +++
> b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtPars
> +++ er.c
> @@ -253,7 +253,7 @@ ParseAcpiFadt (
>      // present.
>      if ((Trace) &&
>          (Flags != NULL) &&
> -        ((*Flags & EFI_ACPI_6_3_HW_REDUCED_ACPI) != 0)) {
> +        ((*Flags & EFI_ACPI_6_3_HW_REDUCED_ACPI) !=
> + EFI_ACPI_6_3_HW_REDUCED_ACPI)) {
>        IncrementErrorCount ();
>        Print (L"ERROR: No FACS table found, "
>                 L"both X_FIRMWARE_CTRL and FIRMWARE_CTRL are 
> zero.\n");
> --
> 2.17.1
>
>
> 

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [edk2-devel] [PATCH] ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser
  2020-01-27 17:28   ` Ashish Singhal
@ 2020-01-31  5:32     ` Gao, Zhichao
  2020-02-10 17:39       ` Ashish Singhal
  0 siblings, 1 reply; 7+ messages in thread
From: Gao, Zhichao @ 2020-01-31  5:32 UTC (permalink / raw)
  To: Ashish Singhal, devel@edk2.groups.io, Ni, Ray

Actually I have no permission to create the pull request. I would help to send the patch to Ray and he would create the pull request.

Thanks,
Zhichao

> -----Original Message-----
> From: Ashish Singhal [mailto:ashishsingha@nvidia.com]
> Sent: Tuesday, January 28, 2020 1:29 AM
> To: Gao, Zhichao <zhichao.gao@intel.com>; devel@edk2.groups.io; Ni, Ray
> <ray.ni@intel.com>
> Subject: RE: [edk2-devel] [PATCH] ShellPkg/UefiShellAcpiViewCommandLib: Fix
> FADT Parser
> 
> Hello Zhichao,
> 
> Do you know by when this may be merged?
> 
> Thanks
> Ashish
> 
> -----Original Message-----
> From: Gao, Zhichao <zhichao.gao@intel.com>
> Sent: Monday, January 20, 2020 12:42 AM
> To: devel@edk2.groups.io; Ashish Singhal <ashishsingha@nvidia.com>; Ni, Ray
> <ray.ni@intel.com>
> Subject: RE: [edk2-devel] [PATCH] ShellPkg/UefiShellAcpiViewCommandLib: Fix
> FADT Parser
> 
> External email: Use caution opening links or attachments
> 
> 
> Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
> 
> > -----Original Message-----
> > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> > Ashish Singhal
> > Sent: Monday, January 20, 2020 1:45 PM
> > To: devel@edk2.groups.io; Ni, Ray <ray.ni@intel.com>; Gao, Zhichao
> > <zhichao.gao@intel.com>
> > Cc: Ashish Singhal <ashishsingha@nvidia.com>
> > Subject: [edk2-devel] [PATCH] ShellPkg/UefiShellAcpiViewCommandLib:
> > Fix FADT Parser
> >
> > FADT parser was checking for reduced ACPI flag incorrectly leading to
> > incorrect error message if FIRMWARE_CTRL and X_FIRMWARE_CTRL are both
> > 0.
> >
> > Signed-off-by: Ashish Singhal <ashishsingha@nvidia.com>
> > ---
> >  .../UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.c       | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git
> > a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.
> > c
> > b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.
> > c
> > index 5b8cc174f1..8acfbac3b1 100644
> > ---
> > a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.
> > c
> > +++
> > b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtPars
> > +++ er.c
> > @@ -253,7 +253,7 @@ ParseAcpiFadt (
> >      // present.
> >      if ((Trace) &&
> >          (Flags != NULL) &&
> > -        ((*Flags & EFI_ACPI_6_3_HW_REDUCED_ACPI) != 0)) {
> > +        ((*Flags & EFI_ACPI_6_3_HW_REDUCED_ACPI) !=
> > + EFI_ACPI_6_3_HW_REDUCED_ACPI)) {
> >        IncrementErrorCount ();
> >        Print (L"ERROR: No FACS table found, "
> >                 L"both X_FIRMWARE_CTRL and FIRMWARE_CTRL are
> > zero.\n");
> > --
> > 2.17.1
> >
> >
> > 
> 
> -----------------------------------------------------------------------------------
> This email message is for the sole use of the intended recipient(s) and may
> contain confidential information.  Any unauthorized review, use, disclosure or
> distribution is prohibited.  If you are not the intended recipient, please contact
> the sender by reply email and destroy all copies of the original message.
> -----------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [edk2-devel] [PATCH] ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser
  2020-01-31  5:32     ` Gao, Zhichao
@ 2020-02-10 17:39       ` Ashish Singhal
  2020-02-11  2:54         ` Gao, Zhichao
  0 siblings, 1 reply; 7+ messages in thread
From: Ashish Singhal @ 2020-02-10 17:39 UTC (permalink / raw)
  To: Gao, Zhichao, devel@edk2.groups.io, Ni, Ray

Hello Ray,

Any update on this one?

Thanks
Ashish

-----Original Message-----
From: Gao, Zhichao <zhichao.gao@intel.com> 
Sent: Thursday, January 30, 2020 10:33 PM
To: Ashish Singhal <ashishsingha@nvidia.com>; devel@edk2.groups.io; Ni, Ray <ray.ni@intel.com>
Subject: RE: [edk2-devel] [PATCH] ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser

External email: Use caution opening links or attachments


Actually I have no permission to create the pull request. I would help to send the patch to Ray and he would create the pull request.

Thanks,
Zhichao

> -----Original Message-----
> From: Ashish Singhal [mailto:ashishsingha@nvidia.com]
> Sent: Tuesday, January 28, 2020 1:29 AM
> To: Gao, Zhichao <zhichao.gao@intel.com>; devel@edk2.groups.io; Ni, 
> Ray <ray.ni@intel.com>
> Subject: RE: [edk2-devel] [PATCH] 
> ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser
>
> Hello Zhichao,
>
> Do you know by when this may be merged?
>
> Thanks
> Ashish
>
> -----Original Message-----
> From: Gao, Zhichao <zhichao.gao@intel.com>
> Sent: Monday, January 20, 2020 12:42 AM
> To: devel@edk2.groups.io; Ashish Singhal <ashishsingha@nvidia.com>; 
> Ni, Ray <ray.ni@intel.com>
> Subject: RE: [edk2-devel] [PATCH] 
> ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser
>
> External email: Use caution opening links or attachments
>
>
> Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
>
> > -----Original Message-----
> > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf 
> > Of Ashish Singhal
> > Sent: Monday, January 20, 2020 1:45 PM
> > To: devel@edk2.groups.io; Ni, Ray <ray.ni@intel.com>; Gao, Zhichao 
> > <zhichao.gao@intel.com>
> > Cc: Ashish Singhal <ashishsingha@nvidia.com>
> > Subject: [edk2-devel] [PATCH] ShellPkg/UefiShellAcpiViewCommandLib:
> > Fix FADT Parser
> >
> > FADT parser was checking for reduced ACPI flag incorrectly leading 
> > to incorrect error message if FIRMWARE_CTRL and X_FIRMWARE_CTRL are 
> > both 0.
> >
> > Signed-off-by: Ashish Singhal <ashishsingha@nvidia.com>
> > ---
> >  .../UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.c       | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git
> > a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.
> > c
> > b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.
> > c
> > index 5b8cc174f1..8acfbac3b1 100644
> > ---
> > a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.
> > c
> > +++
> > b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtPars
> > +++ er.c
> > @@ -253,7 +253,7 @@ ParseAcpiFadt (
> >      // present.
> >      if ((Trace) &&
> >          (Flags != NULL) &&
> > -        ((*Flags & EFI_ACPI_6_3_HW_REDUCED_ACPI) != 0)) {
> > +        ((*Flags & EFI_ACPI_6_3_HW_REDUCED_ACPI) !=
> > + EFI_ACPI_6_3_HW_REDUCED_ACPI)) {
> >        IncrementErrorCount ();
> >        Print (L"ERROR: No FACS table found, "
> >                 L"both X_FIRMWARE_CTRL and FIRMWARE_CTRL are 
> > zero.\n");
> > --
> > 2.17.1
> >
> >
> > 
>
> ----------------------------------------------------------------------
> ------------- This email message is for the sole use of the intended 
> recipient(s) and may contain confidential information.  Any 
> unauthorized review, use, disclosure or distribution is prohibited.
> If you are not the intended recipient, please contact the sender by 
> reply email and destroy all copies of the original message.
> ----------------------------------------------------------------------
> -------------

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [edk2-devel] [PATCH] ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser
  2020-02-10 17:39       ` Ashish Singhal
@ 2020-02-11  2:54         ` Gao, Zhichao
  2020-02-11  5:22           ` Ashish Singhal
  0 siblings, 1 reply; 7+ messages in thread
From: Gao, Zhichao @ 2020-02-11  2:54 UTC (permalink / raw)
  To: devel@edk2.groups.io, ashishsingha@nvidia.com, Ni, Ray

The patch is already merged in the trunk. 66360134f8049cc70765cd3f119a5e2be2b67aa4

Thanks,
Zhichao

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Ashish
> Singhal
> Sent: Tuesday, February 11, 2020 1:39 AM
> To: Gao, Zhichao <zhichao.gao@intel.com>; devel@edk2.groups.io; Ni, Ray
> <ray.ni@intel.com>
> Subject: Re: [edk2-devel] [PATCH] ShellPkg/UefiShellAcpiViewCommandLib: Fix
> FADT Parser
> 
> Hello Ray,
> 
> Any update on this one?
> 
> Thanks
> Ashish
> 
> -----Original Message-----
> From: Gao, Zhichao <zhichao.gao@intel.com>
> Sent: Thursday, January 30, 2020 10:33 PM
> To: Ashish Singhal <ashishsingha@nvidia.com>; devel@edk2.groups.io; Ni, Ray
> <ray.ni@intel.com>
> Subject: RE: [edk2-devel] [PATCH] ShellPkg/UefiShellAcpiViewCommandLib: Fix
> FADT Parser
> 
> External email: Use caution opening links or attachments
> 
> 
> Actually I have no permission to create the pull request. I would help to send the
> patch to Ray and he would create the pull request.
> 
> Thanks,
> Zhichao
> 
> > -----Original Message-----
> > From: Ashish Singhal [mailto:ashishsingha@nvidia.com]
> > Sent: Tuesday, January 28, 2020 1:29 AM
> > To: Gao, Zhichao <zhichao.gao@intel.com>; devel@edk2.groups.io; Ni,
> > Ray <ray.ni@intel.com>
> > Subject: RE: [edk2-devel] [PATCH]
> > ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser
> >
> > Hello Zhichao,
> >
> > Do you know by when this may be merged?
> >
> > Thanks
> > Ashish
> >
> > -----Original Message-----
> > From: Gao, Zhichao <zhichao.gao@intel.com>
> > Sent: Monday, January 20, 2020 12:42 AM
> > To: devel@edk2.groups.io; Ashish Singhal <ashishsingha@nvidia.com>;
> > Ni, Ray <ray.ni@intel.com>
> > Subject: RE: [edk2-devel] [PATCH]
> > ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser
> >
> > External email: Use caution opening links or attachments
> >
> >
> > Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
> >
> > > -----Original Message-----
> > > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf
> > > Of Ashish Singhal
> > > Sent: Monday, January 20, 2020 1:45 PM
> > > To: devel@edk2.groups.io; Ni, Ray <ray.ni@intel.com>; Gao, Zhichao
> > > <zhichao.gao@intel.com>
> > > Cc: Ashish Singhal <ashishsingha@nvidia.com>
> > > Subject: [edk2-devel] [PATCH] ShellPkg/UefiShellAcpiViewCommandLib:
> > > Fix FADT Parser
> > >
> > > FADT parser was checking for reduced ACPI flag incorrectly leading
> > > to incorrect error message if FIRMWARE_CTRL and X_FIRMWARE_CTRL are
> > > both 0.
> > >
> > > Signed-off-by: Ashish Singhal <ashishsingha@nvidia.com>
> > > ---
> > >  .../UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.c       | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git
> > > a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.
> > > c
> > > b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.
> > > c
> > > index 5b8cc174f1..8acfbac3b1 100644
> > > ---
> > > a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.
> > > c
> > > +++
> > > b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtPars
> > > +++ er.c
> > > @@ -253,7 +253,7 @@ ParseAcpiFadt (
> > >      // present.
> > >      if ((Trace) &&
> > >          (Flags != NULL) &&
> > > -        ((*Flags & EFI_ACPI_6_3_HW_REDUCED_ACPI) != 0)) {
> > > +        ((*Flags & EFI_ACPI_6_3_HW_REDUCED_ACPI) !=
> > > + EFI_ACPI_6_3_HW_REDUCED_ACPI)) {
> > >        IncrementErrorCount ();
> > >        Print (L"ERROR: No FACS table found, "
> > >                 L"both X_FIRMWARE_CTRL and FIRMWARE_CTRL are
> > > zero.\n");
> > > --
> > > 2.17.1
> > >
> > >
> > >
> >
> > ----------------------------------------------------------------------
> > ------------- This email message is for the sole use of the intended
> > recipient(s) and may contain confidential information.  Any
> > unauthorized review, use, disclosure or distribution is prohibited.
> > If you are not the intended recipient, please contact the sender by
> > reply email and destroy all copies of the original message.
> > ----------------------------------------------------------------------
> > -------------
> 
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [edk2-devel] [PATCH] ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser
  2020-02-11  2:54         ` Gao, Zhichao
@ 2020-02-11  5:22           ` Ashish Singhal
  0 siblings, 0 replies; 7+ messages in thread
From: Ashish Singhal @ 2020-02-11  5:22 UTC (permalink / raw)
  To: Gao, Zhichao, devel@edk2.groups.io, Ni, Ray

Thanks Zhichao,

Just saw a bunch of ShellPkg changes got merged including mine.

Thanks
Ashish

-----Original Message-----
From: Gao, Zhichao <zhichao.gao@intel.com> 
Sent: Monday, February 10, 2020 7:55 PM
To: devel@edk2.groups.io; Ashish Singhal <ashishsingha@nvidia.com>; Ni, Ray <ray.ni@intel.com>
Subject: RE: [edk2-devel] [PATCH] ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser

External email: Use caution opening links or attachments


The patch is already merged in the trunk. 66360134f8049cc70765cd3f119a5e2be2b67aa4

Thanks,
Zhichao

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Ashish 
> Singhal
> Sent: Tuesday, February 11, 2020 1:39 AM
> To: Gao, Zhichao <zhichao.gao@intel.com>; devel@edk2.groups.io; Ni, 
> Ray <ray.ni@intel.com>
> Subject: Re: [edk2-devel] [PATCH] 
> ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser
>
> Hello Ray,
>
> Any update on this one?
>
> Thanks
> Ashish
>
> -----Original Message-----
> From: Gao, Zhichao <zhichao.gao@intel.com>
> Sent: Thursday, January 30, 2020 10:33 PM
> To: Ashish Singhal <ashishsingha@nvidia.com>; devel@edk2.groups.io; 
> Ni, Ray <ray.ni@intel.com>
> Subject: RE: [edk2-devel] [PATCH] 
> ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser
>
> External email: Use caution opening links or attachments
>
>
> Actually I have no permission to create the pull request. I would help 
> to send the patch to Ray and he would create the pull request.
>
> Thanks,
> Zhichao
>
> > -----Original Message-----
> > From: Ashish Singhal [mailto:ashishsingha@nvidia.com]
> > Sent: Tuesday, January 28, 2020 1:29 AM
> > To: Gao, Zhichao <zhichao.gao@intel.com>; devel@edk2.groups.io; Ni, 
> > Ray <ray.ni@intel.com>
> > Subject: RE: [edk2-devel] [PATCH]
> > ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser
> >
> > Hello Zhichao,
> >
> > Do you know by when this may be merged?
> >
> > Thanks
> > Ashish
> >
> > -----Original Message-----
> > From: Gao, Zhichao <zhichao.gao@intel.com>
> > Sent: Monday, January 20, 2020 12:42 AM
> > To: devel@edk2.groups.io; Ashish Singhal <ashishsingha@nvidia.com>; 
> > Ni, Ray <ray.ni@intel.com>
> > Subject: RE: [edk2-devel] [PATCH]
> > ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser
> >
> > External email: Use caution opening links or attachments
> >
> >
> > Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
> >
> > > -----Original Message-----
> > > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf 
> > > Of Ashish Singhal
> > > Sent: Monday, January 20, 2020 1:45 PM
> > > To: devel@edk2.groups.io; Ni, Ray <ray.ni@intel.com>; Gao, Zhichao 
> > > <zhichao.gao@intel.com>
> > > Cc: Ashish Singhal <ashishsingha@nvidia.com>
> > > Subject: [edk2-devel] [PATCH] ShellPkg/UefiShellAcpiViewCommandLib:
> > > Fix FADT Parser
> > >
> > > FADT parser was checking for reduced ACPI flag incorrectly leading 
> > > to incorrect error message if FIRMWARE_CTRL and X_FIRMWARE_CTRL 
> > > are both 0.
> > >
> > > Signed-off-by: Ashish Singhal <ashishsingha@nvidia.com>
> > > ---
> > >  .../UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.c       | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git
> > > a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.
> > > c
> > > b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.
> > > c
> > > index 5b8cc174f1..8acfbac3b1 100644
> > > ---
> > > a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.
> > > c
> > > +++
> > > b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtPa
> > > rs
> > > +++ er.c
> > > @@ -253,7 +253,7 @@ ParseAcpiFadt (
> > >      // present.
> > >      if ((Trace) &&
> > >          (Flags != NULL) &&
> > > -        ((*Flags & EFI_ACPI_6_3_HW_REDUCED_ACPI) != 0)) {
> > > +        ((*Flags & EFI_ACPI_6_3_HW_REDUCED_ACPI) !=
> > > + EFI_ACPI_6_3_HW_REDUCED_ACPI)) {
> > >        IncrementErrorCount ();
> > >        Print (L"ERROR: No FACS table found, "
> > >                 L"both X_FIRMWARE_CTRL and FIRMWARE_CTRL are 
> > > zero.\n");
> > > --
> > > 2.17.1
> > >
> > >
> > >
> >
> > --------------------------------------------------------------------
> > --
> > ------------- This email message is for the sole use of the intended
> > recipient(s) and may contain confidential information.  Any 
> > unauthorized review, use, disclosure or distribution is prohibited.
> > If you are not the intended recipient, please contact the sender by 
> > reply email and destroy all copies of the original message.
> > --------------------------------------------------------------------
> > --
> > -------------
>
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-02-11  5:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-20  5:44 [PATCH] ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser Ashish Singhal
2020-01-20  7:42 ` [edk2-devel] " Gao, Zhichao
2020-01-27 17:28   ` Ashish Singhal
2020-01-31  5:32     ` Gao, Zhichao
2020-02-10 17:39       ` Ashish Singhal
2020-02-11  2:54         ` Gao, Zhichao
2020-02-11  5:22           ` Ashish Singhal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox