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=hTV6EE45; spf=pass (domain: arm.com, ip: 40.107.14.82, mailfrom: krzysztof.koch@arm.com) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (EUR01-VE1-obe.outbound.protection.outlook.com [40.107.14.82]) by groups.io with SMTP; Wed, 12 Jun 2019 09:52: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=2dNY2k1dLAz2zUCVjoNgHsafIZmOOQGcjNoIQvoTGwk=; b=hTV6EE45SiX3Pdgrvup1zf+bkt/qBVKJiKCOvxc5MNodH7kHqEV9IZE7GxyWPMSi/4ySfuAanai8qvUfrSkqNqwQzjJKyY4QvjmEfVcoFlMSkPdlLreETv4NBYgfH2bI4PpRCVBcDxgfi/lUf6zntH1NTK+4tXaHMI9JJcIVdx4= Received: from HE1PR08CA0058.eurprd08.prod.outlook.com (10.170.248.157) by VI1PR08MB4606.eurprd08.prod.outlook.com (20.178.14.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.12; Wed, 12 Jun 2019 16:52:00 +0000 Received: from VE1EUR03FT018.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::208) by HE1PR08CA0058.outlook.office365.com (2603:10a6:7:2a::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.15 via Frontend Transport; Wed, 12 Jun 2019 16:52:00 +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 VE1EUR03FT018.mail.protection.outlook.com (10.152.18.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.1987.11 via Frontend Transport; Wed, 12 Jun 2019 16:51:59 +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.1415.2; Wed, 12 Jun 2019 14:10:53 +0000 Received: from E119924.Arm.com (10.1.199.124) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.1415.2 via Frontend Transport; Wed, 12 Jun 2019 14:10:53 +0000 From: "Krzysztof Koch" To: CC: , , , , , , , , Subject: [PATCH v1 0/2] Update the SRAT Acpiview parser to ACPI 6.3 Date: Wed, 12 Jun 2019 15:10:44 +0100 Message-ID: <20190612141046.30168-1-krzysztof.koch@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 Return-Path: Krzysztof.Koch@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)(376002)(136003)(346002)(39860400002)(396003)(2980300002)(199004)(189003)(86362001)(70586007)(19627235002)(356004)(7696005)(53936002)(47776003)(316002)(6916009)(53416004)(2351001)(50226002)(305945005)(36756003)(6666004)(5660300002)(51416003)(16586007)(1076003)(14444005)(15650500001)(50466002)(2616005)(126002)(8936002)(476003)(77096007)(48376002)(68736007)(966005)(486006)(63350400001)(478600001)(63370400001)(81156014)(26005)(8676002)(81166006)(72206003)(44832011)(426003)(336012)(54906003)(186003)(70206006)(2906002)(4326008)(6306002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR08MB4606;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: 41babfea-ce8e-43a1-f58e-08d6ef56494d X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328);SRVR:VI1PR08MB4606; X-MS-TrafficTypeDiagnostic: VI1PR08MB4606: X-MS-Exchange-PUrlCount: 1 NoDisclaimer: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-Forefront-PRVS: 0066D63CE6 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: Pfxh+F2FBXDpDOfj7crXZbSuvhYNd64NCuSR/d0vwMcHTh0lD3SqAFKxeBYLcRPlsELV3ddhx+DDoqgrB19kp9aO1XBxCK4Dq2vJiDA54vK7YBsLa45Zac3tq3JuP8DHjrVobsIkeGraVKh+/HV290RG1NY4aJv4AWuS+NoDa8wvpdOQATFmZjv1iLwBSZ+y8KLqmPxOLnrmo6Tl+OR3bTj1WJY7NpZYjApyQPmxsI1rSE/QahCJOV/Nv3hDh5/Vvw5Xf/YnsYy7IPtVyeVXu+5V0sDiLRjy+qe3SsaqramWsFhysOU3t5oqVQV1ferWUeVVWzBVyvMrX7Pe301Ftcj0aIYynM9RqNIonjTNLUKXWk+tmqAlOobvxa9gj+sZ68kiuFuga3LpSy6lERoXRGQwM0BsQ6RA7Rk/558VRwk= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jun 2019 16:51:59.3423 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 41babfea-ce8e-43a1-f58e-08d6ef56494d 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: VI1PR08MB4606 Content-Type: text/plain This patch adds a number of definitions to the ACPI 6.3 header file for the purpose of parsing Revision 3 of the System Resource Affinity Table (SRAT) in the Acpiview UEFI shell tool. By defining the Generic Initiator Affinity Structure's Type ID and the allowed Device Handle Types for the structure, it is possible to dump and validate the contents of the latest version of the SRAT table in acpiview. References: - ACPI 6.3 January 2019, Section 5.2.16.6 Changes can be seen at: https://github.com/KrzysztofKoch1/edk2/tree/582_acpiview_6_3_srat_v1 Krzysztof Koch (2): MdePkg: Add Generic Initiator Affinity Structure definitions to SRAT ShellPkg: acpiview: Update SRAT parser to ACPI 6.3 MdePkg/Include/IndustryStandard/Acpi63.h | 11 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c | 35 ++- ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.h | 16 ++ ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Srat/SratParser.c | 256 +++++++++++++++++++- 4 files changed, 309 insertions(+), 9 deletions(-) -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'