public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel][PATCH v2 1/1] MdeModulePkg: Remove ArmPkg Dependency
@ 2024-02-14 23:20 Oliver Smith-Denny
  0 siblings, 0 replies; 4+ messages in thread
From: Oliver Smith-Denny @ 2024-02-14 23:20 UTC (permalink / raw)
  To: devel
  Cc: Leif Lindholm, Ard Biesheuvel, Sami Mujawar, Liming Gao,
	Sean Brogan, Ard Biesheuvel

With commita21a994f55e53325d3e060c435ca3a87fd7c2c79
MdeModulePkg no longer has a hard dependency on ArmMmuLib and therefore
ArmLib. This is the final dependency on ArmPkg, so remove the
unused libs and drop the allowed dependency on ArmPkg as
MdeModulePkg should not depend on it as this is a circular
dependency.

Github PR: https://github.com/tianocore/edk2/pull/5361
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3651

Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>

Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com>
Reviewed-by: Sean Brogan <sean.brogan@microsoft.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
---

Notes:
    v2:
    - Add bugzilla link to commit message
    - Add Sean's RB and Ard's ack

 MdeModulePkg/MdeModulePkg.dsc     | 2 --
 MdeModulePkg/MdeModulePkg.ci.yaml | 3 +--
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc
index 6b3052ff4614..c0f1df3bfbca 100644
--- a/MdeModulePkg/MdeModulePkg.dsc
+++ b/MdeModulePkg/MdeModulePkg.dsc
@@ -179,8 +179,6 @@ [LibraryClasses.common.MM_STANDALONE]
   MemLib|StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf
 
 [LibraryClasses.ARM, LibraryClasses.AARCH64]
-  ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
-  ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
   LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
 
   #
