From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (EUR04-HE1-obe.outbound.protection.outlook.com [40.107.7.59]) by mx.groups.io with SMTP id smtpd.web10.9598.1602064505825493994 for ; Wed, 07 Oct 2020 02:55:06 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=x2ApwB+Q; spf=pass (domain: arm.com, ip: 40.107.7.59, 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=YK8lQfrJlPFJTYQApTWZ2a1w89LTa6YWz99/Kd9a3rI=; b=x2ApwB+Ql4VMGnaCZnTlAOZgVUJxEgJ5QGjg/gDBzQBKkeM37O8Q7oWiTwT1Hc+7/9oQSZ2nfcWSbLVRNM2KK3aHrKH5028AxiW/J+PkJXP8Pn5R+6QCC+YLnyc9EwTpgtjBLuUDKyOsIoW6X55QH7Tf6J2owhcKiX+7+ROQgCU= Received: from AM6PR08CA0044.eurprd08.prod.outlook.com (2603:10a6:20b:c0::32) by AM6PR08MB3864.eurprd08.prod.outlook.com (2603:10a6:20b:8e::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.35; Wed, 7 Oct 2020 09:55:02 +0000 Received: from AM5EUR03FT019.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:c0:cafe::be) by AM6PR08CA0044.outlook.office365.com (2603:10a6:20b:c0::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.38 via Frontend Transport; Wed, 7 Oct 2020 09:55:02 +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 AM5EUR03FT019.mail.protection.outlook.com (10.152.16.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.23 via Frontend Transport; Wed, 7 Oct 2020 09:55:02 +0000 Received: ("Tessian outbound a0bffebca527:v64"); Wed, 07 Oct 2020 09:55:02 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 24687a850c071fdb X-CR-MTA-TID: 64aa7808 Received: from dcef28b39b49.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 5244435B-20AE-4AEE-B069-166D95DEDAC5.1; Wed, 07 Oct 2020 09:54:24 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id dcef28b39b49.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 07 Oct 2020 09:54:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dB4SVjhTc1MqgJNvHtG3J80eJeHho9aOkzcBJjB0br54ST70rbwYo6c93WuDztgK7rJojHT+vl7emWYPg9OKvaoLIs5hWXpO2Fv+bHp3VKppFNSECU424f793o0v4mLqqz7oO+W9OJSV/U4PRtryKjHzvVLqie9h1yE/n66l0QznJOyWkkyy8lmvrLa3VX/ljzQYeh5va/qZjPvsIsn16cO3S3qNBtroZoLKCdLoT65rAoESZf2eMRVEIEdShhzUoCTbGvASgiS8mq/TfPOlwzBGmp6tE4T1LO+d2HnRvZcHFFVWMG7GFbYYF6kS2BFzlPp4ngikiKhOtp07JDCTiQ== 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=YK8lQfrJlPFJTYQApTWZ2a1w89LTa6YWz99/Kd9a3rI=; b=hSREoGPEfSfzv7OAy8j8pKS5ttq+7QJBhuu8AYvOzUkgX9dGsNQ6TeI1DNP1lowFg2hSS6kSjhfJeSdFkhfQZe0cWKFKu5QRgm7gHhwmAfK/CE1LopZmGKqEZoGj7MlGujSVIZKTfnFGsTdrM+6XaKsZFZxMSkRBJzGWtorPDzLxRDgudVVLWltS+GmARI9X7feJgAmUbYXm0iqTlMc7Z3GawNaLHgrY4Pyof1fHo7WTSrJh45K9crrHFzmrCx3iKlHk3bVOsUZSlEqPBH485ZYSjY7PDzof0ydMB6lTDbtlh+O5/NmCnHEljQsRDXHZvUo9NGYy4R9BIP+/MzcNkw== 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=YK8lQfrJlPFJTYQApTWZ2a1w89LTa6YWz99/Kd9a3rI=; b=x2ApwB+Ql4VMGnaCZnTlAOZgVUJxEgJ5QGjg/gDBzQBKkeM37O8Q7oWiTwT1Hc+7/9oQSZ2nfcWSbLVRNM2KK3aHrKH5028AxiW/J+PkJXP8Pn5R+6QCC+YLnyc9EwTpgtjBLuUDKyOsIoW6X55QH7Tf6J2owhcKiX+7+ROQgCU= Received: from AM6P192CA0062.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:82::39) by AM6PR08MB3608.eurprd08.prod.outlook.com (2603:10a6:20b:51::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.42; Wed, 7 Oct 2020 09:54:22 +0000 Received: from VE1EUR03FT049.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:82:cafe::13) by AM6P192CA0062.outlook.office365.com (2603:10a6:209:82::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.21 via Frontend Transport; Wed, 7 Oct 2020 09:54:22 +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 VE1EUR03FT049.mail.protection.outlook.com (10.152.19.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3455.23 via Frontend Transport; Wed, 7 Oct 2020 09:54:22 +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, 7 Oct 2020 09:54:15 +0000 Received: from E107187.Arm.com (10.57.12.2) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 7 Oct 2020 09:54:14 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [PATCH v1 0/2] Add AEST parser support to Acpiview Date: Wed, 7 Oct 2020 10:54:12 +0100 Message-ID: <20201007095414.16552-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: 8b1ca517-7aa2-44f5-1774-08d86aa70f46 X-MS-TrafficTypeDiagnostic: AM6PR08MB3608:|AM6PR08MB3864: 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: w/vdRJLgP6Pd9o2lmvPkmTlVHFyREkkKuqD+3bqlzM/VAhSLW15rUgtHRV8hQYp+VxkpkBFliKylYspvvs6lFwq10LUVQms7oszewhBL8xCqGu+Q2oGtk18jFc1BY21a0sPwzGSFsFze7fKPuWSn9G0C/pKv6m94wbs7iGUG6cboQUG1wuqLS8wXfvoRyAKniX4CMEPEICu/qErf7WTzVy/3ZVP5V4+fc1oiIekSoqdnwZKOH8EwCy9HH1Dh6LXstVlR69Ni0v9KNDeQSCWx3TKpAuGzXkjy/18flbJyzaXO5+G0PXG8QCGZ1rf3Kva2YXu8UpW7EE9Tp/iX2mJTqK52kdGL4nVgNIlr1gP6HHii3W8a3EP9/xo7ENYxHcE/9kVkKbTt2fuLk9YNCf8obKq2ygGldhvf0is+ouee+11y9SR4uikz7oWH6QMfE2U1cID2+lYY/wmflicEamK/TaEbqi9Vi6j6H3RqSqP7s6k= 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)(346002)(136003)(376002)(39850400004)(396003)(46966005)(70206006)(8676002)(70586007)(81166007)(83080400001)(2906002)(44832011)(316002)(47076004)(82740400003)(8936002)(83380400001)(82310400003)(356005)(478600001)(5660300002)(36756003)(426003)(19627235002)(2616005)(26005)(86362001)(1076003)(54906003)(186003)(6916009)(7696005)(4326008)(966005)(336012);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3608 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT019.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: ad44fd42-ba9c-4fcc-7619-08d86aa6f770 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NoJvcuAODpvUyCtt/DK7tSN5bOWgrvCZbdTcC3uh09KEe6CJu6SVEGVw5EkAV3MgF7NOy6Rltt35ZKVLOj+r6QmS80wUaG3vfrZ7wLBawWi6voTl3Jp3okJ3GEELRrsVNfRzX8ZoSaLatOod7kGQ7JWKYMjL3ALmVZzu86wmHGSciSBzLRy4M3Z+BklmsfeyNO1J9XeUQSxuMgXOfig6FO14yJf65zOuchTN3zIj4+C/ixClqkjzZIxlA2gpadjNheHdYafn5p+2VM/rdF1tr20n6Jij0VfIJRCUKrhd8lJAMfZF5RzKI7dKXBFFddQniC+Ex/vMJ7vDqp9X4EfecqIgRr3zN9+qx1DNfFg1M3R/nzEHrVuCsrFKby4AUynFk4VdLlTqeVDwOt6rWqRSBWoLG855Cthchb9bDwk/ryNPQstwIZwE4MYceIyJgLFOVFr/pI+0r0gZJNWyev8klsLWOhPs32d9oRkte6v15/Q= 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)(376002)(136003)(346002)(39850400004)(396003)(46966005)(36906005)(316002)(1076003)(54906003)(426003)(478600001)(19627235002)(2616005)(8936002)(86362001)(7696005)(336012)(966005)(83380400001)(44832011)(26005)(186003)(8676002)(5660300002)(81166007)(82740400003)(2906002)(4326008)(70586007)(70206006)(82310400003)(36756003)(47076004)(83080400001)(6916009);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Oct 2020 09:55:02.0659 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8b1ca517-7aa2-44f5-1774-08d86aa70f46 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: AM5EUR03FT019.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3864 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 patch series adds AEST parser support to Acpiview. The changes can be seen at: https://github.com/samimujawar/edk2/tree/1429_aest_parser_v1 Marc Moisson-Franckhauser (2): MdePkg/IndustryStandard: AEST Table definition ShellPkg/Acpiview: AEST Parser MdePkg/Include/IndustryStandard/Acpi63.h | 7 +- MdePkg/Include/IndustryStandard/ArmErrorSourceTable.h | 366 ++++++++++ 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 | 3 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf | 3 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.uni | 3 +- 8 files changed, 1156 insertions(+), 6 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)'