From nobody Tue Feb 10 04:30:27 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+86312+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+86312+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1643736180; cv=none; d=zohomail.com; s=zohoarc; b=Eslia54NTIpkaR9zKirXJ3uNmK8b5eejg2yEh67a9FwH6gTRV3OPVwTn9MJPYWfHReXZABJ4rY1EOcJlcm6xtFZgk9yihAA5VlVSlgTwVfcWBTz5I4FH/w6G/i8sNaSNRWiA8n4ACGzegKK7irNtPbiz9pgYnThG8Ewe/fKHGMc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643736180; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=b4JwtUWfxRkxOT/fZYau4P/hNxcNzvdnWCKqWYOVE14=; b=MDLzeVoXBCecuAERFxOvneR6uldq6YIzdFvHcVrTGs848exFi5j9mcwPUOzqExO2m5KE0Bf3E/x91lugb223Vi2y32vfRvUnm3kGL9DwgUB2pWH9k3t73TQ5guwZuVHfIJkZxhmHmfzqTReqzGnb3YUUrmIdf8erlQka27yJ2Xc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+86312+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1643736180610527.5893823462263; Tue, 1 Feb 2022 09:23:00 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id r7zoYY1788612xvsLzEHtduH; Tue, 01 Feb 2022 09:23:00 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web08.51323.1643736179507620254 for ; Tue, 01 Feb 2022 09:22:59 -0800 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2AD4F1424; Tue, 1 Feb 2022 09:22:59 -0800 (PST) X-Received: from e126645.home (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id EB9F43F40C; Tue, 1 Feb 2022 09:22:57 -0800 (PST) From: "PierreGondois" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Sami Mujawar , Rebecca Cran , Pierre Gondois Subject: [edk2-devel] [PATCH v5 9/9] ArmVirtPkg/Kvmtool: Enable Acpiview Date: Tue, 1 Feb 2022 18:22:52 +0100 Message-Id: <20220201172252.799725-10-Pierre.Gondois@arm.com> In-Reply-To: <20220201172252.799725-1-Pierre.Gondois@arm.com> References: <20220201172252.799725-1-Pierre.Gondois@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,pierre.gondois@arm.com X-Gm-Message-State: 23tp8bz2GjZz8x05cV83j3Pex1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1643736180; bh=Ma2t7sdp4MHYLsYGA083yqbuXfJgB4AYVenDlfm2kfg=; h=Cc:Date:From:Reply-To:Subject:To; b=scwg0RaKM5CsJHVGXlVioZGcM2+JJCStXNPFiIjSLcRWb3DyfhfPJD5zri19z3PJCq8 2i663pWPOge5jxJ6b8x1qYi2U2EJS813x41jZGMzbXQEUBsJ21UsOzORAEEsPU5HsQ1gT qDzQY3R/j609HY8Cf264k2d8cgKjWPXg8m8= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1643736183146100039 Content-Type: text/plain; charset="utf-8" From: Sami Mujawar Acpiview is a command line tool allowing to display, dump, or check installed ACPI tables. Add a 'ACPIVIEW_ENABLE' switch to enable it on an ArmVirt platform. The switch is set for the ArmVirtKvmTool platform. Signed-off-by: Sami Mujawar Signed-off-by: Pierre Gondois Acked-by: Laszlo Ersek --- Notes: v2: - Only add AcpiView for ArmVirtKvmTool instead of all ArmVirt platforms. This is done using a 'ACPIVIEW_ENABLE' switch. [Laszlo] ArmVirtPkg/ArmVirt.dsc.inc | 5 ++++- ArmVirtPkg/ArmVirtKvmTool.dsc | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc index 4db8ad5a7999..ba711deac025 100644 --- a/ArmVirtPkg/ArmVirt.dsc.inc +++ b/ArmVirtPkg/ArmVirt.dsc.inc @@ -1,5 +1,5 @@ # -# Copyright (c) 2011-2015, ARM Limited. All rights reserved. +# Copyright (c) 2011 - 2022, ARM Limited. All rights reserved. # Copyright (c) 2014, Linaro Limited. All rights reserved. # Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved. # Copyright (c) Microsoft Corporation. @@ -397,6 +397,9 @@ [Components.common] NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3Comm= andsLib.inf NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1Co= mmandsLib.inf NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Comm= andsLib.inf +!if $(ACPIVIEW_ENABLE) =3D=3D TRUE + NULL|ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewC= ommandLib.inf +!endif NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1= CommandsLib.inf NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1= CommandsLib.inf !if $(NETWORK_IP6_ENABLE) =3D=3D TRUE diff --git a/ArmVirtPkg/ArmVirtKvmTool.dsc b/ArmVirtPkg/ArmVirtKvmTool.dsc index 4b6090ab6075..a1bf4b9be87b 100644 --- a/ArmVirtPkg/ArmVirtKvmTool.dsc +++ b/ArmVirtPkg/ArmVirtKvmTool.dsc @@ -1,7 +1,7 @@ # @file # Workspace file for KVMTool virtual platform. # -# Copyright (c) 2018 - 2021, ARM Limited. All rights reserved. +# Copyright (c) 2018 - 2022, ARM Limited. All rights reserved. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -27,6 +27,9 @@ [Defines] SKUID_IDENTIFIER =3D DEFAULT FLASH_DEFINITION =3D ArmVirtPkg/ArmVirtKvmTool.fdf =20 +[Defines.AARCH64] + DEFINE ACPIVIEW_ENABLE =3D TRUE + !include ArmVirtPkg/ArmVirt.dsc.inc =20 !if $(ARCH) =3D=3D AARCH64 --=20 2.25.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#86312): https://edk2.groups.io/g/devel/message/86312 Mute This Topic: https://groups.io/mt/88838066/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-