From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 7927B7803CD for ; Tue, 23 Jul 2024 18:01:08 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=yNHHZ+HORzF/QSLLlCN4LgNPllZHYwwiENlrE2EunaQ=; c=relaxed/simple; d=groups.io; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240206; t=1721757668; v=1; b=mfk0T5z8Tw+E08TKSGOxX3MIeA25UWsa+LSKr+RgO8yaNjtz4hMdLyO177ueJyrGureV7fLU svL7r8heQjhW7/0bjA1soKe/oZrJrzEZXJwvCh+Bc2Rjh9rL4qi8hGp+t0Z2HGcCro66LMuwADJ lCvLu/UceYa3tPzRePxRJQSB449Xe7Nnfyk1Rva7qE3hJvaf0AF0ZnyhbeProWBVvuzfqaw0jGQ 7nieAdE3Eq6OJQUoNMl8oob9imRxhbgEV4Hs3WA+tt0GdLlreScOzZiXtLmrxXlAPT5lSX0eiik NJ5cNimuN56iMLEwWZBYWglft7F+p0FJmc2IaLRdSfxbQ== X-Received: by 127.0.0.2 with SMTP id gxA3YY7687511xhBlFp0qSFl; Tue, 23 Jul 2024 11:01:07 -0700 X-Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) by mx.groups.io with SMTP id smtpd.web11.25818.1721573533623012716 for ; Sun, 21 Jul 2024 07:52:13 -0700 X-Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-664916e5b40so66710867b3.1 for ; Sun, 21 Jul 2024 07:52:13 -0700 (PDT) X-Gm-Message-State: JNtSthtxTlmWbHQj2Mh4DCH3x7686176AA= X-Google-Smtp-Source: AGHT+IEwnRztc2Fa8mjXlXqwQDO+kJXCTfxreyzQuVER09pzp0jG94sqlFgTdW0rELAlvnwFGZYOhh0F X-Received: from palermo.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:118a]) (user=ardb job=sendgmr) by 2002:a05:690c:385:b0:65b:a403:5ec1 with SMTP id 00721157ae682-66a6654b847mr5806877b3.4.1721573532508; Sun, 21 Jul 2024 07:52:12 -0700 (PDT) Date: Sun, 21 Jul 2024 16:51:54 +0200 In-Reply-To: <20240721145155.324900-1-ardb+git@google.com> Mime-Version: 1.0 References: <20240721145155.324900-1-ardb+git@google.com> Message-ID: <20240721145155.324900-4-ardb+git@google.com> Subject: [edk2-devel] [PATCH edk2-platforms 3/4] Platform/Ampere: Switch to generic ResetRuntime DXE driver From: "Ard Biesheuvel via groups.io" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Oliver Smith-Denny , Rebecca Cran , Nhi Pham , Chuong Tran , Peng Xie , Ling Jia , Yiqi Shu Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Tue, 23 Jul 2024 11:01:04 -0700 Resent-From: ardb+git@google.com Reply-To: devel@edk2.groups.io,ardb+git@google.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=mfk0T5z8; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io From: Ard Biesheuvel The reset runtime DXE driver is deprecated and will be removed soon. It is superseded by a generic implementation in MdeModulePkg, which is shared between all architectures, and implements the notification protocols that the EFI spec describes. So move the Ampere Jade platform to this implementation the of ResetSystem EFI runtime service. Signed-off-by: Ard Biesheuvel --- Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc | 3 +-- Platform/Ampere/JadePkg/Jade.fdf | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc b/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc index 1f705c68579a..fb170d436d00 100644 --- a/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc +++ b/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc @@ -259,7 +259,6 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER] !endif VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf - EfiResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf NVParamLib|Silicon/Ampere/AmpereAltraPkg/Library/NVParamLib/RuntimeNVParamLib.inf AmpereCpuLib|Silicon/Ampere/AmpereAltraPkg/Library/AmpereCpuLib/RuntimeAmpereCpuLib.inf @@ -588,7 +587,7 @@ [Components.common] !endif MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf - EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf + MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.inf diff --git a/Platform/Ampere/JadePkg/Jade.fdf b/Platform/Ampere/JadePkg/Jade.fdf index 7795f0e11115..127e4401f69b 100644 --- a/Platform/Ampere/JadePkg/Jade.fdf +++ b/Platform/Ampere/JadePkg/Jade.fdf @@ -222,7 +222,7 @@ [FV.FvMain] INF SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf !endif INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf - INF EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf + INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf -- 2.45.2.1089.g2a221341d9-goog -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120021): https://edk2.groups.io/g/devel/message/120021 Mute This Topic: https://groups.io/mt/107509603/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-