public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 1/1] StandaloneMmPkg: Fix build failure - Bug 2253
@ 2019-11-25  9:06 Sami Mujawar
  2019-11-25 11:10 ` Sami Mujawar
  2019-11-25 12:14 ` Laszlo Ersek
  0 siblings, 2 replies; 5+ messages in thread
From: Sami Mujawar @ 2019-11-25  9:06 UTC (permalink / raw)
  To: devel
  Cc: Sami Mujawar, achin.gupta, jiewen.yao, supreeth.venkatesh, lersek,
	Matteo.Carlini, Laura.Moretta, nd

The StandaloneMmPkg currently has code for supporting
Arm architecture only. Support for X64 and IA32 is
currently under development on a separate branch.

However, StandaloneMmPkg/StandaloneMmPkg.dsc is
indicating that support for X64 and IA32 is
available which is causing build failures.
This has been reported in
https://bugzilla.tianocore.org/show_bug.cgi?id=2253

This issue has been discussed earlier on the list:
(1) https://edk2.groups.io/g/devel/message/47276

(2) https://edk2.groups.io/g/devel/message/47283

In light of the above, this patch removes IA32 and X64
from SUPPORTED_ARCHITECTURES, until support for the
respective architectures is merged into StandaloneMmPkg.

Cc: Achin Gupta <achin.gupta@arm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>

---
The changes can be seen at:
https://github.com/samimujawar/edk2/tree/697_stmm_disable_unsupported_arch_v1

