From: "Sami Mujawar" <sami.mujawar@arm.com>
To: Ard Biesheuvel <ardb+git@google.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: Ard Biesheuvel <ardb@kernel.org>,
Leif Lindholm <quic_llindhol@quicinc.com>,
Thomas Abraham <thomas.abraham@arm.com>, nd <nd@arm.com>
Subject: Re: [edk2-devel] [PATCH edk2-platforms 04/11] Platform/ARM: Switch to generic ArmPsciResetSystemLib
Date: Thu, 25 Jul 2024 10:12:06 +0000 [thread overview]
Message-ID: <7C594CE7-2857-47E2-A31D-4D0D9AF6F96C@arm.com> (raw)
In-Reply-To: <20240725082502.1566409-5-ardb+git@google.com>
Hi Ard,
Thank you for this patch.
These changes look good to me.
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Regards,
Sami Mujawar
On 25/07/2024, 09:25, "Ard Biesheuvel" <ardb+git@google.com <mailto:ardb+git@google.com>> wrote:
From: Ard Biesheuvel <ardb@kernel.org <mailto:ardb@kernel.org>>
The PSCI reset libraries in ArmPkg are being consolidated into a single
one to reduce the maintenance burden of having multiple libraries doing
the same thing in a slightly different way.
Move the ARM platforms to the generic ArmPsciResetSystemLib, and drop
the dependency on ArmSmcPsciResetSystemLib, which is deprecated and will
be removed.
Cc: Sami Mujawar <sami.mujawar@arm.com <mailto:sami.mujawar@arm.com>>
Cc: Thomas Abraham <thomas.abraham@arm.com <mailto:thomas.abraham@arm.com>>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org <mailto:ardb@kernel.org>>
---
Platform/ARM/SgiPkg/SgiPlatform.dsc.inc | 3 ++-
Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc b/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc
index 1090fbe2a1fc..a793e96f8b0f 100644
--- a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc
+++ b/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc
@@ -39,7 +39,8 @@ [LibraryClasses.common]
# NOR flash identification support
NorFlashInfoLib|EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.inf
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
- ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf
+ ResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf
+ ArmMonitorLib|ArmPkg/Library/ArmMonitorLib/ArmMonitorLib.inf
TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
diff --git a/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc b/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc
index f7f7b39bbf58..8b9be9e0d372 100644
--- a/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc
+++ b/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc
@@ -97,7 +97,8 @@ [LibraryClasses.common]
NorFlashPlatformLib|Platform/ARM/VExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf
# NOR flash identification support
NorFlashInfoLib|EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.inf
- ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf
+ ResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf
+ ArmMonitorLib|ArmPkg/Library/ArmMonitorLib/ArmMonitorLib.inf
# ARM PL031 RTC Driver
RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
--
2.46.0.rc1.232.g9752f9e123-goog
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120034): https://edk2.groups.io/g/devel/message/120034
Mute This Topic: https://groups.io/mt/107540023/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
next prev parent reply other threads:[~2024-07-25 10:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-25 8:24 [edk2-devel] [PATCH edk2-platforms 00/11] Phase out ArmSmcPsciResetSystemLib Ard Biesheuvel via groups.io
2024-07-25 8:24 ` [edk2-devel] [PATCH edk2-platforms 01/11] Platform,Silicon: Fix line endings Ard Biesheuvel via groups.io
2024-07-25 8:24 ` [edk2-devel] [PATCH edk2-platforms 02/11] Silicon/SynQuacer: Fix CLANGDWARF build Ard Biesheuvel via groups.io
2024-07-25 8:24 ` [edk2-devel] [PATCH edk2-platforms 03/11] Platform/AMD/Styx: Switch to generic ArmPsciResetSystemLib Ard Biesheuvel via groups.io
2024-07-25 8:24 ` [edk2-devel] [PATCH edk2-platforms 04/11] Platform/ARM: " Ard Biesheuvel via groups.io
2024-07-25 10:12 ` Sami Mujawar [this message]
2024-07-25 8:24 ` [edk2-devel] [PATCH edk2-platforms 05/11] Platform/SbsaQemu: " Ard Biesheuvel via groups.io
2024-07-25 8:24 ` [edk2-devel] [PATCH edk2-platforms 06/11] Platform/SynQuacer: " Ard Biesheuvel via groups.io
2024-07-25 8:24 ` [edk2-devel] [PATCH edk2-platforms 07/11] Silicon/Ampere: " Ard Biesheuvel via groups.io
2024-07-26 9:06 ` Nhi Pham via groups.io
2024-07-25 8:24 ` [edk2-devel] [PATCH edk2-platforms 08/11] Silicon/HiSilicon: " Ard Biesheuvel via groups.io
2024-07-25 8:25 ` [edk2-devel] [PATCH edk2-platforms 09/11] Silicon/Armada7k8k: " Ard Biesheuvel via groups.io
2024-07-25 8:25 ` [edk2-devel] [PATCH edk2-platforms 10/11] Silicon/NxpQoriqLs: " Ard Biesheuvel via groups.io
2024-07-25 8:25 ` [edk2-devel] [PATCH edk2-platforms 11/11] Silicon/Phytium: " Ard Biesheuvel via groups.io
2024-07-25 9:49 ` [edk2-devel] [PATCH edk2-platforms 00/11] Phase out ArmSmcPsciResetSystemLib Leif Lindholm
2024-07-25 10:53 ` Ard Biesheuvel
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=7C594CE7-2857-47E2-A31D-4D0D9AF6F96C@arm.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