From nobody Wed Dec 25 13:31:04 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1508247738454201.85719137560295; Tue, 17 Oct 2017 06:42:18 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id C12992095B9EF; Tue, 17 Oct 2017 06:38:40 -0700 (PDT) Received: from mail-wr0-x22e.google.com (mail-wr0-x22e.google.com [IPv6:2a00:1450:400c:c0c::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id CDD01202E60E3 for ; Tue, 17 Oct 2017 06:38:38 -0700 (PDT) Received: by mail-wr0-x22e.google.com with SMTP id y44so1727592wry.10 for ; Tue, 17 Oct 2017 06:42:14 -0700 (PDT) Received: from localhost.localdomain ([154.144.50.139]) by smtp.gmail.com with ESMTPSA id n89sm11075027wmi.33.2017.10.17.06.42.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Oct 2017 06:42:11 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::22e; helo=mail-wr0-x22e.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=pz7IFp8QDdvD0vB5cL3lFM1McnsRxzeZOs4w+jOUydU=; b=UjjFkxV3HuoV+gW82pPIG7myAmCuO4KlwuWOvpUjEtdaUDIhNYOd0cN6FV48F0d1Pm 8PPvOmDEKzdbUf6dPv7Y+v1SaiGozIj/h/ouhoExDLCGEASiDOZTYsf3fjAXy/Dm5qOe oK7fZ9F5RpPlAGTiMht7kdSn5qWqHjQFCk7tw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=pz7IFp8QDdvD0vB5cL3lFM1McnsRxzeZOs4w+jOUydU=; b=Ac+quIIe2zEiP626ihdJ2axz6ikLK033rCvx7QbqlJCLq7mwTC3tylr4ItUSRoKWmI jeaEAN8NMEx+AlYcQlA9Y7WKjv5tRQe4h8F0EWR+C+LQ/GZBh6z6ZnLGES33FTIg2vne lUt0+c/Yum68Y+I65w7eKwALmK1PXAl7+vUjCu1oN1/cAXL0tzPa9+328ZRBxFsZe/Cz aomc7AVpmAsEzYXVkxomhot0t9mQAxafhixsvOM1iKgVd+Lro0td8rSE9bDci2m80a8d 5QZ1brNpffv2/3TVagEaL2PwncuodYgPLpYld42DZDGr3MVUzfm/26040gsNZdPwCVTE 6QHw== X-Gm-Message-State: AMCzsaVfKaAVsopYcl/mIY9kDzoL3N4MD68yf6W+3xl8yJcF+1cueBx4 PROJd1nlq98MbD2DW8WhxjmOx9J9bI4= X-Google-Smtp-Source: ABhQp+Qhzivzq80PakBBDH5BpKVLbrVxoX82kBVtTb/6MpzeXKnSoftE4QDdwiDLTP6/dOELuvJD1w== X-Received: by 10.223.195.61 with SMTP id n58mr3678193wrf.12.1508247732812; Tue, 17 Oct 2017 06:42:12 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Tue, 17 Oct 2017 14:42:05 +0100 Message-Id: <20171017134205.3907-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [edk2] [PATCH edk2-platforms v2] Platform/ARM: use appropriate ReportStatusCodeLib resolution for RT drivers X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ard Biesheuvel , sudeep.holla@arm.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" ResetSystemRuntimeDxe may be invoked by the OS at runtime, at which time it will attempt to call into ReportStatusCodeLib. If we use the default version for DXE drivers, this will access data structures that are no longer there so switch to the special runtime version instead. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Reviewed-by: Leif Lindholm Tested-by: Sudeep Holla --- Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc b/Platform/ARM/VE= xpressPkg/ArmVExpress.dsc.inc index 8bcb84869c84..1605eedbdd8c 100644 --- a/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc +++ b/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc @@ -240,6 +240,7 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER] MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpres= sSysConfigRuntimeLib/ArmVExpressSysConfigRuntimeLib.inf + ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/R= untimeDxeReportStatusCodeLib.inf !if $(SECURE_BOOT_ENABLE) =3D=3D TRUE BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf !endif --=20 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel