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=miMbOnh+; spf=permerror, err=parse error for token &{10 18 _spf-b.arm.com}: parse error for token &{10 18 spf.protection.outlook.com}: parse error for token &{10 18 spfa.protection.outlook.com}: parse error for token &{10 18 spfb.protection.outlook.com}: limit exceeded (domain: arm.com, ip: , mailfrom: krzysztof.koch@arm.com) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (EUR02-HE1-obe.outbound.protection.outlook.com []) by groups.io with SMTP; Wed, 12 Jun 2019 09:31:26 -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=miMbOnh+muk4ic80Y4+uzz4bRV5dyzZx00rVvVQ1SY4KBDuPZ1S3Q/Hmt83Gu6fYiXac+oSxj5MJvlOv3v/spEuWKnvQ4fSOEEk4lzmWwL2ZNBc4ql1Gvzpjt2Bo902dnBdB9yKnnmdtBWe4jLsP37vbQrI8QP/vDkkDtsbQIuY= Received: from VI1PR08CA0131.eurprd08.prod.outlook.com (2603:10a6:800:d4::33) by AM6PR08MB4599.eurprd08.prod.outlook.com (2603:10a6:20b:90::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.11; Wed, 12 Jun 2019 16:31:22 +0000 Received: from VE1EUR03FT062.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::207) by VI1PR08CA0131.outlook.office365.com (2603:10a6:800:d4::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1965.14 via Frontend Transport; Wed, 12 Jun 2019 16:31:22 +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.1987.11 via Frontend Transport; Wed, 12 Jun 2019 16:31:20 +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 12:31:08 +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 12:31:07 +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 13:30:59 +0100 Message-ID: <20190612123101.65584-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)(136003)(346002)(396003)(376002)(39860400002)(2980300002)(189003)(199004)(7696005)(478600001)(6666004)(26005)(51416003)(356004)(50226002)(77096007)(53936002)(966005)(8936002)(47776003)(2906002)(4326008)(72206003)(186003)(336012)(1076003)(6306002)(70206006)(16586007)(44832011)(8676002)(48376002)(53416004)(2616005)(15650500001)(316002)(54906003)(81166006)(476003)(486006)(81156014)(126002)(305945005)(50466002)(63350400001)(426003)(6916009)(63370400001)(68736007)(19627235002)(2351001)(5660300002)(86362001)(70586007)(14444005)(36756003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR08MB4599;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: 9abe9f4f-457b-4983-1d47-08d6ef53670b X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600148)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328);SRVR:AM6PR08MB4599; X-MS-TrafficTypeDiagnostic: AM6PR08MB4599: 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: xCsx1KwriNG+Z0ClXCDZf9+uaJoINNFtsLmMQCj1hVsMiKRngwl5QQ7mFsAhgRtjQGkIN6NCcG4eit/Z9yFAGw52cb/VAjZAxkC2Dexya+2+sDECqQc0L2eBwHu3U2LJtyQPt9RiNuZfG1EH0sg9yPxMPM3PvWBsf6GlkgBgR/qHliV2E+LHMFFBR2sfura773ibMfPWbI5yA0ldMNGC6lHfqJ5n4vf8ahAdgacbJT9kuHsiSnJ4bk+02hl2Yk4LsPWjLHWvQ3kcJx5GrBGvARTGrb7GDPCncnq137x/SlbN8KIfr6g+MtoElDUctJhvZdIpLJB5KMAYRNibdM6so0TDkdw48eAVlFr2qOPKEKoxTyRi3/fDNiP3zXdGBZXqMIHhittrHh3IoIyASyTVx7nJ1yXlurq1/J+4I9WUzrY= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jun 2019 16:31:20.7527 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9abe9f4f-457b-4983-1d47-08d6ef53670b 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: AM6PR08MB4599 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)'