diff --git a/MdeModulePkg/MdeModulePkg.ci.yaml b/MdeModulePkg/MdeModulePkg.ci.yaml
index 669f54e33c0d..a3de60a12c9e 100644
--- a/MdeModulePkg/MdeModulePkg.ci.yaml
+++ b/MdeModulePkg/MdeModulePkg.ci.yaml
@@ -53,8 +53,7 @@
         "AcceptableDependencies": [
             "MdePkg/MdePkg.dec",
             "MdeModulePkg/MdeModulePkg.dec",
-            "StandaloneMmPkg/StandaloneMmPkg.dec",
-            "ArmPkg/ArmPkg.dec"  # this should be fixed by promoting an abstraction
+            "StandaloneMmPkg/StandaloneMmPkg.dec"
         ],
         # For host based unit tests
         "AcceptableDependencies-HOST_APPLICATION":[
-- 
2.40.1



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



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

* Re: [edk2-devel][PATCH v2 1/1] MdeModulePkg: Remove ArmPkg Dependency
       [not found] <17B3DE09466BEB48.21218@groups.io>
@ 2024-02-26 16:47 ` Oliver Smith-Denny
       [not found] ` <17B7778B258D489D.13095@groups.io>
  2024-03-13 17:41 ` Oliver Smith-Denny
  2 siblings, 0 replies; 4+ messages in thread
From: Oliver Smith-Denny @ 2024-02-26 16:47 UTC (permalink / raw)
  To: devel, Liming Gao
  Cc: Leif Lindholm, Ard Biesheuvel, Sami Mujawar, Liming Gao,
	Sean Brogan, Ard Biesheuvel

Hi Liming,

Now that the stable tag is completed, can you review this MdeModulePkg
patch?

Thanks,
Oliver

On 2/14/2024 3:20 PM, Oliver Smith-Denny wrote:
> With commita21a994f55e53325d3e060c435ca3a87fd7c2c79
> MdeModulePkg no longer has a hard dependency on ArmMmuLib and therefore
> ArmLib. This is the final dependency on ArmPkg, so remove the
> unused libs and drop the allowed dependency on ArmPkg as
> MdeModulePkg should not depend on it as this is a circular
> dependency.
> 
> Github PR: https://github.com/tianocore/edk2/pull/5361
> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3651
> 
> Cc: Leif Lindholm <quic_llindhol@quicinc.com>
> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
> Cc: Sami Mujawar <sami.mujawar@arm.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> 
> Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com>
> Reviewed-by: Sean Brogan <sean.brogan@microsoft.com>
> Acked-by: Ard Biesheuvel <ardb@kernel.org>
> ---
> 
> Notes:
>      v2:
>      - Add bugzilla link to commit message
>      - Add Sean's RB and Ard's ack
> 
>   MdeModulePkg/MdeModulePkg.dsc     | 2 --
>   MdeModulePkg/MdeModulePkg.ci.yaml | 3 +--
>   2 files changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc
> index 6b3052ff4614..c0f1df3bfbca 100644
> --- a/MdeModulePkg/MdeModulePkg.dsc
> +++ b/MdeModulePkg/MdeModulePkg.dsc
> @@ -179,8 +179,6 @@ [LibraryClasses.common.MM_STANDALONE]
>     MemLib|StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf
>   
>   [LibraryClasses.ARM, LibraryClasses.AARCH64]
> -  ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
> -  ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
>     LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
>   
>     #
> diff --git a/MdeModulePkg/MdeModulePkg.ci.yaml b/MdeModulePkg/MdeModulePkg.ci.yaml
> index 669f54e33c0d..a3de60a12c9e 100644
> --- a/MdeModulePkg/MdeModulePkg.ci.yaml
> +++ b/MdeModulePkg/MdeModulePkg.ci.yaml
> @@ -53,8 +53,7 @@
>           "AcceptableDependencies": [
>               "MdePkg/MdePkg.dec",
>               "MdeModulePkg/MdeModulePkg.dec",
> -            "StandaloneMmPkg/StandaloneMmPkg.dec",
> -            "ArmPkg/ArmPkg.dec"  # this should be fixed by promoting an abstraction
> +            "StandaloneMmPkg/StandaloneMmPkg.dec"
>           ],
>           # For host based unit tests
>           "AcceptableDependencies-HOST_APPLICATION":[


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



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

* Re: [edk2-devel][PATCH v2 1/1] MdeModulePkg: Remove ArmPkg Dependency
       [not found] ` <17B7778B258D489D.13095@groups.io>
@ 2024-03-06 18:19   ` Oliver Smith-Denny
  0 siblings, 0 replies; 4+ messages in thread
From: Oliver Smith-Denny @ 2024-03-06 18:19 UTC (permalink / raw)
  To: devel, Liming Gao
  Cc: Leif Lindholm, Ard Biesheuvel, Sami Mujawar, Sean Brogan,
	Ard Biesheuvel

Hi Liming,

Friendly ping again, can you please review?

Oliver

On 2/26/2024 8:47 AM, Oliver Smith-Denny wrote:
> Hi Liming,
> 
> Now that the stable tag is completed, can you review this MdeModulePkg
> patch?
> 
> Thanks,
> Oliver
> 
> On 2/14/2024 3:20 PM, Oliver Smith-Denny wrote:
>> With commita21a994f55e53325d3e060c435ca3a87fd7c2c79
>> MdeModulePkg no longer has a hard dependency on ArmMmuLib and therefore
>> ArmLib. This is the final dependency on ArmPkg, so remove the
>> unused libs and drop the allowed dependency on ArmPkg as
>> MdeModulePkg should not depend on it as this is a circular
>> dependency.
>>
>> Github PR: https://github.com/tianocore/edk2/pull/5361
>> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3651
>>
>> Cc: Leif Lindholm <quic_llindhol@quicinc.com>
>> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
>> Cc: Sami Mujawar <sami.mujawar@arm.com>
>> Cc: Liming Gao <gaoliming@byosoft.com.cn>
>>
>> Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com>
>> Reviewed-by: Sean Brogan <sean.brogan@microsoft.com>
>> Acked-by: Ard Biesheuvel <ardb@kernel.org>
>> ---
>>
>> Notes:
>>      v2:
>>      - Add bugzilla link to commit message
>>      - Add Sean's RB and Ard's ack
>>
>>   MdeModulePkg/MdeModulePkg.dsc     | 2 --
>>   MdeModulePkg/MdeModulePkg.ci.yaml | 3 +--
>>   2 files changed, 1 insertion(+), 4 deletions(-)
>>
>> diff --git a/MdeModulePkg/MdeModulePkg.dsc 
>> b/MdeModulePkg/MdeModulePkg.dsc
>> index 6b3052ff4614..c0f1df3bfbca 100644
>> --- a/MdeModulePkg/MdeModulePkg.dsc
>> +++ b/MdeModulePkg/MdeModulePkg.dsc
>> @@ -179,8 +179,6 @@ [LibraryClasses.common.MM_STANDALONE]
>>     
>> MemLib|StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf
>>   [LibraryClasses.ARM, LibraryClasses.AARCH64]
>> -  ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
>> -  ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
>>     LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
>>     #
>> diff --git a/MdeModulePkg/MdeModulePkg.ci.yaml 
>> b/MdeModulePkg/MdeModulePkg.ci.yaml
>> index 669f54e33c0d..a3de60a12c9e 100644
>> --- a/MdeModulePkg/MdeModulePkg.ci.yaml
>> +++ b/MdeModulePkg/MdeModulePkg.ci.yaml
>> @@ -53,8 +53,7 @@
>>           "AcceptableDependencies": [
>>               "MdePkg/MdePkg.dec",
>>               "MdeModulePkg/MdeModulePkg.dec",
>> -            "StandaloneMmPkg/StandaloneMmPkg.dec",
>> -            "ArmPkg/ArmPkg.dec"  # this should be fixed by promoting 
>> an abstraction
>> +            "StandaloneMmPkg/StandaloneMmPkg.dec"
>>           ],
>>           # For host based unit tests
>>           "AcceptableDependencies-HOST_APPLICATION":[
> 
> 
> 
> 


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



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

* Re: [edk2-devel][PATCH v2 1/1] MdeModulePkg: Remove ArmPkg Dependency
       [not found] <17B3DE09466BEB48.21218@groups.io>
  2024-02-26 16:47 ` [edk2-devel][PATCH v2 1/1] MdeModulePkg: Remove ArmPkg Dependency Oliver Smith-Denny
       [not found] ` <17B7778B258D489D.13095@groups.io>
@ 2024-03-13 17:41 ` Oliver Smith-Denny
  2 siblings, 0 replies; 4+ messages in thread
From: Oliver Smith-Denny @ 2024-03-13 17:41 UTC (permalink / raw)
  To: devel, Ray Ni, Michael Kinney
  Cc: Leif Lindholm, Ard Biesheuvel, Sami Mujawar, Liming Gao,
	Sean Brogan, Ard Biesheuvel

Hi Ray and Mike,

Can you help get this patch reviewed and merged? See my other email,
this one has been languishing as well.

Thanks,
Oliver

On 2/14/2024 3:20 PM, Oliver Smith-Denny wrote:
> With commita21a994f55e53325d3e060c435ca3a87fd7c2c79
> MdeModulePkg no longer has a hard dependency on ArmMmuLib and therefore
> ArmLib. This is the final dependency on ArmPkg, so remove the
> unused libs and drop the allowed dependency on ArmPkg as
> MdeModulePkg should not depend on it as this is a circular
> dependency.
> 
> Github PR: https://github.com/tianocore/edk2/pull/5361
> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3651
> 
> Cc: Leif Lindholm <quic_llindhol@quicinc.com>
> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
> Cc: Sami Mujawar <sami.mujawar@arm.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> 
> Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com>
> Reviewed-by: Sean Brogan <sean.brogan@microsoft.com>
> Acked-by: Ard Biesheuvel <ardb@kernel.org>
> ---
> 
> Notes:
>      v2:
>      - Add bugzilla link to commit message
>      - Add Sean's RB and Ard's ack
> 
>   MdeModulePkg/MdeModulePkg.dsc     | 2 --
>   MdeModulePkg/MdeModulePkg.ci.yaml | 3 +--
>   2 files changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc
> index 6b3052ff4614..c0f1df3bfbca 100644
> --- a/MdeModulePkg/MdeModulePkg.dsc
> +++ b/MdeModulePkg/MdeModulePkg.dsc
> @@ -179,8 +179,6 @@ [LibraryClasses.common.MM_STANDALONE]
>     MemLib|StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf
>   
>   [LibraryClasses.ARM, LibraryClasses.AARCH64]
> -  ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
> -  ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
>     LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
>   
>     #
> diff --git a/MdeModulePkg/MdeModulePkg.ci.yaml b/MdeModulePkg/MdeModulePkg.ci.yaml
> index 669f54e33c0d..a3de60a12c9e 100644
> --- a/MdeModulePkg/MdeModulePkg.ci.yaml
> +++ b/MdeModulePkg/MdeModulePkg.ci.yaml
> @@ -53,8 +53,7 @@
>           "AcceptableDependencies": [
>               "MdePkg/MdePkg.dec",
>               "MdeModulePkg/MdeModulePkg.dec",
> -            "StandaloneMmPkg/StandaloneMmPkg.dec",
> -            "ArmPkg/ArmPkg.dec"  # this should be fixed by promoting an abstraction
> +            "StandaloneMmPkg/StandaloneMmPkg.dec"
>           ],
>           # For host based unit tests
>           "AcceptableDependencies-HOST_APPLICATION":[


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



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

end of thread, other threads:[~2024-03-13 17:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <17B3DE09466BEB48.21218@groups.io>
2024-02-26 16:47 ` [edk2-devel][PATCH v2 1/1] MdeModulePkg: Remove ArmPkg Dependency Oliver Smith-Denny
     [not found] ` <17B7778B258D489D.13095@groups.io>
2024-03-06 18:19   ` Oliver Smith-Denny
2024-03-13 17:41 ` Oliver Smith-Denny
2024-02-14 23:20 Oliver Smith-Denny

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