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=8Wx1bDz8; spf=pass (domain: arm.com, ip: 40.107.13.83, mailfrom: sami.mujawar@arm.com) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (EUR01-HE1-obe.outbound.protection.outlook.com [40.107.13.83]) by groups.io with SMTP; Wed, 12 Jun 2019 14:22:39 -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=/J6Fz5NX6IJ/sFdpjwDYRxO2s8lcaWvMpNCpGaQMyIc=; b=8Wx1bDz8CnAeKoVj3YCX/dKxEePyq9I1DFFopVcR1LKLEPUc+/QPEJ/4kSUorkQQ8yPR2rMw0CpjG65cd764Yf4UWCZu3gB5CxVJkzMmFIXwG5LUA1BMi6dmJyHyjvd060qWN8p2w+M82GLluJ3EY/ulNd1b5Fyv4RRP/pfD9OI= Received: from DB6PR0802MB2375.eurprd08.prod.outlook.com (10.172.228.142) by DB6PR0802MB2151.eurprd08.prod.outlook.com (10.172.227.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.14; Wed, 12 Jun 2019 21:22:36 +0000 Received: from DB6PR0802MB2375.eurprd08.prod.outlook.com ([fe80::a46c:aa3a:17bf:7909]) by DB6PR0802MB2375.eurprd08.prod.outlook.com ([fe80::a46c:aa3a:17bf:7909%3]) with mapi id 15.20.1987.010; Wed, 12 Jun 2019 21:22:36 +0000 From: "Sami Mujawar" To: Krzysztof Koch , "devel@edk2.groups.io" CC: "jaben.carsey@intel.com" , "ray.ni@intel.com" , "zhichao.gao@intel.com" , "michael.d.kinney@intel.com" , "liming.gao@intel.com" , Matteo Carlini , Stephanie Hughes-Fitt , nd Subject: Re: [PATCH v1 1/2] MdePkg: Add Generic Initiator Affinity Structure definitions to SRAT Thread-Topic: [PATCH v1 1/2] MdePkg: Add Generic Initiator Affinity Structure definitions to SRAT Thread-Index: AQHVIUlXJEXeDBO6N06O1/Q/sjfs06aYhqvg Date: Wed, 12 Jun 2019 21:22:36 +0000 Message-ID: References: <20190612141046.30168-1-krzysztof.koch@arm.com> <20190612141046.30168-2-krzysztof.koch@arm.com> In-Reply-To: <20190612141046.30168-2-krzysztof.koch@arm.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 1defcf27-1636-4345-9822-9f237a5226a7.1 x-checkrecipientchecked: true authentication-results: spf=none (sender IP is ) smtp.mailfrom=Sami.Mujawar@arm.com; x-originating-ip: [2a00:23c6:5485:a200:d878:de60:dcf3:89c4] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a9a011a9-70b1-4400-a93a-08d6ef7c1743 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:DB6PR0802MB2151; x-ms-traffictypediagnostic: DB6PR0802MB2151: x-ms-exchange-purlcount: 1 nodisclaimer: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 0066D63CE6 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(376002)(346002)(136003)(396003)(366004)(199004)(189003)(13464003)(72206003)(81156014)(4326008)(71190400001)(6506007)(8676002)(53546011)(81166006)(33656002)(8936002)(14444005)(305945005)(7736002)(966005)(478600001)(76176011)(25786009)(74316002)(256004)(54906003)(7696005)(99286004)(19627235002)(14454004)(110136005)(71200400001)(446003)(66556008)(53936002)(66946007)(2501003)(76116006)(6306002)(229853002)(68736007)(66446008)(46003)(6116002)(6436002)(2906002)(486006)(476003)(52536014)(102836004)(9686003)(11346002)(64756008)(6246003)(73956011)(186003)(66476007)(55016002)(316002)(5660300002)(86362001)(41533002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB6PR0802MB2151;H:DB6PR0802MB2375.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: y9sAyvCxjcGjrMEZA2E7weZ/Wmaj/eHHBq6c9yzdWP5ZuqDES+7sKrNHSbKoQZDfTKWsbfjSd0ChFkqVQx6SSSP8E/gpLzDJRxRC+ixLnvXMyMEdyejdt6wg/hHNEEm6JxDD4olemcOTFVsOfowwOiONX996KXi9F96vLgSfx04bQZH9uaS7VkiKizP6eEsPV6sXBBt22mGyKhrKbRtQDIyrBjVV9JAi6Yk3niO4o00K2VPbzic+E5UJ7VQpG51z+7MQBAaE6+3tIUm0LsVy0JTU6W/p+HS+M+m/Dkpq9g0KXO6aALC43QXoBVdZaNoHzJkB9jFDPtw5UNDRpyvU1x4XavKnJybaX0Tk2HP2qomLR9iIydchimvzW44yiQB4xYv/m5X/HXsoQuS6f7gRRWoWt5AhjrmArjNExh/2rL4= MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: a9a011a9-70b1-4400-a93a-08d6ef7c1743 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jun 2019 21:22:36.3676 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2151 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Sami Mujawar -----Original Message----- From: Krzysztof Koch =20 Sent: 12 June 2019 03:11 PM To: devel@edk2.groups.io Cc: jaben.carsey@intel.com; ray.ni@intel.com; zhichao.gao@intel.com; michae= l.d.kinney@intel.com; liming.gao@intel.com; Sami Mujawar ; Matteo Carlini ; Stephanie Hughes-Fitt ; nd Subject: [PATCH v1 1/2] MdePkg: Add Generic Initiator Affinity Structure de= finitions to SRAT Add Generic Initiator Affinity Structure to the list of recognised System R= esource Affinity Table (SRAT) structure types. Add definitions for Device Handle Types inside the Generic Initiator Affini= ty Structure. References: - ACPI 6.3 January 2019, Table 5-78 Signed-off-by: Krzysztof Koch --- Changes can be seen at: https://github.com/KrzysztofKoch1/edk2/tree/582_acp= iview_6_3_srat_v1 Notes: v1: - define the SRAT Generic Initiator Affinity Struct type [Krzysztof] - define the SRAT Device Handle Types [Krzysztof] MdePkg/Include/IndustryStandard/Acpi63.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/MdePkg/Include/IndustryStandard/Acpi63.h b/MdePkg/Include/Indu= stryStandard/Acpi63.h index a8e011579ffcf070ecdfd2c6726a16d1afd65891..eca1f9357b70f10887e680ff13c= 97c0beab3600b 100644 --- a/MdePkg/Include/IndustryStandard/Acpi63.h +++ b/MdePkg/Include/IndustryStandard/Acpi63.h @@ -639,7 +639,7 @@ typedef struct { =20 // // SRAT structure types. -// All other values between 0x05 an 0xFF are reserved and +// All other values between 0x06 an 0xFF are reserved and // will be ignored by OSPM. // #define EFI_ACPI_6_3_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY 0x00 @@ -647,6 += 647,7 @@ typedef struct { #define EFI_ACPI_6_3_PROCESSOR_LOCAL_X2APIC_AFFINITY 0x02 #define EFI_ACPI_6_3_GICC_AFFINITY 0x03 #define EFI_ACPI_6_3_GIC_ITS_AFFINITY 0x04 +#define EFI_ACPI_6_3_GENERIC_INITIATOR_AFFINITY 0x05 =20 /// /// Processor Local APIC/SAPIC Affinity Structure Definition @@ -733,6 +73= 4,14 @@ typedef struct { UINT32 ItsId; } EFI_ACPI_6_3_GIC_ITS_AFFINITY_STRUCTURE; =20 +// +// Generic Initiator Affinity Structure Device Handle Types // All=20 +other values between 0x02 an 0xFF are reserved and // will be ignored=20 +by OSPM. +// +#define EFI_ACPI_6_3_ACPI_DEVICE_HANDLE 0x00 +#define EFI_ACPI_6_3_PCI_DEVICE_HANDLE 0x01 + /// /// Device Handle - ACPI /// -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'