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=fITlTDR/; spf=pass (domain: arm.com, ip: 40.107.3.60, mailfrom: pierre.gondois@arm.com) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (EUR03-AM5-obe.outbound.protection.outlook.com [40.107.3.60]) by groups.io with SMTP; Mon, 20 May 2019 06:34:10 -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=fITlTDR/dsxO1lfNEO85EIanxg8tAzZUZTR1qQt+snV3bNPnZN2wL96CF6g4dpp6V8c9t2UneqMj+YACC9h6UV/CRSbaq+VNkgS9dpvGIhKFYDBSvLcLr3R4JKb6nkKz31o0rQkbyiuDemABq4bsmBYR2k38WXYi/wXWI8TvVSI= Received: from VI1PR0801CA0078.eurprd08.prod.outlook.com (2603:10a6:800:7d::22) by DB7PR08MB3833.eurprd08.prod.outlook.com (2603:10a6:10:76::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1900.17; Mon, 20 May 2019 13:34:06 +0000 Received: from DB5EUR03FT032.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::200) by VI1PR0801CA0078.outlook.office365.com (2603:10a6:800:7d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1900.16 via Frontend Transport; Mon, 20 May 2019 13:34:06 +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 DB5EUR03FT032.mail.protection.outlook.com (10.152.20.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.1900.16 via Frontend Transport; Mon, 20 May 2019 13:34:04 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1415.2; Mon, 20 May 2019 13:33:21 +0000 Received: from E119881.Arm.com (10.2.134.77) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.1415.2 via Frontend Transport; Mon, 20 May 2019 13:33:21 +0000 From: PierreGondois To: CC: , , , , , , Subject: [PATCH V1 1/1] ShellPkg/acpiview: GTDT updates for ACPI 6.3 Date: Mon, 20 May 2019 14:33:15 +0100 Message-ID: <20190520133315.29284-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)(39860400002)(396003)(346002)(136003)(376002)(2980300002)(199004)(189003)(70206006)(478600001)(1076003)(305945005)(15650500001)(4326008)(70586007)(6916009)(5660300002)(53936002)(81166006)(8936002)(81156014)(8676002)(54906003)(50226002)(2906002)(6666004)(356004)(486006)(14444005)(36756003)(7696005)(16586007)(77096007)(186003)(51416003)(336012)(316002)(53416004)(72206003)(126002)(48376002)(86362001)(6306002)(2351001)(68736007)(47776003)(966005)(26005)(50466002)(426003)(63350400001)(63370400001)(476003)(2616005);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR08MB3833;H:nebula.arm.com;FPR:;SPF:TempError;LANG:en;PTR:InfoDomainNonexistent;A:1;MX:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b40eac86-40e0-49c6-515f-08d6dd27d3b6 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328);SRVR:DB7PR08MB3833; X-MS-TrafficTypeDiagnostic: DB7PR08MB3833: X-MS-Exchange-PUrlCount: 1 NoDisclaimer: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-Forefront-PRVS: 004395A01C X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: WeZMZVFxI7zjmeWVkEs2oU1MyUCt56xUIDH8/yU4XMXfA5zF1zegawEHMdOX5Xr2IXBMOKd3zgLAG/j2+p+LWXMWJjm2hBODAnxCSkwb23u3JaEmVBdw+sIfSYQzsTPJyZDosshIKY9KJEIbFyEwKprJDVZ/rkyAS1QNnEcl6T0O2I1GJTtmLGpwSB48vIQPixTy4DcIg1JB1CuSLGU4S8pRY9mg1U9XWqeDHYQNdelxGhlh4vRcbNL4dSloLlBGkwWHdYxOpO90VDpffWKW0a7P+VrljsY5f/HI1Xwm03GUEO37/QlFitdEOoJPKYQ8vD6p5ZuTji6aspqATzWBjwVkEKXypNKEGKE6Cwlxk2VENPeLK7gprxcgLas4RTwrsOrXow+DTf4gA4T+MJOwjrNY9dLuKUXsU0/I1vVriJQ= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 May 2019 13:34:04.4757 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b40eac86-40e0-49c6-515f-08d6dd27d3b6 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: DB7PR08MB3833 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)'