From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=uLJlicm0; spf=pass (domain: arm.com, ip: 40.107.7.88, mailfrom: pierre.gondois@arm.com) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (EUR04-HE1-obe.outbound.protection.outlook.com [40.107.7.88]) by groups.io with SMTP; Thu, 06 Jun 2019 05:28:52 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bmNlFWLcTnClgFnHZHyu3t2eUgNSlxK+h/ps1Pobwh4=; b=uLJlicm00TygtSP8J6BGkY66l1qcM1LDzVxAJHkbwDaH5foEQ7efY1kLicNk4kEG6flyQoQAsxoPqvxPkSU2zLNEepTT+0PVnWwztUOn6wV2UXTTBCg0gv3DWZGNYlBteHEtkuLAHNQ5+4GFVZsR7ZI43iQJZpwNzh8YnaZk1WQ= Received: from AM6PR08CA0029.eurprd08.prod.outlook.com (2603:10a6:20b:c0::17) by AM0PR08MB4593.eurprd08.prod.outlook.com (2603:10a6:208:10c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.14; Thu, 6 Jun 2019 12:28:48 +0000 Received: from VE1EUR03FT062.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::207) by AM6PR08CA0029.outlook.office365.com (2603:10a6:20b:c0::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1943.16 via Frontend Transport; Thu, 6 Jun 2019 12:28:47 +0000 Authentication-Results: spf=temperror (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=temperror action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) Received: from nebula.arm.com (40.67.248.234) by VE1EUR03FT062.mail.protection.outlook.com (10.152.18.252) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.1965.12 via Frontend Transport; Thu, 6 Jun 2019 12:28:46 +0000 Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1415.2; Thu, 6 Jun 2019 12:28:43 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1415.2; Thu, 6 Jun 2019 12:28:42 +0000 Received: from E119881.Arm.com (10.2.130.34) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.1415.2 via Frontend Transport; Thu, 6 Jun 2019 12:28:41 +0000 From: "PierreGondois" To: CC: , , , , , , , Subject: [PATCH v1 1/1] ShellPkg/acpiview: GTDT updates for ACPI 6.3 Date: Thu, 6 Jun 2019 13:28:36 +0100 Message-ID: <20190606122836.8888-1-pierre.gondois@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 Return-Path: Pierre.Gondois@arm.com MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:40.67.248.234;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(346002)(39860400002)(376002)(136003)(396003)(2980300002)(189003)(199004)(53936002)(4326008)(70586007)(6916009)(356004)(47776003)(48376002)(51416003)(14444005)(50466002)(81156014)(53416004)(7696005)(54906003)(486006)(126002)(476003)(2616005)(336012)(63370400001)(63350400001)(426003)(186003)(36756003)(77096007)(26005)(16586007)(2351001)(8676002)(70206006)(6306002)(5660300002)(1076003)(966005)(50226002)(68736007)(15650500001)(6666004)(8936002)(478600001)(72206003)(81166006)(86362001)(305945005)(2906002)(316002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR08MB4593;H:nebula.arm.com;FPR:;SPF:TempError;LANG:en;PTR:InfoDomainNonexistent;MX:1;A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 25707659-7435-4628-3a6c-08d6ea7a858a X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328);SRVR:AM0PR08MB4593; X-MS-TrafficTypeDiagnostic: AM0PR08MB4593: X-MS-Exchange-PUrlCount: 1 NoDisclaimer: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-Forefront-PRVS: 00603B7EEF X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: jtYacfsiXlVIArjYe2Cwfigky7qx45ZL4LUWd7KYD186FqPTu3Q55GuTIzvzSPWjzClzHJbQutPlBDoM7uuwHdwIDbuUjfl+S6xXhLz86C+87lT9X16JuC/yjyF+h75n83K74gjFb4swDQ4iDb/GKHb0MjhSwCQtpdU0XC3J8tgnXP0dD1BHvLR2J83KeI8XKvkgEFaNDV6a4H4RJ/Tge6f5gxl74OBIIVA3WJC3FFVUFTa3S0MtSIbAh+KFFRgTURGERExIGQu4nxPlH4ZvSOf/9Ye0TEpE5G3ivB3E95nKAJ3InY4xireZqcTGY8DnejLTGRloVcNtSML80HbzFTS8HsXM/9BXHrdC5roqY6vNKgmP9OgQy6mJ2ZA2vxfqTKj6ZLRrgN5XLzYgYbfz6faSNCJm/zLOs0mS5gE/fSM= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2019 12:28:46.5200 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 25707659-7435-4628-3a6c-08d6ea7a858a X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[40.67.248.234];Helo=[nebula.arm.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4593 Content-Type: text/plain From: Pierre Gondois The ACPI 6.3 specification introduces support to describe the ARMv8.1 virtual EL2 timers. This patch updates the GTDT parser of acpiview to decode the EL2 virtual timer fields. Signed-off-by: Pierre Gondois --- The changes can be seen at: https://github.com/PierreARM/edk2/tree/382_acpiview_gtdt_acpi6_3_update_v1 Notes: v1: - GTDT updates for ACPI 6.3 [Pierre] ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Gtdt/GtdtParser.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Gtdt/GtdtParser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Gtdt/GtdtParser.c index 1b7e56486c8fb98a8fe063ae5fa25d86500a58a9..3b05ff3015d4a3af62dd9fab057c32369a456267 100644 --- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Gtdt/GtdtParser.c +++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Gtdt/GtdtParser.c @@ -5,7 +5,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent @par Reference(s): - - ACPI 6.2 Specification - Errata A, September 2017 + - ACPI 6.3 Specification - January 2019 **/ #include @@ -77,7 +77,9 @@ STATIC CONST ACPI_PARSER GtdtParser[] = { {L"Platform Timer Count", 4, 88, L"%d", NULL, (VOID**)&GtdtPlatformTimerCount, NULL, NULL}, {L"Platform Timer Offset", 4, 92, L"0x%x", NULL, - (VOID**)&GtdtPlatformTimerOffset, NULL, NULL} + (VOID**)&GtdtPlatformTimerOffset, NULL, NULL}, + {L"Virtual EL2 Timer GSIV", 4, 96, L"0x%x", NULL, NULL, NULL, NULL}, + {L"Virtual EL2 Timer Flags", 4, 100, L"0x%x", NULL, NULL, NULL, NULL} }; /** -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'