From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.65, mailfrom: liming.gao@intel.com) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by groups.io with SMTP; Thu, 13 Jun 2019 05:05:33 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Jun 2019 05:05:32 -0700 X-ExtLoop1: 1 Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga007.fm.intel.com with ESMTP; 13 Jun 2019 05:05:32 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 13 Jun 2019 05:05:32 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 13 Jun 2019 05:05:32 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.185]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.89]) with mapi id 14.03.0439.000; Thu, 13 Jun 2019 20:05:29 +0800 From: "Liming Gao" To: "devel@edk2.groups.io" , "krzysztof.koch@arm.com" CC: "Carsey, Jaben" , "Ni, Ray" , "Gao, Zhichao" , "Kinney, Michael D" , "Sami.Mujawar@arm.com" , "Matteo.Carlini@arm.com" , "Stephanie.Hughes-Fitt@arm.com" , "nd@arm.com" 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: AQHVIU06cqZ8IldPXUi2ww9xSM5imaaZffGA Date: Thu, 13 Jun 2019 12:05:28 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E480763@SHSMSX104.ccr.corp.intel.com> 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-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjk2MDZkMmUtOWVlZS00YTgzLTg4MmQtNWM1YjIxZGNmY2RiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiOXpUTW13R0N5VzdZb20yQytXSUhQZ1kyUkFlQjE3MEdBUlhcLysxVDZxUkxUMWs5Z3ZiVk5IcHhib3VqOWpNNlEifQ== dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: liming.gao@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao > -----Original Message----- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Kr= zysztof Koch > Sent: Wednesday, June 12, 2019 10:11 PM > To: devel@edk2.groups.io > Cc: Carsey, Jaben ; Ni, Ray ; = Gao, Zhichao ; Kinney, Michael D > ; Gao, Liming ; Sami.M= ujawar@arm.com; Matteo.Carlini@arm.com; > Stephanie.Hughes-Fitt@arm.com; nd@arm.com > Subject: [edk2-devel] [PATCH v1 1/2] MdePkg: Add Generic Initiator Affin= ity Structure definitions to SRAT >=20 > Add Generic Initiator Affinity Structure to the list of recognised > System Resource Affinity Table (SRAT) structure types. >=20 > Add definitions for Device Handle Types inside the Generic Initiator > Affinity Structure. >=20 > References: > - ACPI 6.3 January 2019, Table 5-78 >=20 > Signed-off-by: Krzysztof Koch > --- >=20 > Changes can be seen at: 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 b/MdePkg/Include/I= ndustryStandard/Acpi63.h > index a8e011579ffcf070ecdfd2c6726a16d1afd65891..eca1f9357b70f10887e680ff= 13c97c0beab3600b 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 +734,14 @@ typedef struct { > UINT32 ItsId; > } EFI_ACPI_6_3_GIC_ITS_AFFINITY_STRUCTURE; >=20 > +// > +// Generic Initiator Affinity Structure Device Handle Types > +// All other values between 0x02 an 0xFF are reserved and > +// will be ignored 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