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=4i9Geyad; spf=pass (domain: arm.com, ip: 40.107.7.72, mailfrom: krzysztof.koch@arm.com) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (EUR04-HE1-obe.outbound.protection.outlook.com [40.107.7.72]) by groups.io with SMTP; Thu, 20 Jun 2019 07:49:53 -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=rnQgWTXIS4lZ8/hpJ0F1P/ebIvDO3URZX8X4gS1CrT0=; b=4i9GeyadFuV68Hr9C4hiubVHcNMvUmJ2F0P7bESpWQuHkt3CMVrG/RILLmd/VNMB7Zrw5j39CAWOgMZaG2l8Tpn58sdU88kXrFY+NiVy73FauJgj2cCH46KJ9R92h8qdk4z+CPUdDR3NlBaxeTgwMfAEXclipSV/jecJ2REYwHI= Received: from VE1PR08MB4783.eurprd08.prod.outlook.com (10.255.114.16) by VE1PR08MB4672.eurprd08.prod.outlook.com (10.255.115.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.12; Thu, 20 Jun 2019 14:49:49 +0000 Received: from VE1PR08MB4783.eurprd08.prod.outlook.com ([fe80::9554:1492:6d83:be6b]) by VE1PR08MB4783.eurprd08.prod.outlook.com ([fe80::9554:1492:6d83:be6b%4]) with mapi id 15.20.1987.014; Thu, 20 Jun 2019 14:49:49 +0000 From: "Krzysztof Koch" To: "Gao, Liming" , "Kinney, Michael D" , "devel@edk2.groups.io" CC: Sami Mujawar , nd Subject: Re: [edk2-devel] [PATCH v1 1/2] MdePkg: Add Generic Initiator Affinity Structure definitions to SRAT Thread-Topic: [edk2-devel] [PATCH v1 1/2] MdePkg: Add Generic Initiator Affinity Structure definitions to SRAT Thread-Index: AQHVIeBKCbDn+fqxckioqmk+lhWElaakqjdg Date: Thu, 20 Jun 2019 14:49:49 +0000 Message-ID: References: <20190612141046.30168-1-krzysztof.koch@arm.com> <20190612141046.30168-2-krzysztof.koch@arm.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E480763@SHSMSX104.ccr.corp.intel.com> In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14E480763@SHSMSX104.ccr.corp.intel.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 2e768aa3-ced0-4963-b68a-6d55b96da549.1 x-checkrecipientchecked: true authentication-results: spf=none (sender IP is ) smtp.mailfrom=Krzysztof.Koch@arm.com; x-originating-ip: [217.140.106.52] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5b943c8b-c6e8-466a-ac54-08d6f58e8b84 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:VE1PR08MB4672; x-ms-traffictypediagnostic: VE1PR08MB4672: x-ms-exchange-purlcount: 4 nodisclaimer: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 0074BBE012 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(366004)(396003)(346002)(376002)(39860400002)(13464003)(189003)(199004)(7736002)(66476007)(102836004)(8676002)(186003)(9686003)(86362001)(71190400001)(66066001)(3846002)(6116002)(446003)(55016002)(26005)(73956011)(2906002)(6436002)(68736007)(11346002)(229853002)(6306002)(52536014)(66556008)(71200400001)(486006)(476003)(8936002)(966005)(53936002)(14454004)(33656002)(5660300002)(19627235002)(6506007)(53546011)(4326008)(2501003)(64756008)(14444005)(6246003)(76116006)(81166006)(74316002)(72206003)(99286004)(305945005)(76176011)(81156014)(66946007)(7696005)(256004)(66446008)(316002)(25786009)(478600001)(110136005)(54906003)(41533002);DIR:OUT;SFP:1101;SCL:1;SRVR:VE1PR08MB4672;H:VE1PR08MB4783.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A: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: 5e0ECqk9b8O3mEUt3QRuQ6v00kRyI+yw16WR/zMlVakcnRXM/T20TpwdGf9Jn3rqR/7Z5WwthRH7Jts8upndYjfTRS9Wb2FsSwft7cboY6KOBe5SXKhQM+jlKX4EugJa9H5AS7rToJW8lQVp9Q3FL5HlcmfE1bW/X4Dk0zgX0QpcZ/SU9p+gd5lT3JHCBN1iTNXNADQp6IwhrQQIy0GGYazV5Molmg8B9rTY1A4ZIWJTMPa+M0XIf9GlMuJl+xZtXk40bT2HC/DTrNMjfpGn9yGSB/6nkJl/oApMzINbEPtk5ZLi0oqhkQEavndt0hVHT6snv2HtqOSXY5V9vocMywT9zcqZWuRLZKgFTPPs8O8NRG+2yLiEtp1jkV0GEoV9luYZdYfHmXhL4xRtGNRmFx4LA+PTjPBJyItp5P77eQc= MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5b943c8b-c6e8-466a-ac54-08d6f58e8b84 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jun 2019 14:49:49.3283 (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: Krzysztof.Koch@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4672 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi,=20 Do you need any help from me to get this patch merged? Kind regards, Krzysztof -----Original Message----- From: Gao, Liming =20 Sent: Thursday, June 13, 2019 13:05 To: devel@edk2.groups.io; Krzysztof Koch Cc: Carsey, Jaben ; Ni, Ray ; Ga= o, Zhichao ; Kinney, Michael D ; Sami Mujawar ; Matteo Carlini ; Stephanie Hughes-Fitt ; nd Subject: RE: [edk2-devel] [PATCH v1 1/2] MdePkg: Add Generic Initiator Aff= inity Structure definitions to SRAT Reviewed-by: Liming Gao > -----Original Message----- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of=20 > Krzysztof Koch > Sent: Wednesday, June 12, 2019 10:11 PM > To: devel@edk2.groups.io > Cc: Carsey, Jaben ; Ni, Ray=20 > ; Gao, Zhichao ; Kinney,=20 > Michael D ; Gao, Liming=20 > ; Sami.Mujawar@arm.com; Matteo.Carlini@arm.com;=20 > Stephanie.Hughes-Fitt@arm.com; nd@arm.com > Subject: [edk2-devel] [PATCH v1 1/2] MdePkg: Add Generic Initiator=20 > Affinity Structure definitions to SRAT >=20 > Add Generic Initiator Affinity Structure to the list of recognised=20 > System Resource Affinity Table (SRAT) structure types. >=20 > Add definitions for Device Handle Types inside the Generic Initiator=20 > Affinity Structure. >=20 > References: > - ACPI 6.3 January 2019, Table 5-78 >=20 > Signed-off-by: Krzysztof Koch > --- >=20 > Changes can be seen at:=20 > https://github.com/KrzysztofKoch1/edk2/tree/582_acpiview_6_3_srat_v1 >=20 > Notes: > v1: > - define the SRAT Generic Initiator Affinity Struct type [Krzysztof] > - define the SRAT Device Handle Types [Krzysztof] >=20 > MdePkg/Include/IndustryStandard/Acpi63.h | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) >=20 > diff --git a/MdePkg/Include/IndustryStandard/Acpi63.h=20 > b/MdePkg/Include/IndustryStandard/Acpi63.h > index=20 > a8e011579ffcf070ecdfd2c6726a16d1afd65891..eca1f9357b70f10887e680ff13c9 > 7c0beab3600b 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 @@=20 > -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 @@=20 > -733,6 +734,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)' >=20 >=20 >=20 >=20