From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.67]) by mx.groups.io with SMTP id smtpd.web11.14023.1603295770868901748 for ; Wed, 21 Oct 2020 08:56:11 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=3KRlWw1g; spf=pass (domain: arm.com, ip: 40.107.22.67, mailfrom: sami.mujawar@arm.com) 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=n4rI8KLCmkBI779pwQUEAZ5UOdBJZ3bHdpPUbhSV9w8=; b=3KRlWw1gM6fzX9fLShHuMeTQobKMGKGPYaP10GKDa/Cen9rOk71KSWlnxh/Bhr4oeDSm3XxnzjdRjosiEUho3dUF8nvUcHo4SUDjQ1t6R/A9XenUuevox3Nt4uWAOl1Gwhs6qx+M3NXzXynfqTg4CX5PcRIO6j1lGHYetoT4f/g= Received: from AM0PR06CA0082.eurprd06.prod.outlook.com (2603:10a6:208:fa::23) by AM8PR08MB5634.eurprd08.prod.outlook.com (2603:10a6:20b:1d1::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18; Wed, 21 Oct 2020 15:56:08 +0000 Received: from AM5EUR03FT014.eop-EUR03.prod.protection.outlook.com (2603:10a6:208:fa:cafe::7a) by AM0PR06CA0082.outlook.office365.com (2603:10a6:208:fa::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18 via Frontend Transport; Wed, 21 Oct 2020 15:56:08 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT014.mail.protection.outlook.com (10.152.16.130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18 via Frontend Transport; Wed, 21 Oct 2020 15:56:07 +0000 Received: ("Tessian outbound d5e343850048:v64"); Wed, 21 Oct 2020 15:56:07 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 8eaff39e72e4f534 X-CR-MTA-TID: 64aa7808 Received: from 7ea95f075287.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 547F4076-E5FB-4185-A098-BF8BDEB49163.1; Wed, 21 Oct 2020 15:56:01 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 7ea95f075287.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 21 Oct 2020 15:56:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k35rCkojsIx1MFTyCXt4uMka5cRsF97+d5jxecFm5GrzoMlkf0Irs0dMVeYofJPJPuVV03JN+AOP++nCbGXBuIKL7AC1dpyoiJrYBPbWPjFfi78hU0hiagj3QJdvzsSWVhx8b7Rpu41Vs1rdwotTN72Bi7oghvuUfNa/NLtbqGibqDv79+xr8lOOLN2R0yQ5kImN0I1Q7huEJQqiuv5M9tf4mwKXdNFl/aYeNjn/S27DssPimXs3G0zf/diTlU/B3ri/OdYDUrIB6xp3VM7GuEA8oDayOA/P5u9BuWvEyuhADYJ8t9DEOuMxrvM8TpxAcWwG/j6IqBkUEc50eDSKRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=n4rI8KLCmkBI779pwQUEAZ5UOdBJZ3bHdpPUbhSV9w8=; b=K0o7JclnT4S0G6PDNnANb/hYZ5QeXyvxk7/rAWk9+SjA5w5wDcrgXvyn19z22qK2FYmzhlb2rkA63CV4yHyPcjP0hHHnG1ToW0L4ZXfYFmVPHv7TNUO8Mvlcjso/ln2IzKGGOqkQo4S4AO57tS77DhQTSmaTKAul71FBPYaFzhe+rirFHr61IAreFBAleOg0dXuMuHlM0wPtkRe47BVbiOU/d0y6Sy/RpS/chPpyuaf4hx0Gpk1cgWBEuNL8Rr5wgs1udbjwCWdB4Wdc1zcDjZmWH994Q6/I7mY5wRUIGEeNRq8uFl624NMweu56Ws5oQLoUc1wgEtVbIVfIfaOrFA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none 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=n4rI8KLCmkBI779pwQUEAZ5UOdBJZ3bHdpPUbhSV9w8=; b=3KRlWw1gM6fzX9fLShHuMeTQobKMGKGPYaP10GKDa/Cen9rOk71KSWlnxh/Bhr4oeDSm3XxnzjdRjosiEUho3dUF8nvUcHo4SUDjQ1t6R/A9XenUuevox3Nt4uWAOl1Gwhs6qx+M3NXzXynfqTg4CX5PcRIO6j1lGHYetoT4f/g= Received: from AM6PR0502CA0064.eurprd05.prod.outlook.com (2603:10a6:20b:56::41) by DBBPR08MB4872.eurprd08.prod.outlook.com (2603:10a6:10:d9::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18; Wed, 21 Oct 2020 15:55:58 +0000 Received: from VE1EUR03FT015.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:56:cafe::ef) by AM6PR0502CA0064.outlook.office365.com (2603:10a6:20b:56::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.24 via Frontend Transport; Wed, 21 Oct 2020 15:55:58 +0000 X-MS-Exchange-Authentication-Results: spf=pass (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=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; Received: from nebula.arm.com (40.67.248.234) by VE1EUR03FT015.mail.protection.outlook.com (10.152.18.176) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3499.18 via Frontend Transport; Wed, 21 Oct 2020 15:55:58 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) 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.2044.4; Wed, 21 Oct 2020 15:55:52 +0000 Received: from E107187.Arm.com (10.57.51.42) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 21 Oct 2020 15:55:52 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [PATCH v2 0/2] Add AEST parser support to Acpiview Date: Wed, 21 Oct 2020 16:55:50 +0100 Message-ID: <20201021155552.28772-1-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c1a671ee-d6cb-44b1-42ce-08d875d9d2df X-MS-TrafficTypeDiagnostic: DBBPR08MB4872:|AM8PR08MB5634: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:7691;OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: xIOn/7xFCsV0LcjRXipPNcU4EympkXOjjuIL7yXS5BivkWe2pCKBZTiJiKfEPnJyjwzFPP2AQtrftHuCeAxd8vRdjk86iL+LWM2uBSFehi1ujGCzgf8uY1iNxwPhuSLTyeBuiUoPsgjl8Ayvvi1vUzP7Y70Kg+173cBPF/15JCnM/kVjngcCIG1MHYREhxvEQzaUWbOWTGrJ0W9rwZ6+jHXfuYYNeMmPKqIzqiQt/4NMOHqIToS6Paq/urtphep188IyovqTfjC6dXu+N7rf2yeu92nwZaBX6D6rDiN5j4gCQqcLDHr1zNRaAYEAL6HDV+xraRRZKbwcSnB+0jxgAA1bk9PholP9SKmiunz23QSeBfB9JZB7xUhrSRw6V1gcG6mYrsn8TduBcvk8Z5ALW6Kjr09AP5h6oxIHjxDokWskG9UGALRdmnd/PGHJ1IItgZ+HckCbkCTk5fKYCFLmm5FhwV4C9KlOBgavLkV10WY= X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(4636009)(39860400002)(346002)(396003)(136003)(376002)(46966005)(1076003)(336012)(86362001)(8936002)(6916009)(4326008)(5660300002)(2906002)(2616005)(8676002)(7696005)(316002)(36756003)(26005)(83380400001)(426003)(44832011)(70206006)(70586007)(82740400003)(82310400003)(478600001)(186003)(966005)(54906003)(356005)(47076004)(81166007);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4872 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT014.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: d90300df-29cf-4daa-507c-08d875d9cd1c X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GRzP+/XNearkLxY9PsGC/ccPi10SzTVhI3wCsXf+gx+JgH6BXFZNxC9JOR4f0vRYFL82nutSMS6140Dz3QOLVAvznNP5WufZ6lCtBs6boSkk753J1YTCF2qgUfGJLseJDEstIDPEUXQEvKoO9/P5l1JU1TGy8pUWh5zhexFdQV+mDRWUBlwpjS0kDvXM0CpEmquU2CW5SCEugjURSAY+snlCy4wc99tpfGN3eVMIv8m9X936M0WVj/T/xojbLfv9tcl9Aj3GhJWblg1RQOhTwWJUzHILsAQsCWV+8f3UVbGWu/COPorGjWEkWlekEI/AgkrDHkG2hQccK/DqD6NwR8tUdBciZmjNnOTuGFIaBjGZNZBH2xrTFlZxnN8Bhgxxk5I73RfYgZSXnw5Fm+RZRIFU4LXAMOk4juvF67qqOjz0BCmuDNoHY+rw9PJC0oE636iY5+oaCXQMyPabpaU0LqhggdinVa3MSJMJPAg+EJc= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(39860400002)(136003)(376002)(346002)(396003)(46966005)(336012)(966005)(54906003)(26005)(2906002)(478600001)(8936002)(86362001)(186003)(426003)(44832011)(8676002)(7696005)(316002)(6916009)(36756003)(4326008)(2616005)(36906005)(70586007)(70206006)(81166007)(5660300002)(47076004)(82740400003)(82310400003)(1076003)(83380400001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2020 15:56:07.8535 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c1a671ee-d6cb-44b1-42ce-08d875d9d2df X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT014.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR08MB5634 Content-Type: text/plain Arm Error Source Table (AEST) enables kernel-first handling of errors in a system that supports the Armv8 RAS extensions. AEST is described in the ACPI for the Armv8 RAS Extensions 1.1, Platform Design Document, dated 28 September 2020. (https://developer.arm.com/documentation/den0085/0101/) This v2 patch series: - adds AEST parser support to Acpiview. - addresses the review feedback for v1 series. The changes can be seen at: https://github.com/samimujawar/edk2/tree/1429_aest_parser_v2 Marc Moisson-Franckhauser (2): MdePkg/IndustryStandard: AEST Table definition ShellPkg/Acpiview: AEST Parser MdePkg/Include/IndustryStandard/ArmErrorSourceTable.h | 357 +++++++++ ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.h | 21 + ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiTableParser.h | 4 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Aest/AestParser.c | 755 ++++++++++++++++++++ ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.c | 4 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf | 3 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.uni | 3 +- 7 files changed, 1142 insertions(+), 5 deletions(-) create mode 100644 MdePkg/Include/IndustryStandard/ArmErrorSourceTable.h create mode 100644 ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Aest/AestParser.c -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'