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=W32djGmM; spf=pass (domain: arm.com, ip: 40.107.13.82, mailfrom: krzysztof.koch@arm.com) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (EUR01-HE1-obe.outbound.protection.outlook.com [40.107.13.82]) by groups.io with SMTP; Wed, 12 Jun 2019 11:04:59 -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=W32djGmMJhQQPrPgqjjVEjPalLtvJalT33ZUyB7m+C0NeXnI/BRElMBn5gCrI/Xf9QBFW9r+0adl3cvev2If3kXH67AbUg29NcDpRnHWZJkBO3zPVQjNqDeiOuXJEazuTouoqqh5vN1ESLTmF2w+1jDLX6b4qOsj6GyxmmLU+Jc= Received: from AM6PR08CA0003.eurprd08.prod.outlook.com (2603:10a6:20b:b2::15) by VI1PR08MB2782.eurprd08.prod.outlook.com (2603:10a6:802:19::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.12; Wed, 12 Jun 2019 18:04:55 +0000 Received: from DB5EUR03FT020.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::202) by AM6PR08CA0003.outlook.office365.com (2603:10a6:20b:b2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1965.12 via Frontend Transport; Wed, 12 Jun 2019 18:04:54 +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 DB5EUR03FT020.mail.protection.outlook.com (10.152.20.134) 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 18:04:53 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) 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:27 +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:27 +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:19 +0100 Message-ID: <20190612141021.40640-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)(396003)(136003)(376002)(346002)(39860400002)(2980300002)(189003)(199004)(8676002)(16586007)(7696005)(81166006)(51416003)(6666004)(356004)(2616005)(8936002)(44832011)(48376002)(81156014)(476003)(126002)(316002)(486006)(77096007)(14444005)(186003)(305945005)(50466002)(19627235002)(2906002)(426003)(63370400001)(63350400001)(336012)(1076003)(26005)(86362001)(966005)(478600001)(68736007)(36756003)(53936002)(53416004)(15650500001)(2351001)(6916009)(4326008)(72206003)(5660300002)(6306002)(47776003)(50226002)(54906003)(70206006)(70586007);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR08MB2782;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: d7a9dd34-4200-477f-cd4c-08d6ef60786f X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328);SRVR:VI1PR08MB2782; X-MS-TrafficTypeDiagnostic: VI1PR08MB2782: 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: ILSAYo62h/tSjAXK4tyxYVwbQJ9H80dTN60fKAiOOC0vpJ6qOFt9bfEOKuN8EohEQuRE4u/7uFL8Q1m6VDRTNNFwtKo8mXAE7cVqWXz4k3GNAiUlLKrZqsoUbdIekHFSfk9RKkxw4ueQjKTdT7nxc/BylVeEb8hY8haqTjqy0/3SCKDIAg9pmpx2Om2jCQRiJDM2/0OKTPENi5M/ImPx8UA2kgvCu/GzIGuGnvCVe2HqxIXD7gKFgQiRYf8F19MOM7jiCruvxB1r+NuVXlAbsRNJd1fpRqPeeizH7GyGVIY1330W2YKDV2MSBQ92x1E8t5GiL6ME+oakHuImiQ67ZKRzCbnP3HIgWfBC09nTaJ07Lu6SL08oJbR3yaGoESjFqyMKS9sgKbfcXSIw/ZAq812ZDpa3aZUGDi8FNm2A0t0= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jun 2019 18:04:53.5865 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d7a9dd34-4200-477f-cd4c-08d6ef60786f 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: VI1PR08MB2782 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)'