Notes:
    v2:
      - Fixed patch check failure in commit message,                [SAMI]
          changed 'CC' to 'Cc'. No code change.            
    v1:
      - Fix for Bug 2253                                            [SAMI]
        (https://bugzilla.tianocore.org/show_bug.cgi?id=2253)

 StandaloneMmPkg/StandaloneMmPkg.dsc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/StandaloneMmPkg/StandaloneMmPkg.dsc b/StandaloneMmPkg/StandaloneMmPkg.dsc
index 8a68d397469bdb83586bfeaebedcd52fd528b20f..f9546e182e25fbcd253de0986a1bb554dae1e975 100644
--- a/StandaloneMmPkg/StandaloneMmPkg.dsc
+++ b/StandaloneMmPkg/StandaloneMmPkg.dsc
@@ -2,7 +2,7 @@
 # Standalone MM Platform.
 #
 # Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
-# Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>
+# Copyright (c) 2016 - 2019, ARM Limited. All rights reserved.<BR>
 #
 #    SPDX-License-Identifier: BSD-2-Clause-Patent
 #
@@ -19,7 +19,7 @@ [Defines]
   PLATFORM_VERSION               = 1.0
   DSC_SPECIFICATION              = 0x00010011
   OUTPUT_DIRECTORY               = Build/StandaloneMm
-  SUPPORTED_ARCHITECTURES        = IA32|X64|AARCH64
+  SUPPORTED_ARCHITECTURES        = AARCH64
   BUILD_TARGETS                  = DEBUG|RELEASE
   SKUID_IDENTIFIER               = DEFAULT
 
-- 
'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'



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

* Re: [PATCH v2 1/1] StandaloneMmPkg: Fix build failure - Bug 2253
  2019-11-25  9:06 [PATCH v2 1/1] StandaloneMmPkg: Fix build failure - Bug 2253 Sami Mujawar
@ 2019-11-25 11:10 ` Sami Mujawar
  2019-11-25 13:03   ` Laszlo Ersek
  2019-11-25 12:14 ` Laszlo Ersek
  1 sibling, 1 reply; 5+ messages in thread
From: Sami Mujawar @ 2019-11-25 11:10 UTC (permalink / raw)
  To: Sami Mujawar, devel@edk2.groups.io
  Cc: Achin Gupta, jiewen.yao@intel.com, Supreeth Venkatesh,
	lersek@redhat.com, Matteo Carlini, Laura Moretta, nd

Apologies, I missed #28 'Pick up the tags that you got on the list', from Laszlo's guide.

This patch has also received a Reviewed-by from:
    Reviewed-by: jiewen.yao@intel.com
    Reviewed-by: Laszlo Ersek <lersek@redhat.com>

Regards,

Sami Mujawar

-----Original Message-----
From: Sami Mujawar <sami.mujawar@arm.com> 
Sent: 25 November 2019 09:06 AM
To: devel@edk2.groups.io
Cc: Sami Mujawar <Sami.Mujawar@arm.com>; Achin Gupta <Achin.Gupta@arm.com>; jiewen.yao@intel.com; Supreeth Venkatesh <Supreeth.Venkatesh@arm.com>; lersek@redhat.com; Matteo Carlini <Matteo.Carlini@arm.com>; Laura Moretta <Laura.Moretta@arm.com>; nd <nd@arm.com>
Subject: [PATCH v2 1/1] StandaloneMmPkg: Fix build failure - Bug 2253

The StandaloneMmPkg currently has code for supporting Arm architecture only. Support for X64 and IA32 is currently under development on a separate branch.

However, StandaloneMmPkg/StandaloneMmPkg.dsc is indicating that support for X64 and IA32 is available which is causing build failures.
This has been reported in
https://bugzilla.tianocore.org/show_bug.cgi?id=2253

This issue has been discussed earlier on the list:
(1) https://edk2.groups.io/g/devel/message/47276

(2) https://edk2.groups.io/g/devel/message/47283

In light of the above, this patch removes IA32 and X64 from SUPPORTED_ARCHITECTURES, until support for the respective architectures is merged into StandaloneMmPkg.

Cc: Achin Gupta <achin.gupta@arm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>

---
The changes can be seen at:
https://github.com/samimujawar/edk2/tree/697_stmm_disable_unsupported_arch_v1

Notes:
    v2:
      - Fixed patch check failure in commit message,                [SAMI]
          changed 'CC' to 'Cc'. No code change.            
    v1:
      - Fix for Bug 2253                                            [SAMI]
        (https://bugzilla.tianocore.org/show_bug.cgi?id=2253)

 StandaloneMmPkg/StandaloneMmPkg.dsc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/StandaloneMmPkg/StandaloneMmPkg.dsc b/StandaloneMmPkg/StandaloneMmPkg.dsc
index 8a68d397469bdb83586bfeaebedcd52fd528b20f..f9546e182e25fbcd253de0986a1bb554dae1e975 100644
--- a/StandaloneMmPkg/StandaloneMmPkg.dsc
+++ b/StandaloneMmPkg/StandaloneMmPkg.dsc
@@ -2,7 +2,7 @@
 # Standalone MM Platform.
 #
 # Copyright (c) 2015, Intel Corporation. All rights reserved.<BR> -# Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>
+# Copyright (c) 2016 - 2019, ARM Limited. All rights reserved.<BR>
 #
 #    SPDX-License-Identifier: BSD-2-Clause-Patent
 #
@@ -19,7 +19,7 @@ [Defines]
   PLATFORM_VERSION               = 1.0
   DSC_SPECIFICATION              = 0x00010011
   OUTPUT_DIRECTORY               = Build/StandaloneMm
-  SUPPORTED_ARCHITECTURES        = IA32|X64|AARCH64
+  SUPPORTED_ARCHITECTURES        = AARCH64
   BUILD_TARGETS                  = DEBUG|RELEASE
   SKUID_IDENTIFIER               = DEFAULT
 
--
'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'



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

* Re: [PATCH v2 1/1] StandaloneMmPkg: Fix build failure - Bug 2253
  2019-11-25  9:06 [PATCH v2 1/1] StandaloneMmPkg: Fix build failure - Bug 2253 Sami Mujawar
  2019-11-25 11:10 ` Sami Mujawar
@ 2019-11-25 12:14 ` Laszlo Ersek
  1 sibling, 0 replies; 5+ messages in thread
From: Laszlo Ersek @ 2019-11-25 12:14 UTC (permalink / raw)
  To: Sami Mujawar, devel
  Cc: achin.gupta, jiewen.yao, supreeth.venkatesh, Matteo.Carlini,
	Laura.Moretta, nd

On 11/25/19 10:06, Sami Mujawar wrote:
> The StandaloneMmPkg currently has code for supporting
> Arm architecture only. Support for X64 and IA32 is
> currently under development on a separate branch.
> 
> However, StandaloneMmPkg/StandaloneMmPkg.dsc is
> indicating that support for X64 and IA32 is
> available which is causing build failures.
> This has been reported in
> https://bugzilla.tianocore.org/show_bug.cgi?id=2253
> 
> This issue has been discussed earlier on the list:
> (1) https://edk2.groups.io/g/devel/message/47276
> 
> (2) https://edk2.groups.io/g/devel/message/47283
> 
> In light of the above, this patch removes IA32 and X64
> from SUPPORTED_ARCHITECTURES, until support for the
> respective architectures is merged into StandaloneMmPkg.
> 
> Cc: Achin Gupta <achin.gupta@arm.com>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
> Cc: Laszlo Ersek <lersek@redhat.com>
> Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
> 
> ---
> The changes can be seen at:
> https://github.com/samimujawar/edk2/tree/697_stmm_disable_unsupported_arch_v1
> 
> Notes:
>     v2:
>       - Fixed patch check failure in commit message,                [SAMI]
>           changed 'CC' to 'Cc'. No code change.            
>     v1:
>       - Fix for Bug 2253                                            [SAMI]
>         (https://bugzilla.tianocore.org/show_bug.cgi?id=2253)
> 
>  StandaloneMmPkg/StandaloneMmPkg.dsc | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/StandaloneMmPkg/StandaloneMmPkg.dsc b/StandaloneMmPkg/StandaloneMmPkg.dsc
> index 8a68d397469bdb83586bfeaebedcd52fd528b20f..f9546e182e25fbcd253de0986a1bb554dae1e975 100644
> --- a/StandaloneMmPkg/StandaloneMmPkg.dsc
> +++ b/StandaloneMmPkg/StandaloneMmPkg.dsc
> @@ -2,7 +2,7 @@
>  # Standalone MM Platform.
>  #
>  # Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
> -# Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>
> +# Copyright (c) 2016 - 2019, ARM Limited. All rights reserved.<BR>
>  #
>  #    SPDX-License-Identifier: BSD-2-Clause-Patent
>  #
> @@ -19,7 +19,7 @@ [Defines]
>    PLATFORM_VERSION               = 1.0
>    DSC_SPECIFICATION              = 0x00010011
>    OUTPUT_DIRECTORY               = Build/StandaloneMm
> -  SUPPORTED_ARCHITECTURES        = IA32|X64|AARCH64
> +  SUPPORTED_ARCHITECTURES        = AARCH64
>    BUILD_TARGETS                  = DEBUG|RELEASE
>    SKUID_IDENTIFIER               = DEFAULT
>  
> 

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


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

* Re: [PATCH v2 1/1] StandaloneMmPkg: Fix build failure - Bug 2253
  2019-11-25 11:10 ` Sami Mujawar
@ 2019-11-25 13:03   ` Laszlo Ersek
  2019-11-25 13:07     ` [edk2-devel] " Liming Gao
  0 siblings, 1 reply; 5+ messages in thread
From: Laszlo Ersek @ 2019-11-25 13:03 UTC (permalink / raw)
  To: Sami Mujawar, devel@edk2.groups.io
  Cc: Achin Gupta, jiewen.yao@intel.com, Supreeth Venkatesh,
	Matteo Carlini, Laura Moretta, nd

On 11/25/19 12:10, Sami Mujawar wrote:
> Apologies, I missed #28 'Pick up the tags that you got on the list', from Laszlo's guide.
> 
> This patch has also received a Reviewed-by from:
>     Reviewed-by: jiewen.yao@intel.com
>     Reviewed-by: Laszlo Ersek <lersek@redhat.com>

Right, I noticed, but I figured I wouldn't obsess about it. :)

Thank you though!
Laszlo

> -----Original Message-----
> From: Sami Mujawar <sami.mujawar@arm.com> 
> Sent: 25 November 2019 09:06 AM
> To: devel@edk2.groups.io
> Cc: Sami Mujawar <Sami.Mujawar@arm.com>; Achin Gupta <Achin.Gupta@arm.com>; jiewen.yao@intel.com; Supreeth Venkatesh <Supreeth.Venkatesh@arm.com>; lersek@redhat.com; Matteo Carlini <Matteo.Carlini@arm.com>; Laura Moretta <Laura.Moretta@arm.com>; nd <nd@arm.com>
> Subject: [PATCH v2 1/1] StandaloneMmPkg: Fix build failure - Bug 2253
> 
> The StandaloneMmPkg currently has code for supporting Arm architecture only. Support for X64 and IA32 is currently under development on a separate branch.
> 
> However, StandaloneMmPkg/StandaloneMmPkg.dsc is indicating that support for X64 and IA32 is available which is causing build failures.
> This has been reported in
> https://bugzilla.tianocore.org/show_bug.cgi?id=2253
> 
> This issue has been discussed earlier on the list:
> (1) https://edk2.groups.io/g/devel/message/47276
> 
> (2) https://edk2.groups.io/g/devel/message/47283
> 
> In light of the above, this patch removes IA32 and X64 from SUPPORTED_ARCHITECTURES, until support for the respective architectures is merged into StandaloneMmPkg.
> 
> Cc: Achin Gupta <achin.gupta@arm.com>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
> Cc: Laszlo Ersek <lersek@redhat.com>
> Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
> 
> ---
> The changes can be seen at:
> https://github.com/samimujawar/edk2/tree/697_stmm_disable_unsupported_arch_v1
> 
> Notes:
>     v2:
>       - Fixed patch check failure in commit message,                [SAMI]
>           changed 'CC' to 'Cc'. No code change.            
>     v1:
>       - Fix for Bug 2253                                            [SAMI]
>         (https://bugzilla.tianocore.org/show_bug.cgi?id=2253)
> 
>  StandaloneMmPkg/StandaloneMmPkg.dsc | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/StandaloneMmPkg/StandaloneMmPkg.dsc b/StandaloneMmPkg/StandaloneMmPkg.dsc
> index 8a68d397469bdb83586bfeaebedcd52fd528b20f..f9546e182e25fbcd253de0986a1bb554dae1e975 100644
> --- a/StandaloneMmPkg/StandaloneMmPkg.dsc
> +++ b/StandaloneMmPkg/StandaloneMmPkg.dsc
> @@ -2,7 +2,7 @@
>  # Standalone MM Platform.
>  #
>  # Copyright (c) 2015, Intel Corporation. All rights reserved.<BR> -# Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>
> +# Copyright (c) 2016 - 2019, ARM Limited. All rights reserved.<BR>
>  #
>  #    SPDX-License-Identifier: BSD-2-Clause-Patent
>  #
> @@ -19,7 +19,7 @@ [Defines]
>    PLATFORM_VERSION               = 1.0
>    DSC_SPECIFICATION              = 0x00010011
>    OUTPUT_DIRECTORY               = Build/StandaloneMm
> -  SUPPORTED_ARCHITECTURES        = IA32|X64|AARCH64
> +  SUPPORTED_ARCHITECTURES        = AARCH64
>    BUILD_TARGETS                  = DEBUG|RELEASE
>    SKUID_IDENTIFIER               = DEFAULT
>  
> --
> 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'
> 
> 


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

* Re: [edk2-devel] [PATCH v2 1/1] StandaloneMmPkg: Fix build failure - Bug 2253
  2019-11-25 13:03   ` Laszlo Ersek
@ 2019-11-25 13:07     ` Liming Gao
  0 siblings, 0 replies; 5+ messages in thread
From: Liming Gao @ 2019-11-25 13:07 UTC (permalink / raw)
  To: devel@edk2.groups.io, lersek@redhat.com, Sami Mujawar
  Cc: Achin Gupta, Yao, Jiewen, Supreeth Venkatesh, Matteo Carlini,
	Laura Moretta, nd

Just create PR https://github.com/tianocore/edk2/pull/195, and push@290a485d6043a049b611aab30f450c74b8591f35

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Laszlo Ersek
> Sent: Monday, November 25, 2019 9:04 PM
> To: Sami Mujawar <Sami.Mujawar@arm.com>; devel@edk2.groups.io
> Cc: Achin Gupta <Achin.Gupta@arm.com>; Yao, Jiewen <jiewen.yao@intel.com>; Supreeth Venkatesh <Supreeth.Venkatesh@arm.com>;
> Matteo Carlini <Matteo.Carlini@arm.com>; Laura Moretta <Laura.Moretta@arm.com>; nd <nd@arm.com>
> Subject: Re: [edk2-devel] [PATCH v2 1/1] StandaloneMmPkg: Fix build failure - Bug 2253
> 
> On 11/25/19 12:10, Sami Mujawar wrote:
> > Apologies, I missed #28 'Pick up the tags that you got on the list', from Laszlo's guide.
> >
> > This patch has also received a Reviewed-by from:
> >     Reviewed-by: jiewen.yao@intel.com
> >     Reviewed-by: Laszlo Ersek <lersek@redhat.com>
> 
> Right, I noticed, but I figured I wouldn't obsess about it. :)
> 
> Thank you though!
> Laszlo
> 
> > -----Original Message-----
> > From: Sami Mujawar <sami.mujawar@arm.com>
> > Sent: 25 November 2019 09:06 AM
> > To: devel@edk2.groups.io
> > Cc: Sami Mujawar <Sami.Mujawar@arm.com>; Achin Gupta <Achin.Gupta@arm.com>; jiewen.yao@intel.com; Supreeth Venkatesh
> <Supreeth.Venkatesh@arm.com>; lersek@redhat.com; Matteo Carlini <Matteo.Carlini@arm.com>; Laura Moretta
> <Laura.Moretta@arm.com>; nd <nd@arm.com>
> > Subject: [PATCH v2 1/1] StandaloneMmPkg: Fix build failure - Bug 2253
> >
> > The StandaloneMmPkg currently has code for supporting Arm architecture only. Support for X64 and IA32 is currently under
> development on a separate branch.
> >
> > However, StandaloneMmPkg/StandaloneMmPkg.dsc is indicating that support for X64 and IA32 is available which is causing build
> failures.
> > This has been reported in
> > https://bugzilla.tianocore.org/show_bug.cgi?id=2253
> >
> > This issue has been discussed earlier on the list:
> > (1) https://edk2.groups.io/g/devel/message/47276
> >
> > (2) https://edk2.groups.io/g/devel/message/47283
> >
> > In light of the above, this patch removes IA32 and X64 from SUPPORTED_ARCHITECTURES, until support for the respective
> architectures is merged into StandaloneMmPkg.
> >
> > Cc: Achin Gupta <achin.gupta@arm.com>
> > Cc: Jiewen Yao <jiewen.yao@intel.com>
> > Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
> > Cc: Laszlo Ersek <lersek@redhat.com>
> > Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
> >
> > ---
> > The changes can be seen at:
> > https://github.com/samimujawar/edk2/tree/697_stmm_disable_unsupported_arch_v1
> >
> > Notes:
> >     v2:
> >       - Fixed patch check failure in commit message,                [SAMI]
> >           changed 'CC' to 'Cc'. No code change.
> >     v1:
> >       - Fix for Bug 2253                                            [SAMI]
> >         (https://bugzilla.tianocore.org/show_bug.cgi?id=2253)
> >
> >  StandaloneMmPkg/StandaloneMmPkg.dsc | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/StandaloneMmPkg/StandaloneMmPkg.dsc b/StandaloneMmPkg/StandaloneMmPkg.dsc
> > index 8a68d397469bdb83586bfeaebedcd52fd528b20f..f9546e182e25fbcd253de0986a1bb554dae1e975 100644
> > --- a/StandaloneMmPkg/StandaloneMmPkg.dsc
> > +++ b/StandaloneMmPkg/StandaloneMmPkg.dsc
> > @@ -2,7 +2,7 @@
> >  # Standalone MM Platform.
> >  #
> >  # Copyright (c) 2015, Intel Corporation. All rights reserved.<BR> -# Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>
> > +# Copyright (c) 2016 - 2019, ARM Limited. All rights reserved.<BR>
> >  #
> >  #    SPDX-License-Identifier: BSD-2-Clause-Patent
> >  #
> > @@ -19,7 +19,7 @@ [Defines]
> >    PLATFORM_VERSION               = 1.0
> >    DSC_SPECIFICATION              = 0x00010011
> >    OUTPUT_DIRECTORY               = Build/StandaloneMm
> > -  SUPPORTED_ARCHITECTURES        = IA32|X64|AARCH64
> > +  SUPPORTED_ARCHITECTURES        = AARCH64
> >    BUILD_TARGETS                  = DEBUG|RELEASE
> >    SKUID_IDENTIFIER               = DEFAULT
> >
> > --
> > 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'
> >
> >
> 
> 
> 


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

end of thread, other threads:[~2019-11-25 13:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-25  9:06 [PATCH v2 1/1] StandaloneMmPkg: Fix build failure - Bug 2253 Sami Mujawar
2019-11-25 11:10 ` Sami Mujawar
2019-11-25 13:03   ` Laszlo Ersek
2019-11-25 13:07     ` [edk2-devel] " Liming Gao
2019-11-25 12:14 ` Laszlo Ersek

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