From nobody Tue Feb 10 11:23:42 2026 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; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1527152996390349.09475187720557; Thu, 24 May 2018 02:09:56 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 8EA3E20837987; Thu, 24 May 2018 02:09:54 -0700 (PDT) Received: from mail-wr0-x229.google.com (mail-wr0-x229.google.com [IPv6:2a00:1450:400c:c0c::229]) (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 6E5622083797E for ; Thu, 24 May 2018 02:09:53 -0700 (PDT) Received: by mail-wr0-x229.google.com with SMTP id 94-v6so1695830wrf.5 for ; Thu, 24 May 2018 02:09:53 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:3995:5470:200:1aff:fe1b:b328]) by smtp.gmail.com with ESMTPSA id x16-v6sm8505467wmc.2.2018.05.24.02.09.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 02:09:50 -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::229; helo=mail-wr0-x229.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:in-reply-to:references; bh=LCpnCNCs33DzSveES6v511Mbo9P1AMOOUBVpbmdpj3k=; b=Q0KPpL+Io+V049GFl/FoMLhz1kmbV0HUYOu8fOQkdaBVTr6STRHG4oqW/Na1MGzMH2 fO0IZ+4Mdq2PHYTidXf2CVcy00IgKscyyKHpL8O/zRoHOdFdeFsFqSXL9aVUpo1eF0ry JuiH+LAT+MnptTzpF4+LU6mANwt/IMjHRKZco= 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:in-reply-to :references; bh=LCpnCNCs33DzSveES6v511Mbo9P1AMOOUBVpbmdpj3k=; b=tzh4SUrt37OjDCTNTnVkzuxFXKXHiENY7wQpkL7uMb9HsImndQ4PX9IrDQo8J16ubo mHx1uY4Q4fQH5trbFqSsMoZWt6bDJ657SIwTOFAUy32ie+WUyI1Jbt17gcmPCEHpbFw7 sFnTR8oUHkyRdqX7Czn/vqjjjVpjEDC5hvwS1EA53sQZ69Hhtfxo+xYT7pRB/TNKcFmb a4CO6vip+XMe0dZ/3ldYv6yGy3REMQpaf0w38r+I8yPMuPiKOG0CJeqGj1P0cR5yX8As 3kAyWYgHbt8Pob8IUqEL60HOju34BQh7HBklzMVY/nAdApXOymXq/xRGMSHeNFBSf5Ho 7ShA== X-Gm-Message-State: ALKqPwdksMIy5wc5vqQXentCSUqhgv6un01k3tm3FxxKuTe+KA38XzyF jk0/hHcrdACnKJipxdn87nk8JHr22Ho= X-Google-Smtp-Source: AB8JxZpV3MzJGR5m4wMyPqGYKRI7NKOtQieV3Ry0nwUwbUwT9hpSlV/FIchWaZ6ulZ9HyVlUKPlYAQ== X-Received: by 2002:adf:9125:: with SMTP id j34-v6mr5971576wrj.156.1527152991593; Thu, 24 May 2018 02:09:51 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Thu, 24 May 2018 11:09:41 +0200 Message-Id: <20180524090945.10289-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180524090945.10289-1-ard.biesheuvel@linaro.org> References: <20180524090945.10289-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH v2 1/5] OvmfPkg/PlatformBootManagerLib: add missing report status code call X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eric Dong , Ard Biesheuvel , Liming Gao , Dandan Bi , Leif Lindholm , Michael D Kinney , Laszlo Ersek , Star Zeng 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" Consumers of status code reports may rely on a status code to be reported when the ReadyToBoot event is signalled. For instance, FirmwarePerformanceDxe will fail to install the FPDT ACPI table in this case. So add the missing call. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Reviewed-by: Laszlo Ersek --- OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf | 1 + OvmfPkg/Library/PlatformBootManagerLib/QemuKernel.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.= inf b/OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf index 27789b7377bc..f10b68424b91 100644 --- a/OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf +++ b/OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf @@ -55,6 +55,7 @@ [LibraryClasses] QemuFwCfgS3Lib LoadLinuxLib QemuBootOrderLib + ReportStatusCodeLib UefiLib =20 [Pcd] diff --git a/OvmfPkg/Library/PlatformBootManagerLib/QemuKernel.c b/OvmfPkg/= Library/PlatformBootManagerLib/QemuKernel.c index ef728dfdeb60..f20df9533fda 100644 --- a/OvmfPkg/Library/PlatformBootManagerLib/QemuKernel.c +++ b/OvmfPkg/Library/PlatformBootManagerLib/QemuKernel.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include =20 @@ -149,6 +150,9 @@ TryRunningQemuKernel ( // EfiSignalEventReadyToBoot(); =20 + REPORT_STATUS_CODE (EFI_PROGRESS_CODE, + (EFI_SOFTWARE_DXE_BS_DRIVER | EFI_SW_DXE_BS_PC_READY_TO_BOOT_EVENT)); + Status =3D LoadLinux (KernelBuf, SetupBuf); =20 FreeAndReturn: --=20 2.17.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel